org.gcube.contentmanagement.contentmanager.smsplugin.delegates.util
Interface SMSInterface

All Known Implementing Classes:
SMSInterfaceImpl

public interface SMSInterface


Method Summary
 java.lang.String createCollection(java.lang.String name, java.lang.String description)
          Create a new collection.
 boolean deleteInformationObject(java.lang.String oid)
           
 boolean deleteInformationObjectProperty(java.lang.String oid, java.lang.String propertyName)
           
 boolean existsInfoObject(java.lang.String oid)
           
 SMSCollectionInfo getCollectionInfo(java.lang.String collectionId)
          Get information about the collection from sms.
 InfoObjectDescription getInfoObject(java.lang.String objectID, java.lang.String targetLocation, StorageHint[] hints)
           
 java.lang.String retrieveFilteredIOs(SMSResponseConfig responseConfig, java.util.List<SMSFilter> filters)
           
 InfoObjectTree retrieveTree(java.lang.String oid, InformationObjectTreeResponse responseConfig)
           
 void setInformationObjectProperty(java.lang.String oid, CreatePropertyDescription propertyDescription)
           
 java.lang.String storeInformationObject(CreateInfoObjectReferencesProperties createInfoObjectParams)
           
 void updateInformationObjectRawContent(java.lang.String oid, byte[] content)
           
 void updateInformationObjectRawContent(java.lang.String oid, java.lang.String fileLocation)
           
 

Method Detail

getInfoObject

InfoObjectDescription getInfoObject(java.lang.String objectID,
                                    java.lang.String targetLocation,
                                    StorageHint[] hints)
                                    throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

existsInfoObject

boolean existsInfoObject(java.lang.String oid)
                         throws java.rmi.RemoteException,
                                GCUBERetrySameIOFault
Parameters:
oid -
Returns:
Throws:
java.rmi.RemoteException
GCUBERetrySameIOFault
See Also:
org.gcube.contentmanagement.storagelayer.storagemanagementservice.stubs.SMSPortType1PortType#existsInfoObject(java.lang.String)

retrieveTree

InfoObjectTree retrieveTree(java.lang.String oid,
                            InformationObjectTreeResponse responseConfig)
                            throws GCUBEUnrecoverableObjectNotFoundFault,
                                   GCUBERetrySameIOFault,
                                   GCUBEUnrecoverableValueNotValidFault,
                                   java.rmi.RemoteException
Parameters:
oid -
responseConfig -
Returns:
Throws:
GCUBEUnrecoverableObjectNotFoundFault
GCUBERetrySameIOFault
GCUBEUnrecoverableValueNotValidFault
java.rmi.RemoteException
See Also:
org.gcube.contentmanagement.storagelayer.storagemanagementservice.stubs.StorageManagementCall#retrieveTree(java.lang.String, org.gcube.contentmanagement.storagelayer.storagemanagementservice.stubs.response.InformationObjectTreeResponse)

retrieveFilteredIOs

java.lang.String retrieveFilteredIOs(SMSResponseConfig responseConfig,
                                     java.util.List<SMSFilter> filters)
                                     throws GCUBEUnrecoverableObjectNotFoundFault,
                                            GCUBERetrySameIOFault,
                                            GCUBEUnrecoverableValueNotValidFault,
                                            java.rmi.RemoteException
Parameters:
responseConfig -
filters -
Returns:
Throws:
GCUBEUnrecoverableObjectNotFoundFault
GCUBERetrySameIOFault
GCUBEUnrecoverableValueNotValidFault
java.rmi.RemoteException
See Also:
org.gcube.contentmanagement.storagelayer.storagemanagementservice.stubs.StorageManagementCall#retrieveFilteredIOs(org.gcube.contentmanagement.storagelayer.storagemanagementservice.stubs.response.SMSResponseConfig, java.util.List)

getCollectionInfo

