public class AdminAddressSearch
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
addrStoreId
addrStoreId
|
private java.lang.String |
city
city
|
private int |
cityRule
city Rule
|
private java.lang.String |
companyName
company Name
|
private int |
companyNameRule
company Name Rule
|
private int |
countryId
country Id
|
private java.lang.String |
custom1
custom1
|
private int |
custom1Rule
custom1 Rule
|
private java.lang.String |
custom2
custom2
|
private int |
custom2Rule
custom2 Rule
|
private java.lang.String |
custom3
custom3
|
private int |
custom3Rule
custom3 Rule
|
private java.lang.String |
custom4
custom4
|
private int |
custom4Rule
custom4 Rule
|
private java.lang.String |
custom5
custom5
|
private int |
custom5Rule
custom5 Rule
|
private int |
customerId
customer Id
|
private java.lang.String |
firstName
first name
|
private int |
firstNameRule
first Name Rule
|
private boolean |
formatAddresses
When set, the formattedAddress attribute of the Address objects is populated.
|
private int |
id
Address id
|
private java.lang.String |
lastName
last name
|
private int |
lastNameRule
last Name Rule
|
private int |
manufacturerId
manufacturer Id
|
private java.lang.String |
orderBy
orderBy - Specify one of these to order the results:
AdminSearch.ORDER_BY_LASTNAME_ASCENDING
AdminSearch.ORDER_BY_LASTNAME_DESCENDING
AdminSearch.ORDER_BY_ID_ASCENDING (the default)
AdminSearch.ORDER_BY_ID_DESCENDING
|
private java.lang.String |
postcode
postcode
|
private int |
postcodeRule
postcode Rule
|
private int |
productId
product Id
|
private java.lang.String |
state
state
|
private int |
stateRule
state Rule
|
private java.lang.String |
storeId
store Id
|
private java.lang.String |
streetAddress
street Address
|
private java.lang.String |
streetAddress1
street Address1
|
private int |
streetAddress1Rule
street Address1 Rule
|
private int |
streetAddressRule
street Address Rule
|
private java.lang.String |
suburb
suburb
|
private int |
suburbRule
suburb Rule
|
private int |
type
Address type
|
private boolean |
useDefaultWildCards
Deprecated.
Use attribute rules instead
|
private int |
vendorId
vendor Id
|
private int |
zoneId
zone Id
|
Constructor and Description |
---|
AdminAddressSearch()
Instantiates an AdminAddressSearch object - a requirement for a bean class
|
AdminAddressSearch(com.workingdogs.village.Record r,
com.konakart.db.KKCriteria c)
Instantiates the attributes of the AdminAddressSearch object from a Record object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAddrStoreId()
Set with a valid storeId when searching for addresses for that store
|
java.lang.String |
getCity() |
int |
getCityRule()
The rule for the search.
|
java.lang.String |
getCompanyName() |
int |
getCompanyNameRule()
The rule for the search.
|
int |
getCountryId() |
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.
|
int |
getCustomerId() |
java.lang.String |
getFirstName() |
int |
getFirstNameRule()
The rule for the search.
|
int |
getId() |
java.lang.String |
getLastName() |
int |
getLastNameRule()
The rule for the search.
|
int |
getManufacturerId() |
java.lang.String |
getOrderBy() |
java.lang.String |
getPostcode() |
int |
getPostcodeRule()
The rule for the search.
|
int |
getProductId() |
java.lang.String |
getState() |
int |
getStateRule()
The rule for the search.
|
java.lang.String |
getStoreId()
Used to search for addresses associated with a store
|
java.lang.String |
getStreetAddress() |
java.lang.String |
getStreetAddress1() |
int |
getStreetAddress1Rule()
The rule for the search.
|
int |
getStreetAddressRule()
The rule for the search.
|
java.lang.String |
getSuburb() |
int |
getSuburbRule()
The rule for the search.
|
int |
getType()
It can take the following values:
com.konakartadmin.bl.KonakartAdminConstants.ADDRESS_TYPE_CUSTOMER = A customer
address
com.konakartadmin.bl.KonakartAdminConstants.ADDRESS_TYPE_PRODUCT = Address related to a
product.
|
int |
getVendorId() |
int |
getZoneId() |
boolean |
isFormatAddresses()
When set, the formattedAddress attribute of the Address objects is populated.
|
boolean |
isUseDefaultWildCards()
Deprecated.
Use attribute rules instead
|
void |
setAddrStoreId(java.lang.String addrStoreId)
Set with a valid storeId when searching for addresses for that store
|
void |
setCity(java.lang.String city) |
void |
setCityRule(int cityRule)
The rule for the search.
|
void |
setCompanyName(java.lang.String companyName) |
void |
setCompanyNameRule(int companyNameRule)
The rule for the search.
|
void |
setCountryId(int countryId) |
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 |
setCustomerId(int customerId) |
void |
setFirstName(java.lang.String firstName) |
void |
setFirstNameRule(int firstNameRule)
The rule for the search.
|
void |
setFormatAddresses(boolean formatAddresses)
When set, the formattedAddress attribute of the Address objects is populated.
|
void |
setId(int id) |
void |
setLastName(java.lang.String lastName) |
void |
setLastNameRule(int lastNameRule)
The rule for the search.
|
void |
setManufacturerId(int manufacturerId) |
void |
setOrderBy(java.lang.String orderBy) |
void |
setPostcode(java.lang.String postcode) |
void |
setPostcodeRule(int postcodeRule)
The rule for the search.
|
void |
setProductId(int productId) |
void |
setState(java.lang.String state) |
void |
setStateRule(int stateRule)
The rule for the search.
|
void |
setStoreId(java.lang.String storeId)
Used to search for addresses associated with a store
|
void |
setStreetAddress(java.lang.String streetAddress) |
void |
setStreetAddress1(java.lang.String streetAddress1) |
void |
setStreetAddress1Rule(int streetAddress1Rule)
The rule for the search.
|
void |
setStreetAddressRule(int streetAddressRule)
The rule for the search.
|
void |
setSuburb(java.lang.String suburb) |
void |
setSuburbRule(int suburbRule)
The rule for the search.
|
void |
setType(int type)
It can take the following values:
com.konakartadmin.bl.KonakartAdminConstants.ADDRESS_TYPE_CUSTOMER = A customer
address
com.konakartadmin.bl.KonakartAdminConstants.ADDRESS_TYPE_PRODUCT = Address related to a
product.
|
void |
setUseDefaultWildCards(boolean useDefaultWildCards)
Deprecated.
Use attribute rules instead
|
void |
setVendorId(int vendorId) |
void |
setZoneId(int zoneId) |
java.lang.String |
toString() |
java.lang.String |
toStringBrief() |
private int id
private int type
private int countryId
private int zoneId
private int customerId
private int productId
private int manufacturerId
private int vendorId
private java.lang.String storeId
private java.lang.String lastName
private int lastNameRule
private java.lang.String firstName
private int firstNameRule
private java.lang.String streetAddress
private int streetAddressRule
private java.lang.String streetAddress1
private int streetAddress1Rule
private java.lang.String companyName
private int companyNameRule
private java.lang.String suburb
private int suburbRule
private java.lang.String postcode
private int postcodeRule
private java.lang.String city
private int cityRule
private java.lang.String state
private int stateRule
private java.lang.String custom1
private java.lang.String custom2
private java.lang.String custom3
private java.lang.String custom4
private java.lang.String custom5
private int custom1Rule
private int custom2Rule
private int custom3Rule
private int custom4Rule
private int custom5Rule
private java.lang.String addrStoreId
@Deprecated private boolean useDefaultWildCards
private java.lang.String orderBy
private boolean formatAddresses
public AdminAddressSearch()
public AdminAddressSearch(com.workingdogs.village.Record r, com.konakart.db.KKCriteria c) throws com.workingdogs.village.DataSetException
r
- Record containing datac
- Criteria containing column namescom.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringBrief()
public int getId()
public void setId(int id)
id
- The id to set.public java.lang.String getOrderBy()
public void setOrderBy(java.lang.String orderBy)
orderBy
- The orderBy to set.@Deprecated public boolean isUseDefaultWildCards()
@Deprecated public void setUseDefaultWildCards(boolean useDefaultWildCards)
useDefaultWildCards
- the useDefaultWildCards to setpublic int getCustomerId()
public void setCustomerId(int customerId)
customerId
- the customerId to setpublic java.lang.String getCustom1()
public void setCustom1(java.lang.String custom1)
custom1
- the custom1 to setpublic java.lang.String getCustom2()
public void setCustom2(java.lang.String custom2)
custom2
- the custom2 to setpublic int getCountryId()
public void setCountryId(int countryId)
countryId
- the countryId to setpublic int getZoneId()
public void setZoneId(int zoneId)
zoneId
- the zoneId to setpublic java.lang.String getLastName()
public void setLastName(java.lang.String lastName)
lastName
- the lastName to setpublic java.lang.String getFirstName()
public void setFirstName(java.lang.String firstName)
firstName
- the firstName to setpublic java.lang.String getCompanyName()
public void setCompanyName(java.lang.String companyName)
companyName
- the companyName to setpublic java.lang.String getSuburb()
public void setSuburb(java.lang.String suburb)
suburb
- the suburb to setpublic java.lang.String getPostcode()
public void setPostcode(java.lang.String postcode)
postcode
- the postcode to setpublic java.lang.String getCity()
public void setCity(java.lang.String city)
city
- the city to setpublic java.lang.String getState()
public void setState(java.lang.String state)
state
- the state to setpublic java.lang.String getCustom3()
public void setCustom3(java.lang.String custom3)
custom3
- the custom3 to setpublic java.lang.String getCustom4()
public void setCustom4(java.lang.String custom4)
custom4
- the custom4 to setpublic java.lang.String getCustom5()
public void setCustom5(java.lang.String custom5)
custom5
- the custom5 to setpublic java.lang.String getStreetAddress()
public void setStreetAddress(java.lang.String streetAddress)
streetAddress
- the streetAddress to setpublic int getStreetAddressRule()
public void setStreetAddressRule(int streetAddressRule)
streetAddressRule
- the streetAddressRule to setpublic int getPostcodeRule()
public void setPostcodeRule(int postcodeRule)
postcodeRule
- the postcodeRule to setpublic int getCityRule()
public void setCityRule(int cityRule)
cityRule
- the cityRule to setpublic int getCustom1Rule()
public void setCustom1Rule(int custom1Rule)
custom1Rule
- the custom1Rule to setpublic int getCustom2Rule()
public void setCustom2Rule(int custom2Rule)
custom2Rule
- the custom2Rule to setpublic int getCustom3Rule()
public void setCustom3Rule(int custom3Rule)
custom3Rule
- the custom3Rule to setpublic int getCustom4Rule()
public void setCustom4Rule(int custom4Rule)
custom4Rule
- the custom4Rule to setpublic int getCustom5Rule()
public void setCustom5Rule(int custom5Rule)
custom5Rule
- the custom5Rule to setpublic int getLastNameRule()
public void setLastNameRule(int lastNameRule)
lastNameRule
- the lastNameRule to setpublic int getFirstNameRule()
public void setFirstNameRule(int firstNameRule)
firstNameRule
- the firstNameRule to setpublic int getCompanyNameRule()
public void setCompanyNameRule(int companyNameRule)
companyNameRule
- the companyNameRule to setpublic int getSuburbRule()
public void setSuburbRule(int suburbRule)
suburbRule
- the suburbRule to setpublic int getStateRule()
public void setStateRule(int stateRule)
stateRule
- the stateRule to setpublic java.lang.String getStreetAddress1()
public void setStreetAddress1(java.lang.String streetAddress1)
streetAddress1
- the streetAddress1 to setpublic int getStreetAddress1Rule()
public void setStreetAddress1Rule(int streetAddress1Rule)
streetAddress1Rule
- the streetAddress1Rule to setpublic int getProductId()
public void setProductId(int productId)
productId
- the productId to setpublic int getManufacturerId()
public void setManufacturerId(int manufacturerId)
manufacturerId
- the manufacturerId to setpublic int getType()
public void setType(int type)
type
- the type to setpublic java.lang.String getStoreId()
public void setStoreId(java.lang.String storeId)
storeId
- the storeId to setpublic java.lang.String getAddrStoreId()
public void setAddrStoreId(java.lang.String addrStoreId)
addrStoreId
- the addrStoreId to setpublic int getVendorId()
public void setVendorId(int vendorId)
vendorId
- the vendorId to setpublic boolean isFormatAddresses()
public void setFormatAddresses(boolean formatAddresses)
formatAddresses
- the formatAddresses to setCopyright © 2018 DS Data Systems UK Ltd.