public class CustomerSearch extends java.lang.Object implements CustomerSearchIf
Constructor and Description |
---|
CustomerSearch() |
Modifier and Type | Method and Description |
---|---|
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.
|
int[] |
getCustomerIds()
An array of customer ids to be used in 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.
|
int[] |
getParentIds()
An array of parent ids to be used in the search.
|
java.lang.String |
getState() |
int |
getStateRule()
The rule for the search.
|
java.lang.String |
getTelephoneNumber() |
java.lang.String |
getTelephoneNumber1() |
int |
getTelephoneNumber1Rule() |
int |
getTelephoneNumberRule() |
int |
getTmpId()
Used when searching for objects such as Wish Lists that belong to temporary customers.
|
int |
getType() |
java.lang.String |
getUsername() |
int |
getUsernameRule() |
boolean |
isGetChildren()
Populate customer with an array of children.
|
boolean |
isGetChildTree()
Populate customer with a child tree where each child in the array of children may also have
children etc.
|
boolean |
isGetParent()
Populate customer with a parent customer when a parent Id exists.
|
boolean |
isGetProductSuggestions()
Populate customer with Product Suggestions from the AI Service
|
boolean |
isReturnNonRegisteredCustomers()
When set to true, non registered customers are returned.
|
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 |
setCustomerIds(int[] customerIds)
An array of customer ids to be used in 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 |
setGetChildren(boolean getChildren)
Populate customer with an array of children.
|
void |
setGetChildTree(boolean getChildTree)
Populate customer with a child tree where each child in the array of children may also have
children etc.
|
void |
setGetParent(boolean getParent)
Populate customer with a parent customer when a parent Id exists.
|
void |
setGetProductSuggestions(boolean getProductSuggestions)
Populate customer with Product Suggestions from the AI Service
|
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 |
setParentIds(int[] parentIds)
An array of parent ids to be used in the search.
|
void |
setReturnNonRegisteredCustomers(boolean returnNonRegisteredCustomers)
When set to true, non registered customers are returned.
|
void |
setState(java.lang.String state) |
void |
setStateRule(int stateRule)
The rule for the search.
|
void |
setTelephoneNumber(java.lang.String telephoneNumber) |
void |
setTelephoneNumber1(java.lang.String telephoneNumber1) |
void |
setTelephoneNumber1Rule(int telephoneNumber1Rule) |
void |
setTelephoneNumberRule(int telephoneNumberRule) |
void |
setTmpId(int tmpId)
Used when searching for objects such as Wish Lists that belong to temporary customers.
|
void |
setType(int type) |
void |
setUsername(java.lang.String username) |
void |
setUsernameRule(int usernameRule) |
java.lang.String |
toString() |
java.lang.String |
toStringBrief() |
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringBrief()
public java.lang.String getEmailAddr()
getEmailAddr
in interface CustomerSearchIf
public void setEmailAddr(java.lang.String emailAddr)
setEmailAddr
in interface CustomerSearchIf
emailAddr
- The emailAddr to set.public java.lang.String getFirstName()
getFirstName
in interface CustomerSearchIf
public void setFirstName(java.lang.String firstName)
setFirstName
in interface CustomerSearchIf
firstName
- The firstName to set.public int getId()
getId
in interface CustomerSearchIf
public void setId(int id)
setId
in interface CustomerSearchIf
id
- The id to set.public java.lang.String getLastName()
getLastName
in interface CustomerSearchIf
public void setLastName(java.lang.String lastName)
setLastName
in interface CustomerSearchIf
lastName
- The lastName to set.public java.util.Calendar getBirthDate()
getBirthDate
in interface CustomerSearchIf
public void setBirthDate(java.util.Calendar birthDate)
setBirthDate
in interface CustomerSearchIf
birthDate
- The birthDate to set.public int getGroupId()
getGroupId
in interface CustomerSearchIf
public void setGroupId(int groupId)
setGroupId
in interface CustomerSearchIf
groupId
- The groupId to set.public int getType()
getType
in interface CustomerSearchIf
public void setType(int type)
setType
in interface CustomerSearchIf
type
- The type to set.public java.lang.String getCity()
getCity
in interface CustomerSearchIf
public void setCity(java.lang.String city)
setCity
in interface CustomerSearchIf
city
- The city to set.public java.lang.String getState()
getState
in interface CustomerSearchIf
public void setState(java.lang.String state)
setState
in interface CustomerSearchIf
state
- The state to set.public java.lang.String getCityOrState()
CustomerSearchIf
getCityOrState
in interface CustomerSearchIf
public void setCityOrState(java.lang.String cityOrState)
CustomerSearchIf
setCityOrState
in interface CustomerSearchIf
cityOrState
- The cityOrState to set.public java.lang.String getFirstName1()
CustomerSearchIf
getFirstName1
in interface CustomerSearchIf
public void setFirstName1(java.lang.String firstName1)
CustomerSearchIf
setFirstName1
in interface CustomerSearchIf
firstName1
- the firstName1 to setpublic java.lang.String getLastName1()
CustomerSearchIf
getLastName1
in interface CustomerSearchIf
public void setLastName1(java.lang.String lastName1)
CustomerSearchIf
setLastName1
in interface CustomerSearchIf
lastName1
- the lastName1 to setpublic java.util.Calendar getEventDate()
CustomerSearchIf
getEventDate
in interface CustomerSearchIf
public void setEventDate(java.util.Calendar eventDate)
CustomerSearchIf
setEventDate
in interface CustomerSearchIf
eventDate
- the eventDate to setpublic int getFirstNameRule()
CustomerSearchIf
getFirstNameRule
in interface CustomerSearchIf
public void setFirstNameRule(int firstNameRule)
CustomerSearchIf
setFirstNameRule
in interface CustomerSearchIf
firstNameRule
- the firstNameRule to setpublic int getLastNameRule()
CustomerSearchIf
getLastNameRule
in interface CustomerSearchIf
public void setLastNameRule(int lastNameRule)
CustomerSearchIf
setLastNameRule
in interface CustomerSearchIf
lastNameRule
- the lastNameRule to setpublic int getFirstName1Rule()
CustomerSearchIf
getFirstName1Rule
in interface CustomerSearchIf
public void setFirstName1Rule(int firstName1Rule)
CustomerSearchIf
setFirstName1Rule
in interface CustomerSearchIf
firstName1Rule
- the firstName1Rule to setpublic int getLastName1Rule()
CustomerSearchIf
getLastName1Rule
in interface CustomerSearchIf
public void setLastName1Rule(int lastName1Rule)
CustomerSearchIf
setLastName1Rule
in interface CustomerSearchIf
lastName1Rule
- the lastName1Rule to setpublic int getEmailAddrRule()
CustomerSearchIf
getEmailAddrRule
in interface CustomerSearchIf
public void setEmailAddrRule(int emailAddrRule)
CustomerSearchIf
setEmailAddrRule
in interface CustomerSearchIf
emailAddrRule
- the emailAddrRule to setpublic int getCityRule()
CustomerSearchIf
getCityRule
in interface CustomerSearchIf
public void setCityRule(int cityRule)
CustomerSearchIf
setCityRule
in interface CustomerSearchIf
cityRule
- the cityRule to setpublic int getStateRule()
CustomerSearchIf
getStateRule
in interface CustomerSearchIf
public void setStateRule(int stateRule)
CustomerSearchIf
setStateRule
in interface CustomerSearchIf
stateRule
- the stateRule to setpublic int getTmpId()
CustomerSearchIf
getTmpId
in interface CustomerSearchIf
public void setTmpId(int tmpId)
CustomerSearchIf
setTmpId
in interface CustomerSearchIf
tmpId
- the tmpId to setpublic int[] getParentIds()
getParentIds
in interface CustomerSearchIf
public void setParentIds(int[] parentIds)
setParentIds
in interface CustomerSearchIf
parentIds
- the parentIds to setpublic boolean isGetChildren()
isGetChildren
in interface CustomerSearchIf
public void setGetChildren(boolean getChildren)
setGetChildren
in interface CustomerSearchIf
getChildren
- the getChildren to setpublic boolean isGetChildTree()
isGetChildTree
in interface CustomerSearchIf
public void setGetChildTree(boolean getChildTree)
setGetChildTree
in interface CustomerSearchIf
getChildTree
- the getChildTree to setpublic boolean isGetParent()
isGetParent
in interface CustomerSearchIf
public void setGetParent(boolean getParent)
setGetParent
in interface CustomerSearchIf
getParent
- the getParent to setpublic int[] getCustomerIds()
getCustomerIds
in interface CustomerSearchIf
public void setCustomerIds(int[] customerIds)
setCustomerIds
in interface CustomerSearchIf
customerIds
- the customerIds to setpublic boolean isReturnNonRegisteredCustomers()
isReturnNonRegisteredCustomers
in interface CustomerSearchIf
public void setReturnNonRegisteredCustomers(boolean returnNonRegisteredCustomers)
setReturnNonRegisteredCustomers
in interface CustomerSearchIf
returnNonRegisteredCustomers
- the returnNonRegisteredCustomers to setpublic java.lang.String getTelephoneNumber()
getTelephoneNumber
in interface CustomerSearchIf
public void setTelephoneNumber(java.lang.String telephoneNumber)
setTelephoneNumber
in interface CustomerSearchIf
telephoneNumber
- the telephoneNumber to setpublic int getTelephoneNumberRule()
getTelephoneNumberRule
in interface CustomerSearchIf
public void setTelephoneNumberRule(int telephoneNumberRule)
setTelephoneNumberRule
in interface CustomerSearchIf
telephoneNumberRule
- the telephoneNumberRule to setpublic java.lang.String getTelephoneNumber1()
getTelephoneNumber1
in interface CustomerSearchIf
public void setTelephoneNumber1(java.lang.String telephoneNumber1)
setTelephoneNumber1
in interface CustomerSearchIf
telephoneNumber1
- the telephoneNumber1 to setpublic int getTelephoneNumber1Rule()
getTelephoneNumber1Rule
in interface CustomerSearchIf
public void setTelephoneNumber1Rule(int telephoneNumber1Rule)
setTelephoneNumber1Rule
in interface CustomerSearchIf
telephoneNumber1Rule
- the telephoneNumber1Rule to setpublic java.lang.String getUsername()
getUsername
in interface CustomerSearchIf
public void setUsername(java.lang.String username)
setUsername
in interface CustomerSearchIf
username
- the username to setpublic int getUsernameRule()
getUsernameRule
in interface CustomerSearchIf
public void setUsernameRule(int usernameRule)
setUsernameRule
in interface CustomerSearchIf
usernameRule
- the usernameRule to setpublic boolean isGetProductSuggestions()
CustomerSearchIf
isGetProductSuggestions
in interface CustomerSearchIf
public void setGetProductSuggestions(boolean getProductSuggestions)
CustomerSearchIf
setGetProductSuggestions
in interface CustomerSearchIf
getProductSuggestions
- the getProductSuggestions to setCopyright © 2018 DS Data Systems UK Ltd.