|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.common.informationsystem.publisher.impl.GCUBEPublisher
public class GCUBEPublisher
Reference implementation for GCUBE of the ISPublisher interface
| Field Summary | |
|---|---|
protected static org.gcube.common.core.utils.logging.GCUBELog |
logger
Object logger. |
| Constructor Summary | |
|---|---|
GCUBEPublisher()
There MUST be a constructor with NO parameter to instantiate it with the reflection API |
|
| Method Summary | |
|---|---|
InstanceStatePublisher |
getWSRPDocumentManager(org.gcube.common.core.state.GCUBEWSResource resource,
org.gcube.common.core.scope.GCUBEScope... scope)
Gets an instance of a InstanceStatePublisher. |
String |
registerGCUBEResource(org.gcube.common.core.resources.GCUBEResource profile,
org.gcube.common.core.scope.GCUBEScope scope,
org.gcube.common.core.security.GCUBESecurityManager manager)
Registers a GCUBEResource on the Information System |
void |
registerWSResource(org.gcube.common.core.state.GCUBEWSResource resource,
org.gcube.common.core.scope.GCUBEScope... scope)
Publishes GCUBEWSResource registration on a Information System. |
void |
removeGCUBEResource(String ID,
String type,
org.gcube.common.core.scope.GCUBEScope scope,
org.gcube.common.core.security.GCUBESecurityManager manager)
Removes a GCUBEResource from the Information System |
void |
removeWSResource(org.gcube.common.core.state.GCUBEWSResource resource,
org.gcube.common.core.scope.GCUBEScope... scope)
Unpublishes the registration of a GCUBEWSResource form the Information System |
void |
updateGCUBEResource(org.gcube.common.core.resources.GCUBEResource profile,
org.gcube.common.core.scope.GCUBEScope scope,
org.gcube.common.core.security.GCUBESecurityManager manager)
Updates a GCUBEResource in the Information System |
void |
updateWSResource(org.gcube.common.core.state.GCUBEWSResource resource,
org.gcube.common.core.scope.GCUBEScope... scope)
Updates a GCUBEWSResource in the Information System |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.gcube.common.core.utils.logging.GCUBELog logger
| Constructor Detail |
|---|
public GCUBEPublisher()
| Method Detail |
|---|
public InstanceStatePublisher getWSRPDocumentManager(org.gcube.common.core.state.GCUBEWSResource resource,
org.gcube.common.core.scope.GCUBEScope... scope)
throws GCUBEPublisherException
InstanceStatePublisher. The returned object provides functionalities to register/unregister GCUBEWSResource on the
IS-IC
resource - the GCUBEWSResourcescope - optional registration GCUBEScope, replace the one in the resource
InstanceStatePublisher to register the RP document of the resource
GCUBEPublisherException - Exception
public void registerWSResource(org.gcube.common.core.state.GCUBEWSResource resource,
org.gcube.common.core.scope.GCUBEScope... scope)
throws org.gcube.common.core.informationsystem.publisher.ISPublisherException
GCUBEWSResource registration on a Information System.
registerWSResource in interface org.gcube.common.core.informationsystem.publisher.ISPublisherresource - the GCUBEWSResource to registerscope - optional GCUBEScope (overrides the scope specified by the GCUBEWSResource)
org.gcube.common.core.informationsystem.publisher.ISPublisherException - if the registration fails
public void removeWSResource(org.gcube.common.core.state.GCUBEWSResource resource,
org.gcube.common.core.scope.GCUBEScope... scope)
throws org.gcube.common.core.informationsystem.publisher.ISPublisherException
GCUBEWSResource form the Information System
removeWSResource in interface org.gcube.common.core.informationsystem.publisher.ISPublisherresource - the GCUBEWSResource to unregisteroptional - GCUBEScope (overrides the scope specified by the GCUBEWSResource)
org.gcube.common.core.informationsystem.publisher.ISPublisherException - if the remove fails
public String registerGCUBEResource(org.gcube.common.core.resources.GCUBEResource profile,
org.gcube.common.core.scope.GCUBEScope scope,
org.gcube.common.core.security.GCUBESecurityManager manager)
throws org.gcube.common.core.informationsystem.publisher.ISPublisherException
GCUBEResource on the Information System
registerGCUBEResource in interface org.gcube.common.core.informationsystem.publisher.ISPublisherresource - the GCUBEResource to registerscope - the GCUBEScope in which to register the resource
GCUBESecurityManager of the registrant
org.gcube.common.core.informationsystem.publisher.ISPublisherException - if the publication fails
public void removeGCUBEResource(String ID,
String type,
org.gcube.common.core.scope.GCUBEScope scope,
org.gcube.common.core.security.GCUBESecurityManager manager)
throws org.gcube.common.core.informationsystem.publisher.ISPublisherException
GCUBEResource from the Information System
removeGCUBEResource in interface org.gcube.common.core.informationsystem.publisher.ISPublisherID - the ID related to the GCUBEResource to removetype - the GCUBEResource type to removescope - the registration GCUBEScopemanager - the GCUBESecurityManager for contacting the IS
org.gcube.common.core.informationsystem.publisher.ISPublisherException - if the remove fails
public void updateGCUBEResource(org.gcube.common.core.resources.GCUBEResource profile,
org.gcube.common.core.scope.GCUBEScope scope,
org.gcube.common.core.security.GCUBESecurityManager manager)
throws org.gcube.common.core.informationsystem.publisher.ISPublisherException
GCUBEResource in the Information System
updateGCUBEResource in interface org.gcube.common.core.informationsystem.publisher.ISPublisherresource - the new GCUBEResource to updatemanager - the GCUBESecurityManager for contacting the IS
org.gcube.common.core.informationsystem.publisher.ISPublisherException - if the update fails
public void updateWSResource(org.gcube.common.core.state.GCUBEWSResource resource,
org.gcube.common.core.scope.GCUBEScope... scope)
throws org.gcube.common.core.informationsystem.publisher.ISPublisherException
GCUBEWSResource in the Information System
updateWSResource in interface org.gcube.common.core.informationsystem.publisher.ISPublisherresource - the GCUBEWSResourcescope - optional registration GCUBEScope, replace the one in the resource
org.gcube.common.core.informationsystem.publisher.ISPublisherException - if the update fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||