Class DigitalAssetVersion
- java.lang.Object
-
- com.orchestranetworks.addon.dama.ext.bean.DigitalAssetVersion
-
public final class DigitalAssetVersion extends java.lang.Object
Defines the version of the digital asset.- Since:
- 1.6.0
-
-
Constructor Summary
Constructors Constructor Description DigitalAssetVersion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getComment()
Return the comment.java.util.List<java.lang.String>
getDataspaceName()
Return the dataspace name.java.lang.String
getExternalId()
Return the external Id.java.math.BigDecimal
getFileSize()
DigitalAssetVersionKey
getKey()
Return the digital asset key.com.orchestranetworks.addon.dama.models.ModificationAction
getModificationAction()
Return the ModificationAction.java.lang.String
getPhysicalName()
Return the physical name.java.lang.String
getProfileAuthor()
Return the user profile author.Size
getSize()
Returns the image size.java.util.Date
getStorageDate()
Return the storage date.java.lang.String
getURL(java.lang.String baseURL)
Return the digital asset's URL.java.lang.String
getVersionName()
Return the version name.boolean
isCandidate()
Checks if is candidate.boolean
isCurrentVersion()
Checks if is current version.void
setCandidate(boolean candidate)
void
setComment(java.lang.String comment)
Specifies the comment.void
setDataspaceName(java.util.List<java.lang.String> dataspaceName)
void
setFileSize(java.math.BigDecimal fileSize)
void
setModificationAction(com.orchestranetworks.addon.dama.models.ModificationAction modificationAction)
void
setSize(Size size)
Specifies the image size.void
setVersionName(java.lang.String versionName)
Specifies the version name.
-
-
-
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
-
getKey
public DigitalAssetVersionKey getKey()
Return the digital asset key.
-
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.
-
-