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 Details

    • RemoteDigitalAssetVersionSpec

      public RemoteDigitalAssetVersionSpec(DigitalAssetKey assetKey)
      Instantiates the new RemoteDigitalAssetVersionSpec.
      Parameters:
      assetKey - the asset key to be created for the new version
  • Method Details

    • setExternalId

      public void setExternalId(String externalId)
      Specifies the digital asset version's external id.
    • getExternalId

      public String getExternalId()
      Returns the digital asset version's external Id.
    • getPhysicalName

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

      public void setPhysicalName(String physicalName)
      Specifies the digital asset version's physical name.
    • getStorageDate

      public Date getStorageDate()
      Returns the storage date.
    • setStorageDate

      public void setStorageDate(Date storageDate)
      Specifies the storage date.
    • getProfileAuthor

      public String getProfileAuthor()
      Returns the profile author.
    • setProfileAuthor

      public void setProfileAuthor(String profileAuthor)
      Specifies the profile author.
    • getFileSize

      public BigDecimal getFileSize()
      Returns the digital asset version's file size.
    • setFileSize

      public void setFileSize(BigDecimal fileSize)
      Specifies the digital asset version's file size.
    • getSize

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

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

      public String getMd5CheckSumOfFile()
      Returns checksum of the file.
    • setMd5CheckSumOfFile

      public void setMd5CheckSumOfFile(String md5CheckSumOfFile)
      Specifies checksum of the file.
    • isCurrentVersion

      public boolean isCurrentVersion()
      Checks whether this is the current version.
      Specified by:
      isCurrentVersion in interface GeneralDigitalAssetVersionSpec
    • setCurrentVersion

      public void setCurrentVersion(boolean currentVersion)
      Specifies whether the new version of the asset is the current version.
      Specified by:
      setCurrentVersion in interface GeneralDigitalAssetVersionSpec
    • getVersionName

      public String getVersionName()
      Return the version name.
      Specified by:
      getVersionName in interface GeneralDigitalAssetVersionSpec
    • setVersionName

      public void setVersionName(String versionName)
      Specifies the version name.
      Specified by:
      setVersionName in interface GeneralDigitalAssetVersionSpec
    • getComment

      public String getComment()
      Returns the comment.
      Specified by:
      getComment in interface GeneralDigitalAssetVersionSpec
    • setComment

      public void setComment(String comment)
      Specifies the comment.
      Specified by:
      setComment in interface GeneralDigitalAssetVersionSpec
    • getKey

      public DigitalAssetKey getKey()
      Return the digital asset's key.
      Specified by:
      getKey in interface GeneralDigitalAssetVersionSpec