ZMObject
|
+--ZMDownload
public class ZMDownload
extends ZMObject
| Fields inherited from org.zenmagick.ZMObject | |
|---|---|
| properties_ | |
| Constructor Summary | |
|---|---|
Create new total. |
|
| Method Summary | |
|---|---|
| int | Get the download count. |
| long | Get the download filesize. |
| string | Get the file name. |
| int | getId() Get the download id. |
| int | Get the max number of days the download is available. |
| date | Get the order date. |
| int | Get the order id. |
| int | Get the order item id. |
| string | Get the product id. |
| int | Get the status of the corresponding order. |
| boolean | Check if downloadable. |
| boolean | Check if this download is limited. |
| void | setDownloadCount(int downloadCount) Set the download count. |
| void | setFilename(string filename) Set the filename. |
| void | setId(int id) Set the download id. |
| void | setMaxDays(int maxDays) Set the max number of days the download is available. |
| void | setOrderDate(date date) Set the order date. |
| void | setOrderId(int orderId) Set the order id. |
| void | setOrderProductId(int orderItemId) Set the order item id. |
| void | setProductId(string productId) Set the product id. |
| void | setStatus(int status) Set the status of the corresponding order. |
| Methods inherited from org.zenmagick.ZMObject | |
|---|---|
| attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton | |
public ZMDownload()
Create new total. /
public int getDownloadCount()
Get the download count.
public long getFileSize()
Get the download filesize.
public string getFilename()
Get the file name.
public int getId()
Get the download id.
public int getMaxDays()
Get the max number of days the download is available.
public date getOrderDate()
Get the order date.
public int getOrderId()
Get the order id.
public int getOrderItemId()
Get the order item id.
public string getProductId()
Get the product id.
public int getStatus()
Get the status of the corresponding order.
public boolean isDownloadable()
Check if downloadable.
true if this download is (still) available for download.public boolean isLimited()
Check if this download is limited.
true if this download is limited by date/count.public void setDownloadCount(int downloadCount)
Set the download count.
public void setFilename(string filename)
Set the filename.
public void setId(int id)
Set the download id.
public void setMaxDays(int maxDays)
Set the max number of days the download is available.
public void setOrderDate(date date)
Set the order date.
public void setOrderId(int orderId)
Set the order id.
public void setOrderProductId(int orderItemId)
Set the order item id.
public void setProductId(string productId)
Set the product id.
public void setStatus(int status)
Set the status of the corresponding order.
A single download.