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 custom1
          Custom fields.
private  java.lang.String custom2
           
private  java.lang.String custom3
           
private  java.lang.String custom4
           
private  java.lang.String custom5
           
private  int customerId
          customerId
private  java.lang.String customerName
          customerName
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
          orderBy
private  int orderId
          orderId
private  int orderStatusId
          orderStatusId
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 getCustom1()
           
 java.lang.String getCustom2()
           
 java.lang.String getCustom3()
           
 java.lang.String getCustom4()
           
 java.lang.String getCustom5()
           
 int getCustomerId()
           
 java.lang.String getCustomerName()
           
 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()
           
 int getOrderStatusId()
           
 java.util.Date getPurchaseDate()
           
 void setCustom1(java.lang.String custom1)
           
 void setCustom2(java.lang.String custom2)
           
 void setCustom3(java.lang.String custom3)
           
 void setCustom4(java.lang.String custom4)
           
 void setCustom5(java.lang.String custom5)
           
 void setCustomerId(int customerId)
           
 void setCustomerName(java.lang.String customerName)
           
 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 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
orderStatusId


customerName

private java.lang.String customerName
customerName


customerId

private int customerId
customerId


purchaseDate

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


orderId

private int orderId
orderId


orderBy

private java.lang.String orderBy
orderBy


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.


custom2

private java.lang.String custom2

custom3

private java.lang.String custom3

custom4

private java.lang.String custom4

custom5

private java.lang.String custom5
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.


Copyright © 2006 DS Data Systems UK Ltd.