Class RemoteDigitalAssetVersionSpec
java.lang.Object
com.orchestranetworks.addon.dama.ext.bean.RemoteDigitalAssetVersionSpec
- All Implemented Interfaces:
GeneralDigitalAssetVersionSpec
public final class RemoteDigitalAssetVersionSpec
extends Object
implements GeneralDigitalAssetVersionSpec
Defines the
GeneralDigitalAssetVersionSpec
from a 3rd party asset management system.- Since:
- 1.7.0
-
Constructor Summary
ConstructorDescriptionRemoteDigitalAssetVersionSpec
(DigitalAssetKey assetKey) Instantiates the newRemoteDigitalAssetVersionSpec
. -
Method Summary
Modifier and TypeMethodDescriptionReturns the comment.Returns the digital asset version's external Id.Returns the digital asset version's file size.getKey()
Return the digital asset's key.Returns checksum of the file.Returns the digital asset version's physical name.Returns the profile author.getSize()
Returns the image size.Returns the storage date.Return the version name.boolean
Checks whether this is the current version.void
setComment
(String comment) Specifies the comment.void
setCurrentVersion
(boolean currentVersion) Specifies whether the new version of the asset is the current version.void
setExternalId
(String externalId) Specifies the digital asset version's external id.void
setFileSize
(BigDecimal fileSize) Specifies the digital asset version's file size.void
setMd5CheckSumOfFile
(String md5CheckSumOfFile) Specifies checksum of the file.void
setPhysicalName
(String physicalName) Specifies the digital asset version's physical name.void
setProfileAuthor
(String profileAuthor) Specifies the profile author.void
Specifies the image size.void
setStorageDate
(Date storageDate) Specifies the storage date.void
setVersionName
(String versionName) Specifies the version name.
-
Constructor Details
-
RemoteDigitalAssetVersionSpec
Instantiates the newRemoteDigitalAssetVersionSpec
.- Parameters:
assetKey
- the asset key to be created for the new version
-
-
Method Details
-
setExternalId
Specifies the digital asset version's external id. -
getExternalId
Returns the digital asset version's external Id. -
getPhysicalName
Returns the digital asset version's physical name. -
setPhysicalName
Specifies the digital asset version's physical name. -
getStorageDate
Returns the storage date. -
setStorageDate
Specifies the storage date. -
getProfileAuthor
Returns the profile author. -
setProfileAuthor
Specifies the profile author. -
getFileSize
Returns the digital asset version's file size. -
setFileSize
Specifies the digital asset version's file size. -
getSize
Returns the image size. -
setSize
Specifies the image size. -
getMd5CheckSumOfFile
Returns checksum of the file. -
setMd5CheckSumOfFile
Specifies checksum of the file. -
isCurrentVersion
public boolean isCurrentVersion()Checks whether this is the current version.- Specified by:
isCurrentVersion
in interfaceGeneralDigitalAssetVersionSpec
-
setCurrentVersion
public void setCurrentVersion(boolean currentVersion) Specifies whether the new version of the asset is the current version.- Specified by:
setCurrentVersion
in interfaceGeneralDigitalAssetVersionSpec
-
getVersionName
Return the version name.- Specified by:
getVersionName
in interfaceGeneralDigitalAssetVersionSpec
-
setVersionName
Specifies the version name.- Specified by:
setVersionName
in interfaceGeneralDigitalAssetVersionSpec
-
getComment
Returns the comment.- Specified by:
getComment
in interfaceGeneralDigitalAssetVersionSpec
-
setComment
Specifies the comment.- Specified by:
setComment
in interfaceGeneralDigitalAssetVersionSpec
-
getKey
Return the digital asset's key.- Specified by:
getKey
in interfaceGeneralDigitalAssetVersionSpec
-