org.gcube.common.core.informationsystem.publisher
Interface ISResourcePublisher


public interface ISResourcePublisher

Defines a local interface for registering GCUBEResource

Author:
Manuele Simi (ISTI-CNR)

Method Summary
 void register(GCUBEResource resource, GCUBEScope scope, GCUBESecurityManager manager)
          Registers a GCUBEResource on the Information System
 void remove(String ID, String type, GCUBEScope scope, GCUBESecurityManager manager)
          Removes a GCUBEResource from the Information System
 void update(GCUBEResource resource, GCUBEScope scope, GCUBESecurityManager manager)
          Updates a GCUBEResource in the Information System
 

Method Detail

register

void register(GCUBEResource resource,
              GCUBEScope scope,
              GCUBESecurityManager manager)
              throws ISPublisherException
Registers a GCUBEResource on the Information System

Parameters:
resource - the GCUBEResource to register
scope - the GCUBEScope in which to register the resource
manager - the GCUBESecurityManager for contacting the IS
Throws:
ISPublisherException - Exception

remove

void remove(String ID,
            String type,
            GCUBEScope scope,
            GCUBESecurityManager manager)
            throws ISPublisherException
Removes a GCUBEResource from the Information System

Parameters:
ID - the ID related to the GCUBEResource to remove
type - the GCUBEResource type to remove
scope - the registration GCUBEScope
manager - the GCUBESecurityManager for contacting the IS
Throws:
ISPublisherException - Exception

update

void update(GCUBEResource resource,
            GCUBEScope scope,
            GCUBESecurityManager manager)
            throws ISPublisherException
Updates a GCUBEResource in the Information System

Parameters:
resource - the new GCUBEResource to update
manager - the GCUBESecurityManager for contacting the IS
Throws:
ISPublisherException - Exception


Copyright © 2013. All Rights Reserved.