|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.elasticpath.domain.impl.AbstractEpDomainImpl com.elasticpath.domain.impl.AbstractPersistenceImpl com.elasticpath.domain.impl.AbstractValueObjectImpl com.elasticpath.domain.catalog.impl.DigitalAssetImpl
public class DigitalAssetImpl
This is a default implementation of DigitalAsset
.
Field Summary | |
---|---|
static long |
serialVersionUID
Serial version id. |
Constructor Summary | |
---|---|
DigitalAssetImpl()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Returns true if this object equals to the given object. |
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. |
int |
hashCode()
Generate the hash code. |
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 class com.elasticpath.domain.impl.AbstractPersistenceImpl |
---|
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk |
Methods inherited from class com.elasticpath.domain.impl.AbstractEpDomainImpl |
---|
getElasticPath, setElasticPath |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.elasticpath.domain.Persistence |
---|
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk |
Methods inherited from interface com.elasticpath.domain.EpDomain |
---|
getElasticPath, setElasticPath |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public DigitalAssetImpl()
Method Detail |
---|
public boolean equals(java.lang.Object obj)
true
if this object equals to the given object.
equals
in class java.lang.Object
obj
- the given object
true
if this object equals to the given objectpublic java.lang.String getEncryptedUidPk()
getEncryptedUidPk
in interface DigitalAsset
public int getExpiryDays()
getExpiryDays
in interface DigitalAsset
public java.lang.String getFileName()
getFileName
in interface DigitalAsset
public java.lang.String getFileNameWithoutPath()
getFileNameWithoutPath
in interface DigitalAsset
public int getMaxDownloadTimes()
getMaxDownloadTimes
in interface DigitalAsset
public int hashCode()
hashCode
in class java.lang.Object
public void setExpiryDays(int expiryDays)
setExpiryDays
in interface DigitalAsset
expiryDays
- the expiry dayspublic void setFileName(java.lang.String fileName)
setFileName
in interface DigitalAsset
fileName
- the file namepublic void setMaxDownloadTimes(int maxDownloadTimes)
setMaxDownloadTimes
in interface DigitalAsset
maxDownloadTimes
- the maximum download times
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |