com.konakart.appif
Interface DigitalDownloadIf


public interface DigitalDownloadIf

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


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

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.


Copyright © 2006 DS Data Systems UK Ltd.