|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakart.app.DigitalDownload
public class DigitalDownload
The Digital Download class contains information about which users have products to download.
| Constructor Summary | |
|---|---|
DigitalDownload()
Constructor |
|
DigitalDownload(com.workingdogs.village.Record vr,
org.apache.torque.util.Criteria c)
Instantiates the attributes of the Promotion object from a Record object |
|
| Method Summary | |
|---|---|
java.lang.String |
getCustom1()
|
java.lang.String |
getCustom2()
|
java.lang.String |
getCustom3()
|
int |
getCustomerId()
|
java.util.Calendar |
getDateAdded()
|
java.util.Calendar |
getExpirationDate()
The date at which the download expires and the link will be removed from the UI. |
java.lang.String |
getFilePath()
The path of the file which will override the filePath defined in the product object |
int |
getId()
|
java.util.Calendar |
getLastModified()
|
int |
getMaxDownloads()
The maximum number of downloads that may be performed from a link, after which the link is removed. |
ProductIf |
getProduct()
|
int |
getProductId()
The id of the digital download product. |
int |
getTimesDownloaded()
The number of times that the product has been downloaded. |
boolean |
hasExpired()
Determine whether the digital download has expired |
void |
setCustom1(java.lang.String custom1)
|
void |
setCustom2(java.lang.String custom2)
|
void |
setCustom3(java.lang.String custom3)
|
void |
setCustomerId(int customerId)
|
void |
setDateAdded(java.util.Calendar dateAdded)
|
void |
setExpirationDate(java.util.Calendar expirationDate)
The date at which the download expires and the link will be removed from the UI. |
void |
setFilePath(java.lang.String filePath)
The path of the file which will override the filePath defined in the product object |
void |
setId(int id)
|
void |
setLastModified(java.util.Calendar lastModified)
|
void |
setMaxDownloads(int maxDownloads)
The maximum number of downloads that may be performed from a link, after which the link is removed. |
void |
setProduct(ProductIf product)
|
void |
setProductId(int productId)
The id of the digital download product. |
void |
setTimesDownloaded(int timesDownloaded)
The number of times that the product has been downloaded. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DigitalDownload()
public DigitalDownload(com.workingdogs.village.Record vr,
org.apache.torque.util.Criteria c)
throws com.workingdogs.village.DataSetException
vr - Record containing datac - Criteria containing column names
com.workingdogs.village.DataSetException| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean hasExpired()
public int getCustomerId()
getCustomerId in interface DigitalDownloadIfpublic void setCustomerId(int customerId)
setCustomerId in interface DigitalDownloadIfcustomerId - The customerId to set.public java.util.Calendar getDateAdded()
getDateAdded in interface DigitalDownloadIfpublic void setDateAdded(java.util.Calendar dateAdded)
setDateAdded in interface DigitalDownloadIfdateAdded - The dateAdded to set.public java.util.Calendar getExpirationDate()
DigitalDownloadIf
getExpirationDate in interface DigitalDownloadIfpublic void setExpirationDate(java.util.Calendar expirationDate)
DigitalDownloadIf
setExpirationDate in interface DigitalDownloadIfexpirationDate - The expirationDate to set.public java.util.Calendar getLastModified()
getLastModified in interface DigitalDownloadIfpublic void setLastModified(java.util.Calendar lastModified)
setLastModified in interface DigitalDownloadIflastModified - The lastModified to set.public int getMaxDownloads()
DigitalDownloadIf
getMaxDownloads in interface DigitalDownloadIfpublic void setMaxDownloads(int maxDownloads)
DigitalDownloadIf
setMaxDownloads in interface DigitalDownloadIfmaxDownloads - The maxDownloads to set.public int getProductId()
DigitalDownloadIf
getProductId in interface DigitalDownloadIfpublic void setProductId(int productId)
DigitalDownloadIf
setProductId in interface DigitalDownloadIfproductId - The productId to set.public int getTimesDownloaded()
DigitalDownloadIf
getTimesDownloaded in interface DigitalDownloadIfpublic void setTimesDownloaded(int timesDownloaded)
DigitalDownloadIf
setTimesDownloaded in interface DigitalDownloadIftimesDownloaded - The timesDownloaded to set.public ProductIf getProduct()
getProduct in interface DigitalDownloadIfpublic void setProduct(ProductIf product)
setProduct in interface DigitalDownloadIfproduct - The product to set.public java.lang.String getFilePath()
DigitalDownloadIf
getFilePath in interface DigitalDownloadIfpublic void setFilePath(java.lang.String filePath)
DigitalDownloadIf
setFilePath in interface DigitalDownloadIffilePath - the filePath to setpublic int getId()
getId in interface DigitalDownloadIfpublic void setId(int id)
setId in interface DigitalDownloadIfid - the id to setpublic java.lang.String getCustom1()
getCustom1 in interface DigitalDownloadIfpublic void setCustom1(java.lang.String custom1)
setCustom1 in interface DigitalDownloadIfcustom1 - the custom1 to setpublic java.lang.String getCustom2()
getCustom2 in interface DigitalDownloadIfpublic void setCustom2(java.lang.String custom2)
setCustom2 in interface DigitalDownloadIfcustom2 - the custom2 to setpublic java.lang.String getCustom3()
getCustom3 in interface DigitalDownloadIfpublic void setCustom3(java.lang.String custom3)
setCustom3 in interface DigitalDownloadIfcustom3 - the custom3 to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||