SMSCollectionInfo getCollectionInfo(java.lang.String collectionId)
                                    throws java.lang.Exception
Get information about the collection from sms.

Parameters:
collectionId - the collection id.
Returns:
the retrieved collection info.
Throws:
java.lang.Exception - if an error occurs retrieving the information.

createCollection

java.lang.String createCollection(java.lang.String name,
                                  java.lang.String description)
                                  throws GCUBERetrySameIOFault,
                                         GCUBEUnrecoverableValueNotValidFault,
                                         java.rmi.RemoteException
Create a new collection.

Parameters:
name - the collection name.
description - the collection description.
Returns:
the new collection id.
Throws:
GCUBERetrySameIOFault
GCUBEUnrecoverableValueNotValidFault
java.rmi.RemoteException

storeInformationObject

java.lang.String storeInformationObject(CreateInfoObjectReferencesProperties createInfoObjectParams)
                                        throws GCUBEUnrecoverableObjectNotFoundFault,
                                               GCUBERetrySameIOFault,
                                               GCUBEUnrecoverableValueNotValidFault,
                                               java.rmi.RemoteException
Throws:
GCUBEUnrecoverableObjectNotFoundFault
GCUBERetrySameIOFault
GCUBEUnrecoverableValueNotValidFault
java.rmi.RemoteException

deleteInformationObject

boolean deleteInformationObject(java.lang.String oid)
                                throws GCUBEUnrecoverableObjectNotFoundFault,
                                       GCUBERetrySameIOFault,
                                       GCUBEUnrecoverableValueNotValidFault,
                                       java.rmi.RemoteException
Throws:
GCUBEUnrecoverableObjectNotFoundFault
GCUBERetrySameIOFault
GCUBEUnrecoverableValueNotValidFault
java.rmi.RemoteException

deleteInformationObjectProperty

boolean deleteInformationObjectProperty(java.lang.String oid,
                                        java.lang.String propertyName)
                                        throws GCUBEUnrecoverableObjectNotFoundFault,
                                               GCUBERetrySameIOFault,
                                               GCUBEUnrecoverableValueNotValidFault,
                                               java.rmi.RemoteException
Throws:
GCUBEUnrecoverableObjectNotFoundFault
GCUBERetrySameIOFault
GCUBEUnrecoverableValueNotValidFault
java.rmi.RemoteException

setInformationObjectProperty

void setInformationObjectProperty(java.lang.String oid,
                                  CreatePropertyDescription propertyDescription)
                                  throws GCUBEUnrecoverableObjectNotFoundFault,
                                         GCUBERetrySameIOFault,
                                         GCUBEUnrecoverableValueNotValidFault,
                                         java.rmi.RemoteException
Throws:
GCUBEUnrecoverableObjectNotFoundFault
GCUBERetrySameIOFault
GCUBEUnrecoverableValueNotValidFault
java.rmi.RemoteException

updateInformationObjectRawContent

void updateInformationObjectRawContent(java.lang.String oid,
                                       java.lang.String fileLocation)
                                       throws GCUBEUnrecoverableObjectNotFoundFault,
                                              GCUBERetrySameIOFault,
                                              GCUBEUnrecoverableValueNotValidFault,
                                              java.rmi.RemoteException
Throws:
GCUBEUnrecoverableObjectNotFoundFault
GCUBERetrySameIOFault
GCUBEUnrecoverableValueNotValidFault
java.rmi.RemoteException

updateInformationObjectRawContent

void updateInformationObjectRawContent(java.lang.String oid,
                                       byte[] content)
                                       throws GCUBEUnrecoverableObjectNotFoundFault,
                                              GCUBERetrySameIOFault,
                                              GCUBEUnrecoverableValueNotValidFault,
                                              java.rmi.RemoteException
Throws:
GCUBEUnrecoverableObjectNotFoundFault
GCUBERetrySameIOFault
GCUBEUnrecoverableValueNotValidFault
java.rmi.RemoteException