org.gwe.api
Class Session4ClientAPI

java.lang.Object
  extended by org.gwe.api.Session4ServerAPI<ServerAPI4User,AccountInfo>
      extended by org.gwe.api.Session4ClientAPI

public class Session4ClientAPI
extends Session4ServerAPI<ServerAPI4User,AccountInfo>

Since:
Dec 17, 2007
Author:
Marco Ruiz

Field Summary
 
Fields inherited from class org.gwe.api.Session4ServerAPI
sessionId
 
Constructor Summary
Session4ClientAPI(DaemonConfigDesc daemonConfig)
           
 
Method Summary
 void abortOrder(int orderId)
           
 void cleanupDisposedAllocations()
           
 void configureDaemon(HeadResourceInfo daemonInfo)
           
 void deleteOrder(int orderId)
           
 DaemonConfigDesc getDaemonConfig()
           
 long getDaemonTime()
           
 JobInfo getJobDetails(int orderId, int jobNum)
           
 OrderInfo getOrderDetails(int orderId, boolean includeJobDetails)
           
 java.util.List<OrderInfo> getOrders(java.lang.String description)
           
 java.util.List<OrderInfo> getOrdersList(boolean includeJobDetails)
           
 java.lang.String getUsername()
           
 long loginUser()
           
 void pauseOrder(int orderId)
           
 java.util.List<java.lang.String> previewOrder(OrderInfo order)
           
 OrderInfo queueOrder(OrderInfo order)
           
 void resumeOrder(int orderId)
           
 void shutdownDaemon()
           
 void swapPriorities(int orderId1, int orderId2)
           
 void updateConfig(DaemonConfigDesc config)
           
 
Methods inherited from class org.gwe.api.Session4ServerAPI
connect, executeRequest, getServerAPI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Session4ClientAPI

public Session4ClientAPI(DaemonConfigDesc daemonConfig)
Method Detail

getDaemonConfig

public DaemonConfigDesc getDaemonConfig()

configureDaemon

public void configureDaemon(HeadResourceInfo daemonInfo)
                     throws ServerAPIConnectionException,
                            java.rmi.RemoteException,
                            PasswordMismatchException
Throws:
ServerAPIConnectionException
java.rmi.RemoteException
PasswordMismatchException

getDaemonTime

public long getDaemonTime()
                   throws ServerAPIConnectionException,
                          java.rmi.RemoteException,
                          PasswordMismatchException
Throws:
ServerAPIConnectionException
java.rmi.RemoteException
PasswordMismatchException

shutdownDaemon

public void shutdownDaemon()
                    throws ServerAPIConnectionException,
                           java.rmi.RemoteException,
                           PasswordMismatchException
Throws:
ServerAPIConnectionException
java.rmi.RemoteException
PasswordMismatchException

updateConfig

public void updateConfig(DaemonConfigDesc config)
                  throws ServerAPIConnectionException,
                         java.rmi.RemoteException,
                         PasswordMismatchException
Throws:
ServerAPIConnectionException
java.rmi.RemoteException
PasswordMismatchException

loginUser

public long loginUser()
               throws ServerAPIConnectionException,
                      java.rmi.RemoteException,
                      PasswordMismatchException
Throws:
ServerAPIConnectionException
java.rmi.RemoteException
PasswordMismatchException

queueOrder

public OrderInfo queueOrder(OrderInfo order)
                     throws ServerAPIConnectionException,
                            java.rmi.RemoteException,
                            PasswordMismatchException
Throws:
ServerAPIConnectionException
java.rmi.RemoteException
PasswordMismatchException

previewOrder

public java.util.List<java.lang.String> previewOrder(OrderInfo order)
                                              throws ServerAPIConnectionException,
                                                     java.rmi.RemoteException,
                                                     PasswordMismatchException,
                                                     java.lang.Exception
Throws:
ServerAPIConnectionException
java.rmi.RemoteException
PasswordMismatchException
java.lang.Exception

pauseOrder

public void pauseOrder(int orderId)
                throws ServerAPIConnectionException,
                       java.rmi.RemoteException,
                       PasswordMismatchException
Throws:
ServerAPIConnectionException
java.rmi.RemoteException
PasswordMismatchException

resumeOrder

public void resumeOrder(int orderId)
                 throws ServerAPIConnectionException,
                        java.rmi.RemoteException,
                        PasswordMismatchException
Throws:
ServerAPIConnectionException
java.rmi.RemoteException
PasswordMismatchException

abortOrder

public void abortOrder(int orderId)
                throws ServerAPIConnectionException,
                       java.rmi.RemoteException,
                       PasswordMismatchException
Throws:
ServerAPIConnectionException
java.rmi.RemoteException
PasswordMismatchException

deleteOrder

public void deleteOrder(int orderId)
                 throws ServerAPIConnectionException,
                        java.rmi.RemoteException,
                        PasswordMismatchException
Throws:
ServerAPIConnectionException
java.rmi.RemoteException
PasswordMismatchException

cleanupDisposedAllocations

public void cleanupDisposedAllocations()
                                throws ServerAPIConnectionException,
                                       java.rmi.RemoteException,
                                       PasswordMismatchException
Throws:
ServerAPIConnectionException
java.rmi.RemoteException
PasswordMismatchException

getOrderDetails

public OrderInfo getOrderDetails(int orderId,
                                 boolean includeJobDetails)
                          throws ServerAPIConnectionException,
                                 ValidationException,
                                 java.rmi.RemoteException,
                                 PasswordMismatchException
Throws:
ServerAPIConnectionException
ValidationException
java.rmi.RemoteException
PasswordMismatchException

getOrdersList

public java.util.List<OrderInfo> getOrdersList(boolean includeJobDetails)
                                        throws ServerAPIConnectionException,
                                               ValidationException,
                                               java.rmi.RemoteException,
                                               PasswordMismatchException
Throws:
ServerAPIConnectionException
ValidationException
java.rmi.RemoteException
PasswordMismatchException

getJobDetails

public JobInfo getJobDetails(int orderId,
                             int jobNum)
                      throws ServerAPIConnectionException,
                             ValidationException,
                             java.rmi.RemoteException,
                             PasswordMismatchException
Throws:
ServerAPIConnectionException
ValidationException
java.rmi.RemoteException
PasswordMismatchException

getOrders

public java.util.List<OrderInfo> getOrders(java.lang.String description)
                                    throws ServerAPIConnectionException,
                                           java.rmi.RemoteException,
                                           PasswordMismatchException
Throws:
ServerAPIConnectionException
java.rmi.RemoteException
PasswordMismatchException

getUsername

public java.lang.String getUsername()

swapPriorities

public void swapPriorities(int orderId1,
                           int orderId2)
                    throws ServerAPIConnectionException,
                           java.rmi.RemoteException,
                           PasswordMismatchException
Throws:
ServerAPIConnectionException
java.rmi.RemoteException
PasswordMismatchException


Copyright © 2007-2009. All Rights Reserved.