public class AdminDigitalDownload
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
custom1
Custom fields
|
private java.lang.String |
custom2 |
private java.lang.String |
custom3 |
private int |
customerId
Customer Id
|
private java.util.Date |
dateAdded
The value for the dateAdded field
|
private java.util.Date |
expirationDate
The expiration date for the download link
|
private java.lang.String |
filePath
filePath.
|
private int |
id
Id
|
private java.util.Date |
lastModified
The value for the lastModified field
|
private int |
maxDownloads
The maximum number of times that a product can be downloaded
|
private int |
productId
Product Id
|
private int |
timesDownloaded
The number of times that a product has been downloaded
|
Constructor and Description |
---|
AdminDigitalDownload()
Constructor
|
AdminDigitalDownload(com.workingdogs.village.Record vr,
com.konakart.db.KKCriteria c)
Instantiates the attributes of the Promotion object from a Record object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCustom1() |
java.lang.String |
getCustom2() |
java.lang.String |
getCustom3() |
int |
getCustomerId() |
java.util.Date |
getDateAdded() |
java.util.Date |
getExpirationDate() |
java.lang.String |
getFilePath() |
int |
getId() |
java.util.Date |
getLastModified() |
int |
getMaxDownloads() |
int |
getProductId() |
int |
getTimesDownloaded() |
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.Date dateAdded) |
void |
setExpirationDate(java.util.Date expirationDate) |
void |
setFilePath(java.lang.String filePath) |
void |
setId(int id) |
void |
setLastModified(java.util.Date lastModified) |
void |
setMaxDownloads(int maxDownloads) |
void |
setProductId(int productId) |
void |
setTimesDownloaded(int timesDownloaded) |
java.lang.String |
toString() |
private int id
private int productId
private int customerId
private int maxDownloads
private int timesDownloaded
private java.util.Date expirationDate
private java.util.Date lastModified
private java.util.Date dateAdded
private java.lang.String filePath
private java.lang.String custom1
private java.lang.String custom2
private java.lang.String custom3
public AdminDigitalDownload()
public AdminDigitalDownload(com.workingdogs.village.Record vr, com.konakart.db.KKCriteria c) throws com.workingdogs.village.DataSetException
vr
- Record containing datac
- Criteria containing column namescom.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)public java.lang.String toString()
toString
in class java.lang.Object
public int getCustomerId()
public void setCustomerId(int customerId)
customerId
- The customerId to set.public int getMaxDownloads()
public void setMaxDownloads(int maxDownloads)
maxDownloads
- The maxDownloads to set.public int getProductId()
public void setProductId(int productId)
productId
- The productId to set.public int getTimesDownloaded()
public void setTimesDownloaded(int timesDownloaded)
timesDownloaded
- The timesDownloaded to set.public java.util.Date getExpirationDate()
public void setExpirationDate(java.util.Date expirationDate)
expirationDate
- The expirationDate to set.public java.util.Date getLastModified()
public void setLastModified(java.util.Date lastModified)
lastModified
- The lastModified to set.public java.util.Date getDateAdded()
public void setDateAdded(java.util.Date dateAdded)
dateAdded
- The dateAdded to set.public int getId()
public void setId(int id)
id
- the id to setpublic java.lang.String getFilePath()
public void setFilePath(java.lang.String filePath)
filePath
- the filePath to setpublic java.lang.String getCustom1()
public void setCustom1(java.lang.String custom1)
custom1
- the custom1 to setpublic java.lang.String getCustom2()
public void setCustom2(java.lang.String custom2)
custom2
- the custom2 to setpublic java.lang.String getCustom3()
public void setCustom3(java.lang.String custom3)
custom3
- the custom3 to setCopyright © 2018 DS Data Systems UK Ltd.