org.gwe.api
Class Session4ClientAPIEnhancer

java.lang.Object
  extended by org.gwe.api.Session4ClientAPIEnhancer

public class Session4ClientAPIEnhancer
extends java.lang.Object

Since:
Nov 3, 2008
Author:
Marco Ruiz

Constructor Summary
Session4ClientAPIEnhancer(Session4ClientAPI session)
           
 
Method Summary
 void abortOrder(int orderId)
           
 void cleanupDisposedAllocations()
           
 void configureDaemon(HeadResourceInfo daemonInfo)
           
 void deleteOrder(int orderId)
           
 java.lang.String doOrderBasedOperation(ClientOrderBasedOperation oper, int orderId)
           
 java.lang.String doOrderBasedQuery(ClientOrderBasedQuery oper, int orderId, int jobNum)
           
 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)
           
 Session4ClientAPI getSession()
           
 java.lang.String getUsername()
           
 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 orderId, int orderId2)
           
 void updateConfig(DaemonConfigDesc config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Session4ClientAPIEnhancer

public Session4ClientAPIEnhancer(Session4ClientAPI session)
Method Detail

getSession

public Session4ClientAPI getSession()

doOrderBasedOperation

public java.lang.String doOrderBasedOperation(ClientOrderBasedOperation oper,
                                              int orderId)
                                       throws ServerAPIConnectionException,
                                              java.rmi.RemoteException,
                                              PasswordMismatchException,
                                              GWEDomainException
Throws:
ServerAPIConnectionException
java.rmi.RemoteException
PasswordMismatchException
GWEDomainException

doOrderBasedQuery

public java.lang.String doOrderBasedQuery(ClientOrderBasedQuery oper,
                                          int orderId,
                                          int jobNum)
                                   throws ServerAPIConnectionException,
                                          java.rmi.RemoteException,
                                          GWEDomainException
Throws:
ServerAPIConnectionException
java.rmi.RemoteException
GWEDomainException

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

getJobDetails

public JobInfo getJobDetails(int orderId,
                             int jobNum)
                      throws ServerAPIConnectionException,
                             ValidationException,
                             java.rmi.RemoteException,
                             PasswordMismatchException
Throws:
ServerAPIConnectionException
ValidationException
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

getOrders

public java.util.List<OrderInfo> getOrders(java.lang.String description)
                                    throws ServerAPIConnectionException,
                                           java.rmi.RemoteException,
                                           PasswordMismatchException
Throws:
ServerAPIConnectionException
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

getUsername

public java.lang.String getUsername()

pauseOrder

public void pauseOrder(int orderId)
                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

resumeOrder

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

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

swapPriorities

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

cleanupDisposedAllocations

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


Copyright © 2007-2009. All Rights Reserved.