org.gcube.informationsystem.publisher
Class AdvancedPublisherCommonUtils

java.lang.Object
  extended by org.gcube.informationsystem.publisher.AdvancedPublisherCommonUtils
Direct Known Subclasses:
AdvancedPublisher, AdvancedScopedPublisher

public abstract class AdvancedPublisherCommonUtils
extends Object


Field Summary
protected  RegistryStubs registry
           
 
Constructor Summary
AdvancedPublisherCommonUtils()
           
 
Method Summary
<T extends org.gcube.common.resources.gcore.Resource>
T
forceRemove(T resource)
          Remove the input resource: if is a VRE scope: delete profile from IS if is a VO scope: delete profile from IS if is a INFRA scope: delete profile in the infra and for every VO under the infrastructures
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

registry

protected RegistryStubs registry
Constructor Detail

AdvancedPublisherCommonUtils

public AdvancedPublisherCommonUtils()
Method Detail

forceRemove

public <T extends org.gcube.common.resources.gcore.Resource> T forceRemove(T resource)
Remove the input resource: if is a VRE scope: delete profile from IS if is a VO scope: delete profile from IS if is a INFRA scope: delete profile in the infra and for every VO under the infrastructures

Throws:
IllegalArgumentException - if there are problems to contact the Registry service


Copyright © 2013. All Rights Reserved.