|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.informationsystem.publisher.RegistryPublisherImpl
public class RegistryPublisherImpl
| Constructor Summary | |
|---|---|
protected |
RegistryPublisherImpl()
|
| Method Summary | ||
|---|---|---|
|
create(T resource)
The resource is created in the current scope and it is updated in the other scopes that are presents in the resource. |
|
|
remove(T resource)
The resource will be removed from current scope if the scope is the last scope in the resource, the profile will be deleted from IS else if it is a VRE scope then the profile will be updated without the VRE scope, if it is a VO scope but there is another VRE scope, belong to the VO, defined in the resource then throw IllegalArgumentException |
|
|
update(T resource)
The resource will be updated on all the scopes that are defined in the resource. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected RegistryPublisherImpl()
| Method Detail |
|---|
public <T extends org.gcube.common.resources.gcore.Resource> T create(T resource)
create in interface RegistryPublisherRegistryNotFoundException - if no service endpoints can be discovered
InvalidResourceExceptionwhen - the resource type is invalid service.
ResourceNotAcceptedException - when the resource is not accepted cause it doesn't satisfy a requirement
CreateException - when something is failed on creationpublic <T extends org.gcube.common.resources.gcore.Resource> T update(T resource)
update in interface RegistryPublisherRegistryNotFoundException - if no service endpoints can be discovered
InvalidResourceException - when the resource type is invalid service.
ResourceNotAcceptedException - when the resource is not accepted cause it doesn't satisfy a requirement
CreateException - when something is failed on creationpublic <T extends org.gcube.common.resources.gcore.Resource> T remove(T resource)
remove in interface RegistryPublisherIllegalArgumentException - if no service endpoints can be discovered or if there is another VRE scope defined in the resource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||