|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CronService
Remote service interface definition. This service allows to interact
with server-side crons : retrieving them, saving them (thus
activation / deactivation) and removing them. All this services require
authentication through the usage of the login()
method.
The security token returned by this method should then be used as a
parameter of every service call.
Method Summary | |
---|---|
RemoteQuartzCronInfo[] |
getQuartzCronInfo(java.lang.String token)
Retrieve the list of all existing cron on server-side |
RemoteQuartzCronInfo |
getQuartzCronInfo(java.lang.String token,
java.lang.String name)
Retrieve information onto a specified cron |
void |
removeCron(java.lang.String token,
RemoteQuartzCronInfo cron)
Remove an existing cron from cron table |
void |
saveCron(java.lang.String token,
RemoteQuartzCronInfo cron)
Save a new cron on server-side. |
Methods inherited from interface org.figure8.join.services.remoting.AuthenticatedService |
---|
login, logout |
Method Detail |
---|
void saveCron(java.lang.String token, RemoteQuartzCronInfo cron) throws InvalidSessionException, InvalidParameterException, DuplicateEntityException, java.rmi.RemoteException
token
- Authentication token provided earlier by login() methodcron
- Informations about cron to save
InvalidSessionException
- if user has no valid session on server-side
InvalidParameterException
- if a property of RemoteQuartzCronInfo is not valid
DuplicateEntityException
- if a cron with same name already exists
java.rmi.RemoteException
- if an exception occurs during the remote conversationvoid removeCron(java.lang.String token, RemoteQuartzCronInfo cron) throws InvalidSessionException, java.rmi.RemoteException
token
- Authentication token provided earlier by login() methodcron
- Information about cron to remove
InvalidSessionException
- if user has no valid session on server-side
java.rmi.RemoteException
- if an exception occurs during the remote conversationRemoteQuartzCronInfo getQuartzCronInfo(java.lang.String token, java.lang.String name) throws InvalidSessionException, java.rmi.RemoteException
token
- Authentication token provided earlier by login() methodname
- Name of cron to retrieve information for
InvalidSessionException
- if user has no valid session on server-side
java.rmi.RemoteException
- if an exception occurs during the remote conversationRemoteQuartzCronInfo[] getQuartzCronInfo(java.lang.String token) throws InvalidSessionException, java.rmi.RemoteException
token
- Authentication token provided earlier by login() method
InvalidSessionException
- if user has no valid session on server-side
java.rmi.RemoteException
- if an exception occurs during the remote conversation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |