com.konakartadmin.app
Class AdminDigitalDownloadSearch

java.lang.Object
  extended by com.konakartadmin.app.AdminDigitalDownloadSearch

public class AdminDigitalDownloadSearch
extends java.lang.Object

AdminDigitalDownloadSearch object for the Admin App


Field Summary
private  int customerId
          customerId.
private  java.util.Date expirationDateBefore
          expirationDateBefore - if set, all records with an expiration date before the date specified will be returned
private  int id
          id - the digital download Id.
static java.lang.String ORDER_BY_CUSTOMERS_ID_ASCENDING
          ORDER_BY_CUSTOMERS_ID_ASCENDING
static java.lang.String ORDER_BY_CUSTOMERS_ID_DESCENDING
          ORDER_BY_CUSTOMERS_ID_DESCENDING
static java.lang.String ORDER_BY_EXPIRATION_DATE_ASCENDING
          ORDER_BY_EXPIRATION_DATE_ASCENDING
static java.lang.String ORDER_BY_EXPIRATION_DATE_DESCENDING
          ORDER_BY_EXPIRATION_DATE_DESCENDING
static java.lang.String ORDER_BY_ID_ASCENDING
          ORDER_BY_ID_ASCENDING
static java.lang.String ORDER_BY_ID_DESCENDING
          ORDER_BY_ID_DESCENDING
static java.lang.String ORDER_BY_PRODUCTS_ID_ASCENDING
          ORDER_BY_PRODUCTS_ID_ASCENDING
static java.lang.String ORDER_BY_PRODUCTS_ID_DESCENDING
          ORDER_BY_CUSTOMERS_ID_DESCENDING
private  java.lang.String orderBy
          orderBy.
private  int productId
          productId.
 
Constructor Summary
AdminDigitalDownloadSearch()
          Instantiates an AdminCustomerSearch object - a requirement for a bean class
AdminDigitalDownloadSearch(com.workingdogs.village.Record r, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the AdminCustomerSearch object from a Record object
 
Method Summary
 int getCustomerId()
           
 java.util.Date getExpirationDateBefore()
           
 int getId()
           
 java.lang.String getOrderBy()
           
 int getProductId()
           
 void setCustomerId(int customerId)
           
 void setExpirationDateBefore(java.util.Date expirationDateBefore)
           
 void setId(int id)
           
 void setOrderBy(java.lang.String orderBy)
           
 void setProductId(int productId)
           
 java.lang.String toString()
           
 java.lang.String toStringBrief()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ORDER_BY_ID_DESCENDING

public static final java.lang.String ORDER_BY_ID_DESCENDING
ORDER_BY_ID_DESCENDING

See Also:
Constant Field Values

ORDER_BY_ID_ASCENDING

public static final java.lang.String ORDER_BY_ID_ASCENDING
ORDER_BY_ID_ASCENDING

See Also:
Constant Field Values

ORDER_BY_CUSTOMERS_ID_DESCENDING

public static final java.lang.String ORDER_BY_CUSTOMERS_ID_DESCENDING
ORDER_BY_CUSTOMERS_ID_DESCENDING

See Also:
Constant Field Values

ORDER_BY_CUSTOMERS_ID_ASCENDING

public static final java.lang.String ORDER_BY_CUSTOMERS_ID_ASCENDING
ORDER_BY_CUSTOMERS_ID_ASCENDING

See Also:
Constant Field Values

ORDER_BY_PRODUCTS_ID_DESCENDING

public static final java.lang.String ORDER_BY_PRODUCTS_ID_DESCENDING
ORDER_BY_CUSTOMERS_ID_DESCENDING

See Also:
Constant Field Values

ORDER_BY_PRODUCTS_ID_ASCENDING

public static final java.lang.String ORDER_BY_PRODUCTS_ID_ASCENDING
ORDER_BY_PRODUCTS_ID_ASCENDING

See Also:
Constant Field Values

ORDER_BY_EXPIRATION_DATE_DESCENDING

public static final java.lang.String ORDER_BY_EXPIRATION_DATE_DESCENDING
ORDER_BY_EXPIRATION_DATE_DESCENDING

See Also:
Constant Field Values

ORDER_BY_EXPIRATION_DATE_ASCENDING

public static final java.lang.String ORDER_BY_EXPIRATION_DATE_ASCENDING
ORDER_BY_EXPIRATION_DATE_ASCENDING

See Also:
Constant Field Values

id

private int id
id - the digital download Id. Set this to KonakartAdminConstants.NOT_SET if you do not want to search by digital download Id.


expirationDateBefore

private java.util.Date expirationDateBefore
expirationDateBefore - if set, all records with an expiration date before the date specified will be returned


productId

private int productId
productId. Set this to KonakartAdminConstants.NOT_SET if you do not want to search by productId


customerId

private int customerId
customerId. Set this to KonakartAdminConstants.NOT_SET if you do not want to search by customerId


orderBy

private java.lang.String orderBy
orderBy. Set this to one of:
Constructor Detail

AdminDigitalDownloadSearch

public AdminDigitalDownloadSearch()
Instantiates an AdminCustomerSearch object - a requirement for a bean class


AdminDigitalDownloadSearch

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

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
Returns a string containing the attributes of the CustomerSearch object.

toStringBrief

public java.lang.String toStringBrief()
Returns:
Returns a string containing the attributes of the Customer object.

getId

public int getId()
Returns:
Returns the id.

setId

public void setId(int id)
Parameters:
id - The id to set.

getOrderBy

public java.lang.String getOrderBy()
Returns:
Returns the orderBy.

setOrderBy

public void setOrderBy(java.lang.String orderBy)
Parameters:
orderBy - The orderBy to set.

getExpirationDateBefore

public java.util.Date getExpirationDateBefore()
Returns:
the expirationDateBefore

setExpirationDateBefore

public void setExpirationDateBefore(java.util.Date expirationDateBefore)
Parameters:
expirationDateBefore - the expirationDateBefore to set

getProductId

public int getProductId()
Returns:
the productId

setProductId

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

getCustomerId

public int getCustomerId()
Returns:
the customerId

setCustomerId

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


Copyright © 2011 DS Data Systems UK Ltd.