com.konakartadmin.app
Class AdminOrderSearch

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

public class AdminOrderSearch
extends java.lang.Object

AdminOrderSearch object for the Admin App. All attributes are used as constraints unless set to null. In the case of integer values, they are used if set to zero or above. Negative values are ignored.


Field Summary
private  java.lang.String affiliateId
          Identifier of the affiliate partner
private  int affiliateIdRule
          affiliateIdRule
private  java.lang.String creator
          Identifier of the administrator who created the order creator
private  int creatorRule
          creatorRule
private  java.lang.String custom1
          Custom fields.
private  int custom1Rule
           
private  java.lang.String custom2
           
private  int custom2Rule
           
private  java.lang.String custom3
           
private  int custom3Rule
           
private  java.lang.String custom4
           
private  int custom4Rule
           
private  java.lang.String custom5
           
private  int custom5Rule
           
private  java.lang.String customerCity
          customer City
private  int customerCityRule
          customer City rule
private  java.lang.String customerEmail
          customer Email Address
private  int customerEmailRule
          customer Email Address rule
private  int customerId
          customer Id
private  java.lang.String customerName
          customer Name
private  int customerNameRule
          customer Name Rule
private  java.lang.String customerPostcode
          customer Postcode
private  int customerPostcodeRule
          customer Postcode rule
private  java.util.Calendar dateAddedFrom
          The date that the order was created and added to the database.
private  java.util.Calendar dateAddedTo
          The date that the order was created and added to the database.
private  java.util.Calendar dateFinishedFrom
          The date that the order was finished.
private  java.util.Calendar dateFinishedTo
          The date that the order was finished.
private  java.lang.String orderBy
          order By Use the following constants to set this: AdminDataDescriptor.ORDER_BY_CUSTOMERS_NAME_ASCENDING AdminDataDescriptor.ORDER_BY_CUSTOMERS_NAME_DESCENDING AdminDataDescriptor.ORDER_BY_ORDER_ID_ASCENDING AdminDataDescriptor.ORDER_BY_ORDER_ID_DESCENDING AdminDataDescriptor.ORDER_BY_DATE_PURCHASED_ASCENDING AdminDataDescriptor.ORDER_BY_DATE_PURCHASED_DESCENDING AdminDataDescriptor.ORDER_BY_ORDER_TOTAL_ASCENDING AdminDataDescriptor.ORDER_BY_ORDER_TOTAL_DESCENDING AdminDataDescriptor.ORDER_BY_ORDER_STATUS_ASCENDING AdminDataDescriptor.ORDER_BY_ORDER_STATUS_DESCENDING AdminDataDescriptor.ORDER_BY_ORDER_NUMBER_ASCENDING AdminDataDescriptor.ORDER_BY_ORDER_NUMBER_DESCENDING AdminDataDescriptor.ORDER_BY_CREATOR_ASCENDING AdminDataDescriptor.ORDER_BY_CREATOR_DESCENDING AdminDataDescriptor.ORDER_BY_AFFILIATE_ID_ASCENDING AdminDataDescriptor.ORDER_BY_AFFILIATE_ID_DESCENDING Default is null
private  int orderId
          order Id
private  java.lang.String orderNumber
          order Number
private  int orderNumberRule
          order Number Rule
private  int orderStatusId
          order Status Id
private  java.util.Date purchaseDate
          Deprecated.  
 
Constructor Summary
AdminOrderSearch()
          Instantiates an AdminOrderSearch object - a requirement for a bean class
