|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.contentmanagement.contentmanager.smsplugin.delegates.util.SMSInterfaceImpl
public class SMSInterfaceImpl
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)
|
static SMSInterface |
getInstance()
|
StorageManagementCall |
getSmsCall()
|
SMSPortType1PortType |
getSmsPortType1()
|
static void |
initializeInterface(GCUBEScope scope,
GCUBESecurityManager securityManager)
|
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)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void initializeInterface(GCUBEScope scope, GCUBESecurityManager securityManager) throws java.lang.Exception
java.lang.Exception
public static SMSInterface getInstance() throws java.lang.Exception
java.lang.Exception
public StorageManagementCall getSmsCall()
public SMSPortType1PortType getSmsPortType1()
public InfoObjectDescription getInfoObject(java.lang.String objectID, java.lang.String targetLocation, StorageHint[] hints) throws java.rmi.RemoteException
getInfoObject
in interface SMSInterface
java.rmi.RemoteException
public boolean existsInfoObject(java.lang.String oid) throws java.rmi.RemoteException, GCUBERetrySameIOFault
existsInfoObject
in interface SMSInterface
java.rmi.RemoteException
GCUBERetrySameIOFault
org.gcube.contentmanagement.storagelayer.storagemanagementservice.stubs.SMSPortType1PortType#existsInfoObject(java.lang.String)
public InfoObjectTree retrieveTree(java.lang.String oid, InformationObjectTreeResponse responseConfig) throws GCUBEUnrecoverableObjectNotFoundFault, GCUBERetrySameIOFault, GCUBEUnrecoverableValueNotValidFault, java.rmi.RemoteException
retrieveTree
in interface SMSInterface
GCUBEUnrecoverableObjectNotFoundFault
GCUBERetrySameIOFault
GCUBEUnrecoverableValueNotValidFault
java.rmi.RemoteException
org.gcube.contentmanagement.storagelayer.storagemanagementservice.stubs.StorageManagementCall#retrieveTree(java.lang.String, org.gcube.contentmanagement.storagelayer.storagemanagementservice.stubs.response.InformationObjectTreeResponse)
public java.lang.String retrieveFilteredIOs(SMSResponseConfig responseConfig, java.util.List<SMSFilter> filters) throws GCUBEUnrecoverableObjectNotFoundFault, GCUBERetrySameIOFault, GCUBEUnrecoverableValueNotValidFault, java.rmi.RemoteException
retrieveFilteredIOs
in interface SMSInterface
GCUBEUnrecoverableObjectNotFoundFault
GCUBERetrySameIOFault
GCUBEUnrecoverableValueNotValidFault
java.rmi.RemoteException
org.gcube.contentmanagement.storagelayer.storagemanagementservice.stubs.StorageManagementCall#retrieveFilteredIOs(org.gcube.contentmanagement.storagelayer.storagemanagementservice.stubs.response.SMSResponseConfig, java.util.List)
public SMSCollectionInfo getCollectionInfo(java.lang.String collectionId) throws java.lang.Exception
getCollectionInfo
in interface SMSInterface
collectionId
- the collection id.
java.lang.Exception
- if an error occurs retrieving the information.public java.lang.String createCollection(java.lang.String name, java.lang.String description) throws GCUBERetrySameIOFault, GCUBEUnrecoverableValueNotValidFault, java.rmi.RemoteException
createCollection
in interface SMSInterface
name
- the collection name.description
- the collection description.
GCUBERetrySameIOFault
GCUBEUnrecoverableValueNotValidFault
java.rmi.RemoteException
public java.lang.String storeInformationObject(CreateInfoObjectReferencesProperties createInfoObjectParams) throws GCUBEUnrecoverableObjectNotFoundFault, GCUBERetrySameIOFault, GCUBEUnrecoverableValueNotValidFault, java.rmi.RemoteException
storeInformationObject
in interface SMSInterface
GCUBEUnrecoverableObjectNotFoundFault
GCUBERetrySameIOFault
GCUBEUnrecoverableValueNotValidFault
java.rmi.RemoteException
public boolean deleteInformationObject(java.lang.String oid) throws GCUBEUnrecoverableObjectNotFoundFault, GCUBERetrySameIOFault, GCUBEUnrecoverableValueNotValidFault, java.rmi.RemoteException
deleteInformationObject
in interface SMSInterface
GCUBEUnrecoverableObjectNotFoundFault
GCUBERetrySameIOFault
GCUBEUnrecoverableValueNotValidFault
java.rmi.RemoteException
public boolean deleteInformationObjectProperty(java.lang.String oid, java.lang.String propertyName) throws GCUBEUnrecoverableObjectNotFoundFault, GCUBERetrySameIOFault, GCUBEUnrecoverableValueNotValidFault, java.rmi.RemoteException
deleteInformationObjectProperty
in interface SMSInterface
GCUBEUnrecoverableObjectNotFoundFault
GCUBERetrySameIOFault
GCUBEUnrecoverableValueNotValidFault
java.rmi.RemoteException
public void setInformationObjectProperty(java.lang.String oid, CreatePropertyDescription propertyDescription) throws GCUBEUnrecoverableObjectNotFoundFault, GCUBERetrySameIOFault, GCUBEUnrecoverableValueNotValidFault, java.rmi.RemoteException
setInformationObjectProperty
in interface SMSInterface
GCUBEUnrecoverableObjectNotFoundFault
GCUBERetrySameIOFault
GCUBEUnrecoverableValueNotValidFault
java.rmi.RemoteException
public void updateInformationObjectRawContent(java.lang.String oid, java.lang.String fileLocation) throws GCUBEUnrecoverableObjectNotFoundFault, GCUBERetrySameIOFault, GCUBEUnrecoverableValueNotValidFault, java.rmi.RemoteException
updateInformationObjectRawContent
in interface SMSInterface
GCUBEUnrecoverableObjectNotFoundFault
GCUBERetrySameIOFault
GCUBEUnrecoverableValueNotValidFault
java.rmi.RemoteException
public void updateInformationObjectRawContent(java.lang.String oid, byte[] content) throws GCUBEUnrecoverableObjectNotFoundFault, GCUBERetrySameIOFault, GCUBEUnrecoverableValueNotValidFault, java.rmi.RemoteException
updateInformationObjectRawContent
in interface SMSInterface
GCUBEUnrecoverableObjectNotFoundFault
GCUBERetrySameIOFault
GCUBEUnrecoverableValueNotValidFault
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |