org.gwe.api.impl
Class ServerAPI4UserImpl
java.lang.Object
org.gwe.api.impl.BaseServerAPIImpl<API_TYPE,DOM_TYPE>
org.gwe.api.impl.SecuredServerAPIImpl<ServerAPI4User,UserDomain>
org.gwe.api.impl.ServerAPI4UserImpl
- All Implemented Interfaces:
- java.rmi.Remote, SecuredServerAPI, ServerAPI4User
public class ServerAPI4UserImpl
- extends SecuredServerAPIImpl<ServerAPI4User,UserDomain>
- implements ServerAPI4User
- 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 auth,
int orderId,
int orderId2)
|
void |
updateConfig(AccountInfo sessionId,
DaemonConfigDesc config)
|
void |
updateOrder(AccountInfo auth,
int orderId,
OrderInfo order)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerAPI4UserImpl
public ServerAPI4UserImpl()
configureDaemon
public void configureDaemon(AccountInfo auth,
HeadResourceInfo daemonInfo)
throws java.rmi.RemoteException,
PasswordMismatchException
- Specified by:
configureDaemon
in interface ServerAPI4User
- Throws:
java.rmi.RemoteException
PasswordMismatchException
shutdownDaemon
public void shutdownDaemon(AccountInfo auth)
throws java.rmi.RemoteException,
PasswordMismatchException
- Specified by:
shutdownDaemon
in interface ServerAPI4User
- Throws:
java.rmi.RemoteException
PasswordMismatchException
getDaemonTime
public long getDaemonTime(AccountInfo auth)
throws java.rmi.RemoteException,
PasswordMismatchException
- Specified by:
getDaemonTime
in interface ServerAPI4User
- Throws:
java.rmi.RemoteException
PasswordMismatchException
updateConfig
public void updateConfig(AccountInfo sessionId,
DaemonConfigDesc config)
throws java.rmi.RemoteException,
PasswordMismatchException
- Specified by:
updateConfig
in interface ServerAPI4User
- Throws:
java.rmi.RemoteException
PasswordMismatchException
getOrdersDefined
public java.util.List<OrderInfo> getOrdersDefined(AccountInfo auth)
throws java.rmi.RemoteException,
PasswordMismatchException
- Specified by:
getOrdersDefined
in interface ServerAPI4User
- Throws:
java.rmi.RemoteException
PasswordMismatchException
queueOrder
public OrderInfo queueOrder(AccountInfo auth,
OrderInfo order)
throws java.rmi.RemoteException,
PasswordMismatchException
- Specified by:
queueOrder
in interface ServerAPI4User
- Throws:
java.rmi.RemoteException
PasswordMismatchException
previewOrder
public java.util.List<java.lang.String> previewOrder(AccountInfo auth,
OrderInfo order)
throws java.rmi.RemoteException,
PasswordMismatchException,
java.lang.Exception
- Specified by:
previewOrder
in interface ServerAPI4User
- Throws:
java.rmi.RemoteException
PasswordMismatchException
java.lang.Exception
pauseOrder
public void pauseOrder(AccountInfo auth,
int orderId)
throws java.rmi.RemoteException,
PasswordMismatchException
- Specified by:
pauseOrder
in interface ServerAPI4User
- Throws:
java.rmi.RemoteException
PasswordMismatchException
resumeOrder
public void resumeOrder(AccountInfo auth,
int orderId)
throws java.rmi.RemoteException,
PasswordMismatchException
- Specified by:
resumeOrder
in interface ServerAPI4User
- Throws:
java.rmi.RemoteException
PasswordMismatchException
abortOrder
public void abortOrder(AccountInfo auth,
int orderId)
throws java.rmi.RemoteException,
PasswordMismatchException
- Specified by:
abortOrder
in interface ServerAPI4User
- Throws:
java.rmi.RemoteException
PasswordMismatchException
deleteOrder
public void deleteOrder(AccountInfo auth,
int orderId)
throws java.rmi.RemoteException,
PasswordMismatchException
- Specified by:
deleteOrder
in interface ServerAPI4User
- Throws:
java.rmi.RemoteException
PasswordMismatchException
updateOrder
public void updateOrder(AccountInfo auth,
int orderId,
OrderInfo order)
throws java.rmi.RemoteException
- Specified by:
updateOrder
in interface ServerAPI4User
- Throws:
java.rmi.RemoteException
getOrdersByDescription
public java.util.List<OrderInfo> getOrdersByDescription(AccountInfo auth,
java.lang.String description)
throws java.rmi.RemoteException,
PasswordMismatchException
- Specified by:
getOrdersByDescription
in interface ServerAPI4User
- Throws:
java.rmi.RemoteException
PasswordMismatchException
getOrderDetails
public OrderInfo getOrderDetails(AccountInfo auth,
int orderId,
boolean includeJobs)
throws java.rmi.RemoteException,
PasswordMismatchException
- Specified by:
getOrderDetails
in interface ServerAPI4User
- Throws:
java.rmi.RemoteException
PasswordMismatchException
getOrdersList
public java.util.List<OrderInfo> getOrdersList(AccountInfo auth,
boolean includeJobs)
throws java.rmi.RemoteException,
PasswordMismatchException
- Specified by:
getOrdersList
in interface ServerAPI4User
- Throws:
java.rmi.RemoteException
PasswordMismatchException
getJobDetails
public JobInfo getJobDetails(AccountInfo auth,
int orderId,
int jobNum)
throws java.rmi.RemoteException,
PasswordMismatchException
- Specified by:
getJobDetails
in interface ServerAPI4User
- Throws:
java.rmi.RemoteException
PasswordMismatchException
swapPriorities
public void swapPriorities(AccountInfo auth,
int orderId,
int orderId2)
throws java.rmi.RemoteException,
PasswordMismatchException
- Specified by:
swapPriorities
in interface ServerAPI4User
- Throws:
java.rmi.RemoteException
PasswordMismatchException
cleanupDisposedAllocations
public void cleanupDisposedAllocations(AccountInfo sessionId)
throws java.rmi.RemoteException,
PasswordMismatchException
- Specified by:
cleanupDisposedAllocations
in interface ServerAPI4User
- Throws:
java.rmi.RemoteException
PasswordMismatchException
Copyright © 2007-2009. All Rights Reserved.