com.elasticpath.domain.catalog
Interface DigitalAsset

All Superinterfaces:
EpDomain, Persistence, java.io.Serializable, ValueObject
All Known Implementing Classes:
DigitalAssetImpl

public interface DigitalAsset
extends ValueObject

Represents a digital asset.


Method Summary
 java.lang.String getEncryptedUidPk()
          Get the encrypted uidPk string.
 int getExpiryDays()
          Returns the expiry days.
 java.lang.String getFileName()
          Returns the file name.
 java.lang.String getFileNameWithoutPath()
          Returns the file name without the path information.
 int getMaxDownloadTimes()
          Returns the maximum download times.
 void setExpiryDays(int expiryDays)
          Sets the expiry days.
 void setFileName(java.lang.String fileName)
          Sets the file name.
 void setMaxDownloadTimes(int maxDownloadTimes)
          Sets the maximum download times.
 
Methods inherited from interface com.elasticpath.domain.Persistence
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 

Method Detail

getEncryptedUidPk

java.lang.String getEncryptedUidPk()
Get the encrypted uidPk string.

Returns:
the encrypted uidPk string

getExpiryDays

int getExpiryDays()
Returns the expiry days.

Returns:
the expiry days

getFileName

java.lang.String getFileName()
Returns the file name.

Returns:
the file name

getFileNameWithoutPath

java.lang.String getFileNameWithoutPath()
Returns the file name without the path information.

Returns:
the file name

getMaxDownloadTimes

int getMaxDownloadTimes()
Returns the maximum download times.

Returns:
the maximum download times

setExpiryDays

void setExpiryDays(int expiryDays)
Sets the expiry days.

Parameters:
expiryDays - the expiry days

setFileName

void setFileName(java.lang.String fileName)
Sets the file name.

Parameters:
fileName - the file name

setMaxDownloadTimes

void setMaxDownloadTimes(int maxDownloadTimes)
Sets the maximum download times.

Parameters:
maxDownloadTimes - the maximum download times