com.konakart.app
Class CustomerSearch

java.lang.Object
  extended by com.konakart.app.CustomerSearch
All Implemented Interfaces:
CustomerSearchIf

public class CustomerSearch
extends java.lang.Object
implements CustomerSearchIf


Constructor Summary
CustomerSearch()
           
 
Method Summary
 java.util.Calendar getBirthDate()
           
 java.lang.String getCity()
           
 java.lang.String getCityOrState()
          Searches in the city and state
 int getCityRule()
          The rule for the search.
 java.lang.String getEmailAddr()
           
 int getEmailAddrRule()
          The rule for the search.
 java.util.Calendar getEventDate()
          Used for searching for customer lists for events such as weddings or birthdays
 java.lang.String getFirstName()
           
 java.lang.String getFirstName1()
          Used when searching for a second person which may be present in for example, a wedding list.
 int getFirstName1Rule()
          The rule for the search.
 int getFirstNameRule()
          The rule for the search.
 int getGroupId()
           
 int getId()
           
 java.lang.String getLastName()
           
 java.lang.String getLastName1()
          Used when searching for a second person which may be present in for example, a wedding list.
 int getLastName1Rule()
          The rule for the search.
 int getLastNameRule()
          The rule for the search.
 java.lang.String getState()
           
 int getStateRule()
          The rule for the search.
 int getTmpId()
          Used when searching for objects such as Wish Lists that belong to temporary customers.
 int getType()
           
 void setBirthDate(java.util.Calendar birthDate)
           
 void setCity(java.lang.String city)
           
 void setCityOrState(java.lang.String cityOrState)
          Searches in the city and state
 void setCityRule(int cityRule)
          The rule for the search.
 void setEmailAddr(java.lang.String emailAddr)
           
 void setEmailAddrRule(int emailAddrRule)
          The rule for the search.
 void setEventDate(java.util.Calendar eventDate)
          Used for searching for customer lists for events such as weddings or birthdays
 void setFirstName(java.lang.String firstName)
           
 void setFirstName1(java.lang.String firstName1)
          Used when searching for a second person which may be present in for example, a wedding list.
 void setFirstName1Rule(int firstName1Rule)
          The rule for the search.
 void setFirstNameRule(int firstNameRule)
          The rule for the search.
 void setGroupId(int groupId)
           
 void setId(int id)
           
 void setLastName(java.lang.String lastName)
           
 void setLastName1(java.lang.String lastName1)
          Used when searching for a second person which may be present in for example, a wedding list.
 void setLastName1Rule(int lastName1Rule)
          The rule for the search.
 void setLastNameRule(int lastNameRule)
          The rule for the search.
 void setState(java.lang.String state)
           
 void setStateRule(int stateRule)
          The rule for the search.
 void setTmpId(int tmpId)
          Used when searching for objects such as Wish Lists that belong to temporary customers.
 void setType(int type)
           
 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
 

Constructor Detail

CustomerSearch

public CustomerSearch()
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.

getEmailAddr

public java.lang.String getEmailAddr()
Specified by:
getEmailAddr in interface CustomerSearchIf
Returns:
Returns the emailAddr.

setEmailAddr

public void setEmailAddr(java.lang.String emailAddr)
Specified by:
setEmailAddr in interface CustomerSearchIf
Parameters:
emailAddr - The emailAddr to set.

getFirstName

public java.lang.String getFirstName()
Specified by:
getFirstName in interface CustomerSearchIf
Returns:
Returns the firstName.

setFirstName

public void setFirstName(java.lang.String firstName)
Specified by:
setFirstName in interface CustomerSearchIf
Parameters:
firstName - The firstName to set.

getId

public int getId()
Specified by:
getId in interface CustomerSearchIf
Returns:
Returns the id.

setId

public void setId(int id)
Specified by:
setId in interface CustomerSearchIf
Parameters:
id - The id to set.

getLastName

