com.konakartadmin.app
Class AdminDigitalDownload

java.lang.Object
  extended by com.konakartadmin.app.AdminDigitalDownload
All Implemented Interfaces:
AdminObjectIf

public class AdminDigitalDownload
extends java.lang.Object
implements AdminObjectIf

The Digital Download class contains information about which users have products to download.


Field Summary
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 Summary
AdminDigitalDownload()
          Constructor
AdminDigitalDownload(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.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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

private int id
Id


productId

private int productId
Product Id


customerId

private int customerId
Customer Id


maxDownloads

private int maxDownloads
The maximum number of times that a product can be downloaded


timesDownloaded

private int timesDownloaded
The number of times that a product has been downloaded


expirationDate

private java.util.Date expirationDate
The expiration date for the download link


lastModified

private java.util.Date lastModified
The value for the lastModified field


dateAdded

private java.util.Date dateAdded
The value for the dateAdded field


filePath

private java.lang.String filePath
filePath. Overrides the filePath defined in the product


custom1

private java.lang.String custom1
Custom fields


custom2

private java.lang.String custom2

custom3

private java.lang.String custom3
Constructor Detail

AdminDigitalDownload

public AdminDigitalDownload()
Constructor


AdminDigitalDownload

public AdminDigitalDownload(com.workingdogs.village.Record vr,
                            org.apache.torque.util.Criteria c)
                     throws com.workingdogs.village.DataSetException
Instantiates the attributes of the Promotion object from a Record object

Parameters:
vr - Record containing data
c - Criteria containing column names
Throws:
com.workingdogs.village.DataSetException
Method Detail

toString

public java.lang.String toString()
Specified by:
toString in interface AdminObjectIf
Overrides:
toString in class java.lang.Object
Returns:
Returns a string containing the attributes of the Coupon object.

getCustomerId

public int getCustomerId()
Returns:
Returns the customerId.

setCustomerId

public void setCustomerId(int customerId)
Parameters:
customerId - The customerId to set.

getMaxDownloads

public int getMaxDownloads()
Returns:
Returns the maxDownloads.

setMaxDownloads

public void setMaxDownloads(int maxDownloads)
Parameters:
maxDownloads - The maxDownloads to set.

getProductId

public int getProductId()
Returns:
Returns the productId.

setProductId

public void setProductId(int productId)
Parameters:
productId - The productId to set.

getTimesDownloaded

public int getTimesDownloaded()
Returns:
Returns the timesDownloaded.

setTimesDownloaded

public void setTimesDownloaded(int timesDownloaded)
Parameters:
timesDownloaded - The timesDownloaded to set.

getExpirationDate

public java.util.Date getExpirationDate()
Returns:
Returns the expirationDate.

setExpirationDate

public void setExpirationDate(java.util.Date expirationDate)
Parameters:
expirationDate - The expirationDate to set.

getLastModified

public java.util.Date getLastModified()
Returns:
Returns the lastModified.

setLastModified

public void setLastModified(java.util.Date lastModified)
Parameters:
lastModified - The lastModified to set.

getDateAdded

public java.util.Date getDateAdded()
Returns:
Returns the dateAdded.

setDateAdded

public void setDateAdded(java.util.Date dateAdded)
Parameters:
dateAdded - The dateAdded to set.

getId

public int getId()
Specified by:
getId in interface AdminObjectIf
Returns:
the id

setId

public void setId(int id)
Specified by:
setId in interface AdminObjectIf
Parameters:
id - the id to set

getFilePath

public java.lang.String getFilePath()
Returns:
the filePath

setFilePath

public void setFilePath(java.lang.String filePath)
Parameters:
filePath - the filePath to set

getCustom1

public java.lang.String getCustom1()
Returns:
the custom1

setCustom1

public void setCustom1(java.lang.String custom1)
Parameters:
custom1 - the custom1 to set

getCustom2

public java.lang.String getCustom2()
Returns:
the custom2

setCustom2

public void setCustom2(java.lang.String custom2)
Parameters:
custom2 - the custom2 to set

getCustom3

public java.lang.String getCustom3()
Returns:
the custom3

setCustom3

public void setCustom3(java.lang.String custom3)
Parameters:
custom3 - the custom3 to set


Copyright © 2011 DS Data Systems UK Ltd.