AdminOrderSearch(com.workingdogs.village.Record r, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the AdminOrderSearch object from a Record object
 
Method Summary
 java.lang.String getAffiliateId()
          Identifier of the affiliate partner
 int getAffiliateIdRule()
          The rule for the search.
 java.lang.String getCreator()
          Identifier of the administrator who created the order
 int getCreatorRule()
          The rule for the search.
 java.lang.String getCustom1()
           
 int getCustom1Rule()
          The rule for the search.
 java.lang.String getCustom2()
           
 int getCustom2Rule()
          The rule for the search.
 java.lang.String getCustom3()
           
 int getCustom3Rule()
          The rule for the search.
 java.lang.String getCustom4()
           
 int getCustom4Rule()
          The rule for the search.
 java.lang.String getCustom5()
           
 int getCustom5Rule()
          The rule for the search.
 java.lang.String getCustomerCity()
           
 int getCustomerCityRule()
          The rule for the search.
 java.lang.String getCustomerEmail()
           
 int getCustomerEmailRule()
          The rule for the search.
 int getCustomerId()
           
 java.lang.String getCustomerName()
           
 int getCustomerNameRule()
          The rule for the search.
 java.lang.String getCustomerPostcode()
           
 int getCustomerPostcodeRule()
          The rule for the search.
 java.util.Calendar getDateAddedFrom()
          The date that the order was created and added to the database.
 java.util.Calendar getDateAddedTo()
          The date that the order was created and added to the database.
 java.util.Calendar getDateFinishedFrom()
          The date that the order was finished.
 java.util.Calendar getDateFinishedTo()
          The date that the order was finished.
 java.lang.String getOrderBy()
           
 int getOrderId()
           
 java.lang.String getOrderNumber()
           
 int getOrderNumberRule()
          The rule for the search.
 int getOrderStatusId()
           
 java.util.Date getPurchaseDate()
           
 void setAffiliateId(java.lang.String affiliateId)
          Identifier of the affiliate partner
 void setAffiliateIdRule(int affiliateIdRule)
          The rule for the search.
 void setCreator(java.lang.String creator)
          Identifier of the administrator who created the order
 void setCreatorRule(int creatorRule)
          The rule for the search.
 void setCustom1(java.lang.String custom1)
           
 void setCustom1Rule(int custom1Rule)
          The rule for the search.
 void setCustom2(java.lang.String custom2)
           
 void setCustom2Rule(int custom2Rule)
          The rule for the search.
 void setCustom3(java.lang.String custom3)
           
 void setCustom3Rule(int custom3Rule)
          The rule for the search.
 void setCustom4(java.lang.String custom4)
           
 void setCustom4Rule(int custom4Rule)
          The rule for the search.
 void setCustom5(java.lang.String custom5)
           
 void setCustom5Rule(int custom5Rule)
          The rule for the search.
 void setCustomerCity(java.lang.String customerCity)
           
 void setCustomerCityRule(int customerCityRule)
          The rule for the search.
 void setCustomerEmail(java.lang.String customerEmail)
           
 void setCustomerEmailRule(int customerEmailRule)
          The rule for the search.
 void setCustomerId(int customerId)
           
 void setCustomerName(java.lang.String customerName)
           
 void setCustomerNameRule(int customerNameRule)
          The rule for the search.
 void setCustomerPostcode(java.lang.String customerPostcode)
           
 void setCustomerPostcodeRule(int customerPostcodeRule)
          The rule for the search.
 void setDateAddedFrom(java.util.Calendar dateAddedFrom)
          The date that the order was created and added to the database.
 void setDateAddedTo(java.util.Calendar dateAddedTo)
          The date that the order was created and added to the database.
 void setDateFinishedFrom(java.util.Calendar dateFinishedFrom)
          The date that the order was finished.
 void setDateFinishedTo(java.util.Calendar dateFinishedTo)
          The date that the order was finished.
 void setOrderBy(java.lang.String orderBy)
           
 void setOrderId(int orderId)
           
 void setOrderNumber(java.lang.String orderNumber)
           
 void setOrderNumberRule(int orderNumberRule)
          The rule for the search.
 void setOrderStatusId(int orderStatusId)
           
 void setPurchaseDate(java.util.Date purchaseDate)
           
 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

orderStatusId

private int orderStatusId
order Status Id


customerName

private java.lang.String customerName
customer Name


customerNameRule

private int customerNameRule
customer Name Rule


customerEmail

private java.lang.String customerEmail
customer Email Address


customerEmailRule

private int customerEmailRule
customer Email Address rule


customerPostcode

private java.lang.String customerPostcode
customer Postcode


customerPostcodeRule

private int customerPostcodeRule
customer Postcode rule


customerCity

private java.lang.String customerCity
customer City


customerCityRule

private int customerCityRule
customer City rule


customerId

private int customerId
customer Id


purchaseDate

@Deprecated
private java.util.Date purchaseDate
Deprecated. 
purchase Date Use dateAddedFrom and dateAddedTo


orderId

private int orderId
order Id


orderNumber

private java.lang.String orderNumber
order Number


orderNumberRule

private int orderNumberRule
order Number Rule


creator

private java.lang.String creator
Identifier of the administrator who created the order creator


creatorRule

private int creatorRule
creatorRule


affiliateId

private java.lang.String affiliateId
Identifier of the affiliate partner


affiliateIdRule

private int affiliateIdRule
affiliateIdRule


orderBy

private java.lang.String orderBy
order By Use the following constants to set this: AdminDataDescriptor.ORDER_BY_CUSTOMERS_NAME_ASCENDING AdminDataDescriptor.ORDER_BY_CUSTOMERS_NAME_DESCENDING AdminDataDescriptor.ORDER_BY_ORDER_ID_ASCENDING AdminDataDescriptor.ORDER_BY_ORDER_ID_DESCENDING AdminDataDescriptor.ORDER_BY_DATE_PURCHASED_ASCENDING AdminDataDescriptor.ORDER_BY_DATE_PURCHASED_DESCENDING AdminDataDescriptor.ORDER_BY_ORDER_TOTAL_ASCENDING AdminDataDescriptor.ORDER_BY_ORDER_TOTAL_DESCENDING AdminDataDescriptor.ORDER_BY_ORDER_STATUS_ASCENDING AdminDataDescriptor.ORDER_BY_ORDER_STATUS_DESCENDING AdminDataDescriptor.ORDER_BY_ORDER_NUMBER_ASCENDING AdminDataDescriptor.ORDER_BY_ORDER_NUMBER_DESCENDING AdminDataDescriptor.ORDER_BY_CREATOR_ASCENDING AdminDataDescriptor.ORDER_BY_CREATOR_DESCENDING AdminDataDescriptor.ORDER_BY_AFFILIATE_ID_ASCENDING AdminDataDescriptor.ORDER_BY_AFFILIATE_ID_DESCENDING Default is null


dateAddedFrom

private java.util.Calendar dateAddedFrom
The date that the order was created and added to the database. dateAddedFrom


dateAddedTo

private java.util.Calendar dateAddedTo
The date that the order was created and added to the database. dateAddedTo


dateFinishedFrom

private java.util.Calendar dateFinishedFrom
The date that the order was finished. The finished date can be set by editing the order. dateFinishedFrom


dateFinishedTo

private java.util.Calendar dateFinishedTo
The date that the order was finished. The finished date can be set by editing the order. dateFinishedTo


custom1

private java.lang.String custom1
Custom fields. If not null, they are used as constraints.


custom1Rule

private int custom1Rule

custom2

private java.lang.String custom2

custom2Rule

private int custom2Rule

custom3

private java.lang.String custom3

custom3Rule

private int custom3Rule

custom4

private java.lang.String custom4

custom4Rule

private int custom4Rule

custom5

private java.lang.String custom5

custom5Rule

private int custom5Rule
Constructor Detail

AdminOrderSearch

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


AdminOrderSearch

public AdminOrderSearch(com.workingdogs.village.Record r,
                        org.apache.torque.util.Criteria c)
                 throws com.workingdogs.village.DataSetException
Instantiates the attributes of the AdminOrderSearch 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.

getOrderStatusId

public int getOrderStatusId()
Returns:
Returns the orderStatusId.

setOrderStatusId

public void setOrderStatusId(int orderStatusId)
Parameters:
orderStatusId - The orderStatusId to set.

getCustomerName

public java.lang.String getCustomerName()
Returns:
customer name

setCustomerName

public void setCustomerName(java.lang.String customerName)
Parameters:
customerName -

getOrderId

public int getOrderId()
Returns:
order Id

setOrderId

public void setOrderId(int orderId)
Parameters:
orderId -

getPurchaseDate

public java.util.Date getPurchaseDate()
Returns:
purchase date

setPurchaseDate

public void setPurchaseDate(java.util.Date purchaseDate)
Parameters:
purchaseDate -

getOrderBy

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

setOrderBy

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

getCustomerId

public int getCustomerId()
Returns:
Returns the customerId.

setCustomerId

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

getDateAddedFrom

public java.util.Calendar getDateAddedFrom()
The date that the order was created and added to the database.

Returns:
Returns the dateAddedFrom.

setDateAddedFrom

public void setDateAddedFrom(java.util.Calendar dateAddedFrom)
The date that the order was created and added to the database.

Parameters:
dateAddedFrom - The dateAddedFrom to set.

getDateAddedTo

public java.util.Calendar getDateAddedTo()
The date that the order was created and added to the database.

Returns:
Returns the dateAddedTo.

setDateAddedTo

public void setDateAddedTo(java.util.Calendar dateAddedTo)
The date that the order was created and added to the database.

Parameters:
dateAddedTo - The dateAddedTo to set.

getCustom1

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

setCustom1

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

getCustom2

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

setCustom2

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

getCustom3

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

setCustom3

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

getCustom4

public java.lang.String getCustom4()
Returns:
Returns the custom4.

setCustom4

public void setCustom4(java.lang.String custom4)
Parameters:
custom4 - The custom4 to set.

getCustom5

public java.lang.String getCustom5()
Returns:
Returns the custom5.

setCustom5

public void setCustom5(java.lang.String custom5)
Parameters:
custom5 - The custom5 to set.

getDateFinishedFrom

public java.util.Calendar getDateFinishedFrom()
The date that the order was finished. The finished date can be set by editing the order.

Returns:
Returns the dateFinishedFrom.

setDateFinishedFrom

public void setDateFinishedFrom(java.util.Calendar dateFinishedFrom)
The date that the order was finished. The finished date can be set by editing the order.

Parameters:
dateFinishedFrom - The dateFinishedFrom to set.

getDateFinishedTo

public java.util.Calendar getDateFinishedTo()
The date that the order was finished. The finished date can be set by editing the order.

Returns:
Returns the dateFinishedTo.

setDateFinishedTo

public void setDateFinishedTo(java.util.Calendar dateFinishedTo)
The date that the order was finished. The finished date can be set by editing the order.

Parameters:
dateFinishedTo - The dateFinishedTo to set.

getOrderNumber

public java.lang.String getOrderNumber()
Returns:
Returns the orderNumber.

setOrderNumber

public void setOrderNumber(java.lang.String orderNumber)
Parameters:
orderNumber - The orderNumber to set.

getCustomerNameRule

public int getCustomerNameRule()
The rule for the search. Valid values are:

Returns:
the customerNameRule

setCustomerNameRule

public void setCustomerNameRule(int customerNameRule)
The rule for the search. Valid values are:

Parameters:
customerNameRule - the customerNameRule to set

getOrderNumberRule

public int getOrderNumberRule()
The rule for the search. Valid values are:

Returns:
the orderNumberRule

setOrderNumberRule

public void setOrderNumberRule(int orderNumberRule)
The rule for the search. Valid values are:

Parameters:
orderNumberRule - the orderNumberRule to set

getCustom1Rule

public int getCustom1Rule()
The rule for the search. Valid values are:

Returns:
the custom1Rule

setCustom1Rule

public void setCustom1Rule(int custom1Rule)
The rule for the search. Valid values are:

Parameters:
custom1Rule - the custom1Rule to set

getCustom2Rule

public int getCustom2Rule()
The rule for the search. Valid values are:

Returns:
the custom2Rule

setCustom2Rule

public void setCustom2Rule(int custom2Rule)
The rule for the search. Valid values are:

Parameters:
custom2Rule - the custom2Rule to set

getCustom3Rule

public int getCustom3Rule()
The rule for the search. Valid values are:

Returns:
the custom3Rule

setCustom3Rule

public void setCustom3Rule(int custom3Rule)
The rule for the search. Valid values are:

Parameters:
custom3Rule - the custom3Rule to set

getCustom4Rule

public int getCustom4Rule()
The rule for the search. Valid values are:

Returns:
the custom4Rule

setCustom4Rule

public void setCustom4Rule(int custom4Rule)
The rule for the search. Valid values are:

Parameters:
custom4Rule - the custom4Rule to set

getCustom5Rule

public int getCustom5Rule()
The rule for the search. Valid values are:

Returns:
the custom5Rule

setCustom5Rule

public void setCustom5Rule(int custom5Rule)
The rule for the search. Valid values are:

Parameters:
custom5Rule - the custom5Rule to set

getCustomerEmail

public java.lang.String getCustomerEmail()
Returns:
the customerEmail

setCustomerEmail

public void setCustomerEmail(java.lang.String customerEmail)
Parameters:
customerEmail - the customerEmail to set

getCustomerEmailRule

public int getCustomerEmailRule()
The rule for the search. Valid values are:

Returns:
the customerEmailRule

setCustomerEmailRule

public void setCustomerEmailRule(int customerEmailRule)
The rule for the search. Valid values are:

Parameters:
customerEmailRule - the customerEmailRule to set

getCustomerPostcode

public java.lang.String getCustomerPostcode()
Returns:
the customerPostcode

setCustomerPostcode

public void setCustomerPostcode(java.lang.String customerPostcode)
Parameters:
customerPostcode - the customerPostcode to set

getCustomerPostcodeRule

public int getCustomerPostcodeRule()
The rule for the search. Valid values are:

Returns:
the customerPostcodeRule

setCustomerPostcodeRule

public void setCustomerPostcodeRule(int customerPostcodeRule)
The rule for the search. Valid values are:

Parameters:
customerPostcodeRule - the customerPostcodeRule to set

getCustomerCity

public java.lang.String getCustomerCity()
Returns:
the customerCity

setCustomerCity

public void setCustomerCity(java.lang.String customerCity)
Parameters:
customerCity - the customerCity to set

getCustomerCityRule

public int getCustomerCityRule()
The rule for the search. Valid values are:

Returns:
the customerCityRule

setCustomerCityRule

public void setCustomerCityRule(int customerCityRule)
The rule for the search. Valid values are:

Parameters:
customerCityRule - the customerCityRule to set

getCreator

public java.lang.String getCreator()
Identifier of the administrator who created the order

Returns:
the creator

setCreator

public void setCreator(java.lang.String creator)
Identifier of the administrator who created the order

Parameters:
creator - the creator to set

getCreatorRule

public int getCreatorRule()
The rule for the search. Valid values are:

Returns:
the creatorRule

setCreatorRule

public void setCreatorRule(int creatorRule)
The rule for the search. Valid values are:

Parameters:
creatorRule - the creatorRule to set

getAffiliateId

public java.lang.String getAffiliateId()
Identifier of the affiliate partner

Returns:
the affiliateId

setAffiliateId

public void setAffiliateId(java.lang.String affiliateId)
Identifier of the affiliate partner

Parameters:
affiliateId - the affiliateId to set

getAffiliateIdRule

public int getAffiliateIdRule()
The rule for the search. Valid values are:

Returns:
the affiliateIdRule

setAffiliateIdRule

public void setAffiliateIdRule(int affiliateIdRule)
The rule for the search. Valid values are:

Parameters:
affiliateIdRule - the affiliateIdRule to set


Copyright © 2011 DS Data Systems UK Ltd.