public java.lang.String getLastName()
Specified by:
getLastName in interface CustomerSearchIf
Returns:
Returns the lastName.

setLastName

public void setLastName(java.lang.String lastName)
Specified by:
setLastName in interface CustomerSearchIf
Parameters:
lastName - The lastName to set.

getBirthDate

public java.util.Calendar getBirthDate()
Specified by:
getBirthDate in interface CustomerSearchIf
Returns:
Returns the birthDate.

setBirthDate

public void setBirthDate(java.util.Calendar birthDate)
Specified by:
setBirthDate in interface CustomerSearchIf
Parameters:
birthDate - The birthDate to set.

getGroupId

public int getGroupId()
Returns:
Returns the groupId.

setGroupId

public void setGroupId(int groupId)
Parameters:
groupId - The groupId to set.

getType

public int getType()
Specified by:
getType in interface CustomerSearchIf
Returns:
Returns the type.

setType

public void setType(int type)
Specified by:
setType in interface CustomerSearchIf
Parameters:
type - The type to set.

getCity

public java.lang.String getCity()
Specified by:
getCity in interface CustomerSearchIf
Returns:
Returns the city.

setCity

public void setCity(java.lang.String city)
Specified by:
setCity in interface CustomerSearchIf
Parameters:
city - The city to set.

getState

public java.lang.String getState()
Specified by:
getState in interface CustomerSearchIf
Returns:
Returns the state.

setState

public void setState(java.lang.String state)
Specified by:
setState in interface CustomerSearchIf
Parameters:
state - The state to set.

getCityOrState

public java.lang.String getCityOrState()
Description copied from interface: CustomerSearchIf
Searches in the city and state

Specified by:
getCityOrState in interface CustomerSearchIf
Returns:
Returns the cityOrState.

setCityOrState

public void setCityOrState(java.lang.String cityOrState)
Description copied from interface: CustomerSearchIf
Searches in the city and state

Specified by:
setCityOrState in interface CustomerSearchIf
Parameters:
cityOrState - The cityOrState to set.

getFirstName1

public java.lang.String getFirstName1()
Description copied from interface: CustomerSearchIf
Used when searching for a second person which may be present in for example, a wedding list.

Specified by:
getFirstName1 in interface CustomerSearchIf
Returns:
the firstName1

setFirstName1

public void setFirstName1(java.lang.String firstName1)
Description copied from interface: CustomerSearchIf
Used when searching for a second person which may be present in for example, a wedding list.

Specified by:
setFirstName1 in interface CustomerSearchIf
Parameters:
firstName1 - the firstName1 to set

getLastName1

public java.lang.String getLastName1()
Description copied from interface: CustomerSearchIf
Used when searching for a second person which may be present in for example, a wedding list.

Specified by:
getLastName1 in interface CustomerSearchIf
Returns:
the lastName1

setLastName1

public void setLastName1(java.lang.String lastName1)
Description copied from interface: CustomerSearchIf
Used when searching for a second person which may be present in for example, a wedding list.

Specified by:
setLastName1 in interface CustomerSearchIf
Parameters:
lastName1 - the lastName1 to set

getEventDate

public java.util.Calendar getEventDate()
Description copied from interface: CustomerSearchIf
Used for searching for customer lists for events such as weddings or birthdays

Specified by:
getEventDate in interface CustomerSearchIf
Returns:
the eventDate

setEventDate

public void setEventDate(java.util.Calendar eventDate)
Description copied from interface: CustomerSearchIf
Used for searching for customer lists for events such as weddings or birthdays

Specified by:
setEventDate in interface CustomerSearchIf
Parameters:
eventDate - the eventDate to set

getFirstNameRule

public int getFirstNameRule()
Description copied from interface: CustomerSearchIf
The rule for the search. Valid values are:

Specified by:
getFirstNameRule in interface CustomerSearchIf
Returns:
the firstNameRule

setFirstNameRule

public void setFirstNameRule(int firstNameRule)
Description copied from interface: CustomerSearchIf
The rule for the search. Valid values are:

