Class DigitalAssetVersion


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

      • DigitalAssetVersion

        public DigitalAssetVersion()
    • Method Detail

      • isCurrentVersion

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

        public java.math.BigDecimal getFileSize()
      • setFileSize

        public void setFileSize​(java.math.BigDecimal fileSize)
      • getVersionName

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

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

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

        public void setCandidate​(boolean candidate)
      • getDataspaceName

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

        public void setDataspaceName​(java.util.List<java.lang.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 java.lang.String getComment()
        Return the comment.
      • setComment

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

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

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

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

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

        public java.lang.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.