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 Details

    • DigitalAsset

      public DigitalAsset()
  • Method Details

    • getURL

      public String getURL()
      Returns the digital asset's URL.
      Specified by:
      getURL in interface com.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

      public void setState(DigitalAssetState state)
      Specifies the digital asset's state.
    • setCurrentVersion

      public void setCurrentVersion(DigitalAssetVersion version)
      Specifies the digital asset's current version.
    • getKey

      public DigitalAssetKey getKey()
      Returns the digital asset key.
    • getPhysicalName

      public String getPhysicalName()
      Returns the digital asset's physical name.
    • getExternalID

      public String 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

      public Date getCreationDate()
      Returns the digital asset's creation date.
    • getLastUpdatedDate

      public Date getLastUpdatedDate()
      Returns the digital asset's last updated date.
    • getVersions

      public List<DigitalAssetVersion> getVersions()
      Returns the digital asset's versions.
    • getMetaData

      public List<MetaData> getMetaData()
      Returns the digital asset's metadata.
    • getExtension

      public String getExtension()
      Returns the digital asset's extension.
    • getType

      public String getType()
      Returns the digital asset's type.
    • getCurrentVersion

      public DigitalAssetVersion getCurrentVersion()
      Returns the digital asset's current version.
    • getState

      public DigitalAssetState getState()
      Returns the digital asset's state.
    • setMetaData

      public void setMetaData(List<MetaData> metadata)
      Sets the metadata.
    • setFileSize

      public void setFileSize(BigDecimal fileSize)
      Sets the file size.
    • getFileSize

      public BigDecimal getFileSize()
      Gets the file size.
    • getMd5CheckSumOfFile

      public String getMd5CheckSumOfFile()
      Get MD5 Hash of the physical asset file
    • setMd5CheckSumOfFile

      public void setMd5CheckSumOfFile(String md5CheckSumOfFile)
      Set MD5 Hash of the physical asset file
    • getTags

      public List<Tag> getTags()
      Gets the tags.
    • getAssetID

      public String getAssetID()
      Get asset ID
      Specified by:
      getAssetID in interface com.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

      public void setFolderId(String folderId)
    • getFolderId

      public String getFolderId()
    • getSize

      public Size getSize()
      Returns the image size.
      Since:
      6.2.0
    • setSize

      public void setSize(Size size)
      Specifies the image size.