com.konakart.rmi.app
Class S_CustomerSearch

java.lang.Object
  extended by com.konakart.rmi.app.S_CustomerSearch
All Implemented Interfaces:
java.io.Serializable

public class S_CustomerSearch
extends java.lang.Object
implements java.io.Serializable

Contains information required to search for a customer. Whenever an attribute is set, it is used as a constraint. When using the java API, a com.konakart.app.CustomerSearch object is normally instantiated. Note that when this object initialises it sets the following attributes:

When using the SOAP interface, this initialisation will not be done (because you will most probably be initialising an object created by a tool such as Apache Axis by reading the WSDL), so you will have to do it manually.

See Also:
Serialized Form

Constructor Summary
S_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 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 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

S_CustomerSearch

public S_CustomerSearch()
Method Detail

getEmailAddr

public java.lang.String getEmailAddr()
Returns:
Returns the emailAddr.

setEmailAddr

public void setEmailAddr(java.lang.String _emailAddr)
Parameters:
_emailAddr - The emailAddr to set.

getFirstName

public java.lang.String getFirstName()
Returns:
Returns the firstName.

setFirstName

public void setFirstName(java.lang.String _firstName)
Parameters:
_firstName - The firstName to set.

getId

public int getId()
Returns:
Returns the id.

setId

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

getLastName

public java.lang.String getLastName()
Returns:
Returns the lastName.

setLastName

public void setLastName(java.lang.String _lastName)
Parameters:
_lastName - The lastName to set.

getBirthDate

public java.util.Calendar getBirthDate()
Returns:
Returns the birthDate.

setBirthDate

public void setBirthDate(java.util.Calendar _birthDate)
Parameters:
_birthDate - The birthDate to set.

getType

public int getType()
Returns:
Returns the type.

setType

public void setType(int _type)
Parameters:
_type - The type to set.

getCity

public java.lang.String getCity()
Returns:
Returns the city.

setCity

public void setCity(java.lang.String _city)
Parameters:
_city - The city to set.

getState

public java.lang.String getState()
Returns:
Returns the state.

setState

public void setState(java.lang.String _state)
Parameters:
_state - The state to set.

getCityOrState

public java.lang.String getCityOrState()
Searches in the city and state

Returns:
Returns the cityOrState.

setCityOrState

public void setCityOrState(java.lang.String _cityOrState)
Searches in the city and state

Parameters:
_cityOrState - The cityOrState to set.

getFirstName1

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

Returns:
the firstName1

setFirstName1

public void setFirstName1(java.lang.String _firstName1)
Used when searching for a second person which may be present in for example, a wedding list.

Parameters:
_firstName1 - the firstName1 to set

getLastName1

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

Returns:
the lastName1

setLastName1

public void setLastName1(java.lang.String _lastName1)
Used when searching for a second person which may be present in for example, a wedding list.

Parameters:
_lastName1 - the lastName1 to set

getEventDate

public java.util.Calendar getEventDate()
Used for searching for customer lists for events such as weddings or birthdays

Returns:
the eventDate

setEventDate

public void setEventDate(java.util.Calendar _eventDate)
Used for searching for customer lists for events such as weddings or birthdays

Parameters:
_eventDate - the eventDate to set

getFirstNameRule

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

Returns:
the firstNameRule

setFirstNameRule

public void setFirstNameRule(int _firstNameRule)
The rule for the search. Valid values are:

Parameters:
_firstNameRule - the firstNameRule to set

getLastNameRule

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

Returns:
the lastNameRule

setLastNameRule

public void setLastNameRule(int _lastNameRule)
The rule for the search. Valid values are:

Parameters:
_lastNameRule - the lastNameRule to set

getFirstName1Rule

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

Returns:
the firstName1Rule

setFirstName1Rule

public void setFirstName1Rule(int _firstName1Rule)
The rule for the search. Valid values are:

Parameters:
_firstName1Rule - the firstName1Rule to set

getLastName1Rule

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

Returns:
the lastName1Rule

setLastName1Rule

public void setLastName1Rule(int _lastName1Rule)
The rule for the search. Valid values are:

Parameters:
_lastName1Rule - the lastName1Rule to set

getEmailAddrRule

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

Returns:
the emailAddrRule

setEmailAddrRule

public void setEmailAddrRule(int _emailAddrRule)
The rule for the search. Valid values are:

Parameters:
_emailAddrRule - the emailAddrRule to set

getCityRule

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

Returns:
the cityRule

setCityRule

public void setCityRule(int _cityRule)
The rule for the search. Valid values are:

Parameters:
_cityRule - the cityRule to set

getStateRule

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

Returns:
the stateRule

setStateRule

public void setStateRule(int _stateRule)
The rule for the search. Valid values are:

Parameters:
_stateRule - the stateRule to set

getTmpId

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

Returns:
the tmpId

setTmpId

public void setTmpId(int _tmpId)
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.

Parameters:
_tmpId - the tmpId to set


Copyright © 2011 DS Data Systems UK Ltd.