Class DigitalAssetVersion

java.lang.Object
com.orchestranetworks.addon.dama.ext.bean.DigitalAssetVersion

public final class DigitalAssetVersion extends Object
Defines the version of the digital asset.
Since:
1.6.0
  • Constructor Details

    • DigitalAssetVersion

      public DigitalAssetVersion()
  • Method Details

    • isCurrentVersion

      public boolean isCurrentVersion()
      Checks if is current version.
    • getFileSize

      public BigDecimal getFileSize()
    • setFileSize

      public void setFileSize(BigDecimal fileSize)
    • getVersionName

      public String getVersionName()
      Return the version name.
    • setVersionName

      public void setVersionName(String versionName)
      Specifies the version name.
    • isCandidate

      public boolean isCandidate()
      Checks if is candidate.
    • setCandidate

      public void setCandidate(boolean candidate)
    • getDataspaceName

      public List<String> getDataspaceName()
      Return the dataspace name.
    • setDataspaceName

      public void setDataspaceName(List<String> dataspaceName)
    • getModificationAction

      public com.orchestranetworks.addon.dama.models.ModificationAction getModificationAction()
      Return the ModificationAction.
    • setModificationAction

      public void setModificationAction(com.orchestranetworks.addon.dama.models.ModificationAction modificationAction)
    • getComment

      public String getComment()
      Return the comment.
    • setComment

      public void setComment(String comment)
      Specifies the comment.
    • getURL

      public String getURL(String baseURL)
      Return the digital asset's URL.
      Parameters:
      baseURL - the base URL. Ex: http://localhost:8080
    • getKey

      public DigitalAssetVersionKey getKey()
      Return the digital asset key.
    • getExternalId

      public String getExternalId()
      Return the external Id.
    • getPhysicalName

      public String getPhysicalName()
      Return the physical name.
    • getStorageDate

      public Date getStorageDate()
      Return the storage date.
    • getProfileAuthor

      public String getProfileAuthor()
      Return the user profile author.
    • getSize

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

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