|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RemoteOperations
The remote operations are used by the registries to communicate. The
Information is added in each CRUD operation to be able to send
registry information.
| Method Summary | |
|---|---|
boolean |
delete(java.lang.String path,
Information information)
Delete the element from the registry. |
Resource |
get(java.lang.String path,
Information info)
Get the element from its path only if the path refers to an element. |
java.util.List<Resource> |
getAll(java.lang.String path,
Information info)
Get all the resources in the given path only if the given path is a directory. |
boolean |
put(java.lang.String path,
Resource resource,
Information info)
Put a resource in the registry. |
java.util.List<Resource> |
query(Query query,
Information info)
|
| Method Detail |
|---|
boolean put(java.lang.String path,
Resource resource,
Information info)
throws RegistryException
path - The path to store the resource into. Contains the parent
directory and the resource identifier (ie : in
/path/to/resource/r1 r1 is the resource identifier) if the
resource already exists override, create a new one if not.resource - The resource to put
RegistryException
Resource get(java.lang.String path,
Information info)
throws RegistryException
#getAll(String)
path -
an - exception there is no resource at the given path or if a
problem occurs.
RegistryException
java.util.List<Resource> getAll(java.lang.String path,
Information info)
throws RegistryException
#get(String). Be carefull on
the implementation side when trying to get all the resources of all the
registries. The best way is that the getAll implementation just returns
the resources of the local registry ie its vision of the resources of the
network at the current time.
path -
RegistryException - if the path is not a directory path...
boolean delete(java.lang.String path,
Information information)
throws RegistryException
key -
RegistryException
java.util.List<Resource> query(Query query,
Information info)
throws RegistryException
query - info -
RegistryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||