Specified by:
setFirstNameRule in interface CustomerSearchIf
Parameters:
firstNameRule - the firstNameRule to set

getLastNameRule

public int getLastNameRule()
Description copied from interface: CustomerSearchIf
The rule for the search. Valid values are:

Specified by:
getLastNameRule in interface CustomerSearchIf
Returns:
the lastNameRule

setLastNameRule

public void setLastNameRule(int lastNameRule)
Description copied from interface: CustomerSearchIf
The rule for the search. Valid values are:

Specified by:
setLastNameRule in interface CustomerSearchIf
Parameters:
lastNameRule - the lastNameRule to set

getFirstName1Rule

public int getFirstName1Rule()
Description copied from interface: CustomerSearchIf
The rule for the search. Valid values are:

Specified by:
getFirstName1Rule in interface CustomerSearchIf
Returns:
the firstName1Rule

setFirstName1Rule

public void setFirstName1Rule(int firstName1Rule)
Description copied from interface: CustomerSearchIf
The rule for the search. Valid values are:

Specified by:
setFirstName1Rule in interface CustomerSearchIf
Parameters:
firstName1Rule - the firstName1Rule to set

getLastName1Rule

public int getLastName1Rule()
Description copied from interface: CustomerSearchIf
The rule for the search. Valid values are:

Specified by:
getLastName1Rule in interface CustomerSearchIf
Returns:
the lastName1Rule

setLastName1Rule

public void setLastName1Rule(int lastName1Rule)
Description copied from interface: CustomerSearchIf
The rule for the search. Valid values are:

Specified by:
setLastName1Rule in interface CustomerSearchIf
Parameters:
lastName1Rule - the lastName1Rule to set

getEmailAddrRule

public int getEmailAddrRule()
Description copied from interface: CustomerSearchIf
The rule for the search. Valid values are:

Specified by:
getEmailAddrRule in interface CustomerSearchIf
Returns:
the emailAddrRule

setEmailAddrRule

public void setEmailAddrRule(int emailAddrRule)
Description copied from interface: CustomerSearchIf
The rule for the search. Valid values are:

Specified by:
setEmailAddrRule in interface CustomerSearchIf
Parameters:
emailAddrRule - the emailAddrRule to set

getCityRule

public int getCityRule()
Description copied from interface: CustomerSearchIf
The rule for the search. Valid values are:

Specified by:
getCityRule in interface CustomerSearchIf
Returns:
the cityRule

setCityRule

public void setCityRule(int cityRule)
Description copied from interface: CustomerSearchIf
The rule for the search. Valid values are:

Specified by:
setCityRule in interface CustomerSearchIf
Parameters:
cityRule - the cityRule to set

getStateRule

public int getStateRule()
Description copied from interface: CustomerSearchIf
The rule for the search. Valid values are:

Specified by:
getStateRule in interface CustomerSearchIf
Returns:
the stateRule

setStateRule

public void setStateRule(int stateRule)
Description copied from interface: CustomerSearchIf
The rule for the search. Valid values are:

Specified by:
setStateRule in interface CustomerSearchIf
Parameters:
stateRule - the stateRule to set

getTmpId

public int getTmpId()
Description copied from interface: CustomerSearchIf
Used when searching for objects such as Wish Lists that belong to temporary customers. In order for this id to be used, it must be set to a negative value. Otherwise it will not be used as a constraint.

Specified by:
getTmpId in interface CustomerSearchIf
Returns:
the tmpId

setTmpId

public void setTmpId(int tmpId)
Description copied from interface: CustomerSearchIf
Used when searching for objects such as Wish Lists that belong to temporary customers. In order for this id to be used, it must be set to a negative value. Otherwise it will not be used as a constraint.

Specified by:
setTmpId in interface CustomerSearchIf
Parameters:
tmpId - the tmpId to set


Copyright © 2011 DS Data Systems UK Ltd.