|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceService
Remote service interface definition. This service allows to retrieve and update informations onto environment resources.
Method Summary | |
---|---|
void |
createResourceVersion(java.lang.String token,
RemoteResourceVersion version)
Create a new resource version for a specified type. |
void |
updateResource(java.lang.String token,
java.lang.String resourceName,
java.lang.String versionName)
Update an existing resource with an existing reosurce version. |
Methods inherited from interface org.figure8.join.services.remoting.AuthenticatedService |
---|
login, logout |
Method Detail |
---|
void createResourceVersion(java.lang.String token, RemoteResourceVersion version) throws InvalidParameterException, DuplicateEntityException, InvalidSessionException, java.rmi.RemoteException
token
- Authentication token provided earlier by login() methodversion
- The remote wrapper for resource version to create into Join
InvalidParameterException
- if one of supplied parameters is invalid
DuplicateEntityException
- if another resource version with same name already exists
InvalidSessionException
- if user has no valid session on server-side
java.rmi.RemoteException
- if an exception occurs during the remote conversationvoid updateResource(java.lang.String token, java.lang.String resourceName, java.lang.String versionName) throws InvalidParameterException, InvalidSessionException, java.rmi.RemoteException
token
- Authentication token provided earlier by login() methodresourceName
- The unique name of the resource to updateversionName
- The unique name of the version to update resource with
InvalidParameterException
- if one of supplied parameters is invalid
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 |