org.gwe.api
Interface ServerAPI4User

All Superinterfaces:
java.rmi.Remote, SecuredServerAPI
All Known Implementing Classes:
ServerAPI4UserImpl

public interface ServerAPI4User
extends SecuredServerAPI

Since:
Aug 15, 2007
Author:
Marco Ruiz

Method Summary
 void abortOrder(AccountInfo auth, int orderId)
           
 void cleanupDisposedAllocations(AccountInfo sessionId)
           
 void configureDaemon(AccountInfo auth, HeadResourceInfo daemonInfo)
           
 void deleteOrder(AccountInfo auth, int orderId)
           
 long getDaemonTime(AccountInfo auth)
           
 JobInfo getJobDetails(AccountInfo auth, int orderId, int jobNum)
           
 OrderInfo getOrderDetails(AccountInfo auth, int orderId, boolean includeJobs)
           
 java.util.List<OrderInfo> getOrdersByDescription(AccountInfo auth, java.lang.String description)
           
 java.util.List<OrderInfo> getOrdersDefined(AccountInfo auth)
           
 java.util.List<OrderInfo> getOrdersList(AccountInfo auth, boolean includeJobs)
           
 void pauseOrder(AccountInfo auth, int orderId)
           
 java.util.List<java.lang.String> previewOrder(AccountInfo auth, OrderInfo order)
           
 OrderInfo queueOrder(AccountInfo auth, OrderInfo order)
           
 void resumeOrder(AccountInfo auth, int orderId)
           
 void shutdownDaemon(AccountInfo auth)
           
 void swapPriorities(AccountInfo sessionId, int orderId1, int orderId2)
           
 void updateConfig(AccountInfo sessionId, DaemonConfigDesc config)
           
 void updateOrder(AccountInfo auth, int orderId, OrderInfo order)
           
 
Methods inherited from interface org.gwe.api.SecuredServerAPI
verifyAccount
 

Method Detail

getDaemonTime

long getDaemonTime(AccountInfo auth)
                   throws java.rmi.RemoteException,
                          PasswordMismatchException
Throws:
java.rmi.RemoteException
PasswordMismatchException

configureDaemon

void configureDaemon(AccountInfo auth,
                     HeadResourceInfo daemonInfo)
                     throws java.rmi.RemoteException,
                            PasswordMismatchException
Throws:
java.rmi.RemoteException
PasswordMismatchException

shutdownDaemon

void shutdownDaemon(AccountInfo auth)
                    throws java.rmi.RemoteException,
                           PasswordMismatchException
Throws:
java.rmi.RemoteException
PasswordMismatchException

updateConfig

void updateConfig(AccountInfo sessionId,
                  DaemonConfigDesc config)
                  throws java.rmi.RemoteException,
                         PasswordMismatchException
Throws:
java.rmi.RemoteException
PasswordMismatchException

getOrdersDefined

java.util.List<OrderInfo> getOrdersDefined(AccountInfo auth)
                                           throws java.rmi.RemoteException,
                                                  PasswordMismatchException
Throws:
java.rmi.RemoteException
PasswordMismatchException

queueOrder

OrderInfo queueOrder(AccountInfo auth,
                     OrderInfo order)
                     throws java.rmi.RemoteException,
                            PasswordMismatchException
Throws:
java.rmi.RemoteException
PasswordMismatchException

previewOrder

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

pauseOrder

void pauseOrder(AccountInfo auth,
                int orderId)
                throws java.rmi.RemoteException,
                       PasswordMismatchException
Throws:
java.rmi.RemoteException
PasswordMismatchException

resumeOrder

void resumeOrder(AccountInfo auth,
                 int orderId)
                 throws java.rmi.RemoteException,
                        PasswordMismatchException
Throws:
java.rmi.RemoteException
PasswordMismatchException

abortOrder

void abortOrder(AccountInfo auth,
                int orderId)
                throws java.rmi.RemoteException,
                       PasswordMismatchException
Throws:
java.rmi.RemoteException
PasswordMismatchException

deleteOrder

void deleteOrder(AccountInfo auth,
                 int orderId)
                 throws java.rmi.RemoteException,
                        PasswordMismatchException
Throws:
java.rmi.RemoteException
PasswordMismatchException

updateOrder

void updateOrder(AccountInfo auth,
                 int orderId,
                 OrderInfo order)
                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getOrdersByDescription

java.util.List<OrderInfo> getOrdersByDescription(AccountInfo auth,
                                                 java.lang.String description)
                                                 throws java.rmi.RemoteException,
                                                        PasswordMismatchException
Throws:
java.rmi.RemoteException
PasswordMismatchException

getOrderDetails

OrderInfo getOrderDetails(AccountInfo auth,
                          int orderId,
                          boolean includeJobs)
                          throws java.rmi.RemoteException,
                                 PasswordMismatchException
Throws:
java.rmi.RemoteException
PasswordMismatchException

getJobDetails

JobInfo getJobDetails(AccountInfo auth,
                      int orderId,
                      int jobNum)
                      throws java.rmi.RemoteException,
                             PasswordMismatchException
Throws:
java.rmi.RemoteException
PasswordMismatchException

getOrdersList

java.util.List<OrderInfo> getOrdersList(AccountInfo auth,
                                        boolean includeJobs)
                                        throws java.rmi.RemoteException,
                                               PasswordMismatchException
Throws:
java.rmi.RemoteException
PasswordMismatchException

swapPriorities

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

cleanupDisposedAllocations

void cleanupDisposedAllocations(AccountInfo sessionId)
                                throws java.rmi.RemoteException,
                                       PasswordMismatchException
Throws:
java.rmi.RemoteException
PasswordMismatchException


Copyright © 2007-2009. All Rights Reserved.