DriveManager instead.public abstract class DriveManager extends Object
| Constructor and Description |
|---|
DriveManager(com.orchestranetworks.instance.Repository repository)
Deprecated.
Instantiates the new drive manager.
|
| Modifier and Type | Method and Description |
|---|---|
DigitalAsset |
create(DigitalAssetSpec digitalAssetSpec)
Deprecated.
Creates the digital asset.
|
Version |
create(DigitalAssetVersionSpec digitalAssetVersionSpec)
Deprecated.
Creates the version of the digital asset.
|
OperationExecutionStatus |
delete(DigitalAssetContext digitalAssetContext)
Deprecated.
Deletes the digital asset.
|
OperationExecutionStatus |
delete(DigitalAssetVersionContext digitalAssetVersionContext)
Deprecated.
Deletes the digital asset version.
|
DigitalAsset |
getDigitalAsset(DigitalAssetContext digitalAssetContext)
Deprecated.
Gets the digital asset information.
|
DigitalAssetMediaContent |
getDigitalAssetMediaContent(DigitalAssetKey digitalAssetKey)
Deprecated.
Returns the digital asset's media content.
|
DigitalAssetMediaContent |
getDigitalAssetMediaContent(DigitalAssetVersionKey versionKey)
Deprecated.
Returns the media content of the version.
|
abstract StorageManager |
getStorageManager(com.orchestranetworks.instance.Repository repository)
Deprecated.
Returns the storage manager.
|
List<DigitalAsset> |
lookup(Context context)
Deprecated.
Returns all digital assets in the Drive of the media field.
|
List<DigitalAsset> |
search(SearchContext searchContext)
Deprecated.
Searches for digital assets that will match the
searchContext parameter. |
OperationExecutionStatus |
update(DigitalAssetUpdateContext digitalAssetUpdateContext)
Deprecated.
Updates the digital asset.
|
public DriveManager(com.orchestranetworks.instance.Repository repository)
repository - the repository of EBX®public final DigitalAsset create(DigitalAssetSpec digitalAssetSpec) throws DAMException
digitalAssetSpec - the digital asset specification object that contains information required when creating a new digital assetDigitalAsset object that contains the new file's informationDAMException - error thrown when creation of a new file failspublic final Version create(DigitalAssetVersionSpec digitalAssetVersionSpec) throws DAMException
digitalAssetVersionSpec - the digital asset version specification that contains the needed information for a new version of a specific assetDAMException - error when creating a new version of digital assetpublic final OperationExecutionStatus delete(DigitalAssetContext digitalAssetContext) throws DAMException
digitalAssetContext - the digital asset context object that contains information to identify a digital assetDAMException - error when deleting an assetpublic final OperationExecutionStatus delete(DigitalAssetVersionContext digitalAssetVersionContext) throws DAMException
digitalAssetVersionContext - the digital asset version context object contains information to identify a versionDAMException - error when deleting a version of digital assetpublic DigitalAsset getDigitalAsset(DigitalAssetContext digitalAssetContext) throws DAMException
digitalAssetContext - the digital asset context object that contains attributes needed to get digital asset informationDAMException - error when getting a digital assetpublic DigitalAssetMediaContent getDigitalAssetMediaContent(DigitalAssetKey digitalAssetKey) throws DAMException
digitalAssetKey - the digital asset key of the specific digital assetDAMException - error when getting digital asset media content of an assetpublic DigitalAssetMediaContent getDigitalAssetMediaContent(DigitalAssetVersionKey versionKey) throws DAMException
versionKey - the version key of a specific versionDAMException - error when getting digital asset media content of version.public abstract StorageManager getStorageManager(com.orchestranetworks.instance.Repository repository)
public List<DigitalAsset> lookup(Context context) throws DAMException
context - the context for specifying media fieldDAMException - error when getting digital assetspublic List<DigitalAsset> search(SearchContext searchContext) throws DAMException
searchContext parameter.searchContext - the search context object that contains needed criteria for the searchDAMException - error when executing a search operationpublic final OperationExecutionStatus update(DigitalAssetUpdateContext digitalAssetUpdateContext) throws DAMException
digitalAssetUpdateContext - the DigitalAssetUpdateContext that contains new information for a specific assetDAMException - error when updating digital asset