Uses of Class
org.gcube.contentmanagement.storagelayer.StorageLayerException

Packages that use StorageLayerException
org.gcube.contentmanagement.storagelayer   
 

Uses of StorageLayerException in org.gcube.contentmanagement.storagelayer
 

Methods in org.gcube.contentmanagement.storagelayer that throw StorageLayerException
static void StorageManager.addReference(java.lang.String sourceObjectID, java.lang.String targetObjectID, java.lang.String role, java.lang.String secondaryRole, int position, java.lang.String propagationRule)
          Adds a new reference between two information objects.
static void StorageManager.associateRawContent(java.lang.String objectID, byte[] rawContent, BasicStorageHints hints)
          Gets the file from the defined location and stores it as the raw content of a information object.
static void StorageManager.associateRawContent(java.lang.String objectID, java.lang.String fileLocation, BasicStorageHints hints)
          Gets the file from the defined location and stores it as the raw content of a information object.
static long StorageManager.countReferences(java.lang.String oid, boolean isSource, java.lang.String role, java.lang.String secondaryRole)
          Counts the references of an object
static java.lang.String StorageManager.createInfoObject(java.lang.String name, java.lang.String type, BasicStorageHints hints)
          Creates a new information object.
static void StorageManager.deleteContentLengthInformation(java.lang.String objectID)
           
static boolean StorageManager.existsInfoObject(java.lang.String oid)
          Checks, whether an information object with the given ID exists.
static boolean StorageManager.existsReference(java.lang.String sourceoid, java.lang.String targetoid, java.lang.String role, java.lang.String secondaryRole)
           
static BasicInfoObjectDescription StorageManager.getInfoObject(java.lang.String objectID, java.lang.String targetFileLocation, BasicStorageHints hints)
          Retrieves an existing information object and associated data
static boolean StorageManager.hasRawContent(java.lang.String objectID)
          Returns whether there exists raw content associated with an information object
static boolean StorageManager.hasStorageProperty(java.lang.String oid, java.lang.String name)
          Returnes whether an information object has a particular property set
static boolean StorageManager.removeInfoObject(java.lang.String objectID)
          Deletes an information object.
static boolean StorageManager.removeRawContent(java.lang.String objectID, BasicStorageHints hints)
          Removes any raw content associated with the information object
static boolean StorageManager.removeReference(java.lang.String sourceObjectID, java.lang.String targetObjectID, java.lang.String role, java.lang.String secondaryRole)
          Deletes any reference with having the given parameters.
CAUTION: This may delete also referenced information objects and cascade those deletions, depending on the propagation rules.
static java.util.List<java.lang.String> StorageManager.retrieveObjectIDsByStorageProperty(java.lang.String name, java.lang.String value)
          Retrieves all object IDs of information object for which a particular property value has been set
static java.util.Map<java.lang.String,BasicPropertyDescription> StorageManager.retrieveObjectStorageProperties(java.lang.String objectID)
          Retrieves all properties of an information object
static java.util.List<BasicReferenceDescription> StorageManager.retrieveReferences(java.lang.String sourceObjectID, java.lang.String role, java.lang.String secondaryRole)
          Retrieves all references which point from this source object to some other object.
static java.util.List<BasicReferenceDescription> StorageManager.retrieveReferencesOrderedByPosition(java.lang.String sourceObjectID, java.lang.String role, java.lang.String secondaryRole)
          Retrieves all references which point from this source object to some other object.
static java.util.List<BasicReferenceDescription> StorageManager.retrieveReferred(java.lang.String targetObjectID, java.lang.String role, java.lang.String secondaryRole)
          Retrieves all references which point to this target object.
static java.util.List<java.lang.String> StorageManager.retrieveReferredSourceOIDs(java.lang.String targetObjectID, java.lang.String role, java.lang.String secondaryRole)
          Retrieves all object OIDs of information object, which have a reference to this target object.
static java.util.List<java.lang.String> StorageManager.retrieveReferredTargetOIDs(java.lang.String sourceObjectID, java.lang.String role, java.lang.String secondaryRole)
          Retrieves all object OIDs of information object, which have a reference from this source object.
static BasicPropertyDescription StorageManager.retrieveStorageProperty(java.lang.String objectID, java.lang.String name)
          Retrieves a particular property of an information object
static void StorageManager.setStorageProperty(java.lang.String objectID, java.lang.String name, java.lang.String type, java.lang.String value)
          Sets the property of a given name for a particular information object.
static void StorageManager.unassociateAndDeleteRawContent(java.lang.String objectID, BasicStorageHints hints)
          Deletes all raw content of an information object.
static boolean StorageManager.unsetStorageProperty(java.lang.String objectID, java.lang.String name)
          Removes a property of an information object
static void StorageManager.updateContentLengthInformation(java.lang.String objectID, long newLengthInformation, boolean appended)
          Updates the information about the length of the raw content, which is stored as a storage property.
static void StorageManager.updateRawContent(java.lang.String objectID, byte[] rawContent, BasicStorageHints hints)
          Stores new raw content of a information object.
static void StorageManager.updateRawContent(java.lang.String objectID, java.lang.String fileLocation, BasicStorageHints hints)
          Gets the file from the defined location and stores it as the raw content of a information object.