com.konakart.appif
Interface DigitalDownloadIf

All Known Implementing Classes:
DigitalDownload

public interface DigitalDownloadIf

The Digital Download class contains information about which customers are enabled to download products.


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.
 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.
 

Method Detail

getId

int getId()
Returns:
the id

setId

void setId(int id)
Parameters:
id - the id to set

getCustomerId

int getCustomerId()
Returns:
Returns the customerId.

setCustomerId

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

getDateAdded

java.util.Calendar getDateAdded()
Returns:
Returns the dateAdded.

setDateAdded

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

getExpirationDate

java.util.Calendar getExpirationDate()
The date at which the download expires and the link will be removed from the UI.

Returns:
Returns the expirationDate.

setExpirationDate

void setExpirationDate(java.util.Calendar expirationDate)
The date at which the download expires and the link will be removed from the UI.

Parameters:
expirationDate - The expirationDate to set.

getLastModified

java.util.Calendar getLastModified()
Returns:
Returns the lastModified.

setLastModified

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

getMaxDownloads

int getMaxDownloads()
The maximum number of downloads that may be performed from a link, after which the link is removed.

Returns:
Returns the maxDownloads.

setMaxDownloads

void setMaxDownloads(int maxDownloads)
The maximum number of downloads that may be performed from a link, after which the link is removed.

Parameters:
maxDownloads - The maxDownloads to set.

getProductId

int getProductId()
The id of the digital download product.

Returns:
Returns the productId.

setProductId

void setProductId(int productId)
The id of the digital download product.

Parameters:
productId - The productId to set.

getTimesDownloaded

int getTimesDownloaded()
The number of times that the product has been downloaded.

Returns:
Returns the timesDownloaded.

setTimesDownloaded

void setTimesDownloaded(int timesDownloaded)
The number of times that the product has been downloaded.

Parameters:
timesDownloaded - The timesDownloaded to set.

getProduct

ProductIf getProduct()
Returns:
Returns the product.

setProduct

void setProduct(ProductIf product)
Parameters:
product - The product to set.

getFilePath

java.lang.String getFilePath()
The path of the file which will override the filePath defined in the product object

Returns:
the filePath

setFilePath

void setFilePath(java.lang.String filePath)
The path of the file which will override the filePath defined in the product object

Parameters:
filePath - the filePath to set

getCustom1

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

setCustom1

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

getCustom2

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

setCustom2

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

getCustom3

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

setCustom3

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


Copyright © 2011 DS Data Systems UK Ltd.