Class DigitalAsset
java.lang.Object
com.orchestranetworks.addon.dama.ext.bean.DigitalAsset
- All Implemented Interfaces:
com.orchestranetworks.addon.common.schema.media.CommonDigitalAsset
public final class DigitalAsset
extends Object
implements com.orchestranetworks.addon.common.schema.media.CommonDigitalAsset
Defines the digital asset.
- Since:
- 1.6.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet asset IDReturns the digital asset's creation date.Returns the digital asset's current version.com.onwbp.base.text.UserMessage
Returns the digital asset's description.Returns the digital asset's extension.Returns the digital asset external Id.Gets the file size.getKey()
Returns the digital asset key.com.onwbp.base.text.UserMessage
getLabel()
Returns the digital asset's label.Returns the digital asset's last updated date.Get MD5 Hash of the physical asset fileReturns the digital asset's metadata.Returns the digital asset's physical name.getSize()
Returns the image size.getState()
Returns the digital asset's state.getTags()
Gets the tags.getType()
Returns the digital asset's type.getURL()
Returns the digital asset's URL.Returns the digital asset's versions.boolean
Return whether asset is belonged to current user.void
setCurrentVersion
(DigitalAssetVersion version) Specifies the digital asset's current version.void
setDescription
(com.onwbp.base.text.UserMessage description) Specifies the digital asset's description.void
setDigitalAssetOfCurrentUser
(boolean digitalAssetOfCurrentUser) void
setFileSize
(BigDecimal fileSize) Sets the file size.void
setFolderId
(String folderId) void
setLabel
(com.onwbp.base.text.UserMessage label) Specifies the digital asset's label.void
setMd5CheckSumOfFile
(String md5CheckSumOfFile) Set MD5 Hash of the physical asset filevoid
setMetaData
(List<MetaData> metadata) Sets the metadata.void
Specifies the image size.void
setState
(DigitalAssetState state) Specifies the digital asset's state.
-
Constructor Details
-
DigitalAsset
public DigitalAsset()
-
-
Method Details
-
getURL
Returns the digital asset's URL.- Specified by:
getURL
in interfacecom.orchestranetworks.addon.common.schema.media.CommonDigitalAsset
-
setLabel
public void setLabel(com.onwbp.base.text.UserMessage label) Specifies the digital asset's label. -
setDescription
public void setDescription(com.onwbp.base.text.UserMessage description) Specifies the digital asset's description. -
setState
Specifies the digital asset's state. -
setCurrentVersion
Specifies the digital asset's current version. -
getKey
Returns the digital asset key. -
getPhysicalName
Returns the digital asset's physical name. -
getExternalID
Returns the digital asset external Id. -
getLabel
public com.onwbp.base.text.UserMessage getLabel()Returns the digital asset's label. -
getDescription
public com.onwbp.base.text.UserMessage getDescription()Returns the digital asset's description. -
getCreationDate
Returns the digital asset's creation date. -
getLastUpdatedDate
Returns the digital asset's last updated date. -
getVersions
Returns the digital asset's versions. -
getMetaData
Returns the digital asset's metadata. -
getExtension
Returns the digital asset's extension. -
getType
Returns the digital asset's type. -
getCurrentVersion
Returns the digital asset's current version. -
getState
Returns the digital asset's state. -
setMetaData
Sets the metadata. -
setFileSize
Sets the file size. -
getFileSize
Gets the file size. -
getMd5CheckSumOfFile
Get MD5 Hash of the physical asset file -
setMd5CheckSumOfFile
Set MD5 Hash of the physical asset file -
getTags
Gets the tags. -
getAssetID
Get asset ID- Specified by:
getAssetID
in interfacecom.orchestranetworks.addon.common.schema.media.CommonDigitalAsset
-
isDigitalAssetOfCurrentUser
public boolean isDigitalAssetOfCurrentUser()Return whether asset is belonged to current user. -
setDigitalAssetOfCurrentUser
public void setDigitalAssetOfCurrentUser(boolean digitalAssetOfCurrentUser) -
setFolderId
-
getFolderId
-
getSize
Returns the image size.- Since:
- 6.2.0
-
setSize
Specifies the image size.
-