public class AdminSearch
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
custom1
custom1
|
private int |
custom1Rule
custom1 Rule
|
private int |
id
Id - use depends on the API call
|
private int |
id2
Id2 - use depends on the API call
|
private int |
id3
Id3 - use depends on the API call
|
private int |
id4
Id24 - use depends on the API call
|
private int[] |
ids
Ids - use depends on the API call
|
private boolean |
includeChildren
includeChildren
|
private int |
languageId
languageId
|
private java.lang.String |
name
Name
|
private int |
nameRule
Name Rule
|
static java.lang.String |
ORDER_BY_DATE_ASCENDING
ORDER_BY_DATE_ASCENDING
|
static java.lang.String |
ORDER_BY_DATE_DESCENDING
ORDER_BY_DATE_DESCENDING
|
static java.lang.String |
ORDER_BY_DESCRIPTION_ASCENDING
ORDER_BY_DECRIPTION_ASCENDING
|
static java.lang.String |
ORDER_BY_DESCRIPTION_DESCENDING
ORDER_BY_DECRIPTION_DESCENDING
|
static java.lang.String |
ORDER_BY_ID_ASCENDING
ORDER_BY_ID_ASCENDING
|
static java.lang.String |
ORDER_BY_ID_DESCENDING
ORDER_BY_ID_DESCENDING
|
static java.lang.String |
ORDER_BY_ID2_ASCENDING
ORDER_BY_ID2_ASCENDING
|
static java.lang.String |
ORDER_BY_ID2_DESCENDING
ORDER_BY_ID2_DESCENDING
|
static java.lang.String |
ORDER_BY_ID3_ASCENDING
ORDER_BY_ID3_ASCENDING
|
static java.lang.String |
ORDER_BY_ID3_DESCENDING
ORDER_BY_ID3_DESCENDING
|
static java.lang.String |
ORDER_BY_ID4_ASCENDING
ORDER_BY_ID4_ASCENDING
|
static java.lang.String |
ORDER_BY_ID4_DESCENDING
ORDER_BY_ID4_DESCENDING
|
static java.lang.String |
ORDER_BY_LASTNAME_ASCENDING
ORDER_BY_LASTNAME_ASCENDING
|
static java.lang.String |
ORDER_BY_LASTNAME_DESCENDING
ORDER_BY_LASTNAME_DESCENDING
|
static java.lang.String |
ORDER_BY_NAME_ASCENDING
ORDER_BY_NAME_ASCENDING
|
static java.lang.String |
ORDER_BY_NAME_DESCENDING
ORDER_BY_NAME_DESCENDING
|
static java.lang.String |
ORDER_BY_SORT_ORDER_ASCENDING
ORDER_BY_DECRIPTION_ASCENDING
|
static java.lang.String |
ORDER_BY_SORT_ORDER_DESCENDING
ORDER_BY_DECRIPTION_DESCENDING
|
private java.lang.String |
orderBy
orderBy
|
private boolean |
useDefaultWildCardsWithName
Use default settings for wildcard searching when searching using the name.
|
Constructor and Description |
---|
AdminSearch()
Instantiates an AdminSearch object - a requirement for a bean class
|
AdminSearch(com.workingdogs.village.Record r,
com.konakart.db.KKCriteria c)
Instantiates the attributes of the AdminLanguageSearch object from a Record object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCustom1() |
int |
getCustom1Rule()
The rule for the search.
|
int |
getId() |
int |
getId2() |
int |
getId3() |
int |
getId4() |
int[] |
getIds() |
int |
getLanguageId() |
java.lang.String |
getName() |
int |
getNameRule()
The rule for the search.
|
java.lang.String |
getOrderBy() |
boolean |
isIncludeChildren() |
boolean |
isUseDefaultWildCardsWithName()
Deprecated.
Use attribute rules instead
|
void |
setCustom1(java.lang.String custom1)
Search on custom1 not supported in all APIs.
|
void |
setCustom1Rule(int custom1Rule)
The rule for the search.
|
void |
setId(int id) |
void |
setId2(int id2) |
void |
setId3(int id3) |
void |
setId4(int id4) |
void |
setIds(int[] ids) |
void |
setIncludeChildren(boolean includeChildren) |
void |
setLanguageId(int languageId) |
void |
setName(java.lang.String name) |
void |
setNameRule(int nameRule)
The rule for the search.
|
void |
setOrderBy(java.lang.String orderBy) |
void |
setUseDefaultWildCardsWithName(boolean useDefaultWildCardsWithName)
Deprecated.
Use attribute rules instead
|
java.lang.String |
toString() |
java.lang.String |
toStringBrief() |
public static final java.lang.String ORDER_BY_ID_DESCENDING
public static final java.lang.String ORDER_BY_ID_ASCENDING
public static final java.lang.String ORDER_BY_ID2_DESCENDING
public static final java.lang.String ORDER_BY_ID2_ASCENDING
public static final java.lang.String ORDER_BY_ID3_DESCENDING
public static final java.lang.String ORDER_BY_ID3_ASCENDING
public static final java.lang.String ORDER_BY_ID4_DESCENDING
public static final java.lang.String ORDER_BY_ID4_ASCENDING
public static final java.lang.String ORDER_BY_NAME_DESCENDING
public static final java.lang.String ORDER_BY_NAME_ASCENDING
public static final java.lang.String ORDER_BY_DATE_DESCENDING
public static final java.lang.String ORDER_BY_DATE_ASCENDING
public static final java.lang.String ORDER_BY_LASTNAME_ASCENDING
public static final java.lang.String ORDER_BY_LASTNAME_DESCENDING
public static final java.lang.String ORDER_BY_DESCRIPTION_DESCENDING
public static final java.lang.String ORDER_BY_DESCRIPTION_ASCENDING
public static final java.lang.String ORDER_BY_SORT_ORDER_DESCENDING
public static final java.lang.String ORDER_BY_SORT_ORDER_ASCENDING
private int[] ids
private int id
private int id2
private int id3
private int id4
private java.lang.String name
private int nameRule
private boolean useDefaultWildCardsWithName
private java.lang.String custom1
private int custom1Rule
private boolean includeChildren
private int languageId
private java.lang.String orderBy
public AdminSearch()
public AdminSearch(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 java.lang.String getOrderBy()
public void setOrderBy(java.lang.String orderBy)
orderBy
- The orderBy to set. Examples are:
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to search forpublic int getLanguageId()
public void setLanguageId(int languageId)
languageId
- languageId to set. Set to -1 for the default language and to 0 for all languagespublic int getId()
public void setId(int id)
id
- the Id to setpublic boolean isIncludeChildren()
public void setIncludeChildren(boolean includeChildren)
includeChildren
- The includeChildren to set. If set the children of the main parent object will be
returned attached to the parent object.public int getId2()
public void setId2(int id2)
id2
- the id2 to set@Deprecated public boolean isUseDefaultWildCardsWithName()
@Deprecated public void setUseDefaultWildCardsWithName(boolean useDefaultWildCardsWithName)
useDefaultWildCardsWithName
- the useDefaultWildCardsWithName to setpublic int getNameRule()
public void setNameRule(int nameRule)
nameRule
- the nameRule to setpublic int getId3()
public void setId3(int id3)
id3
- the id3 to setpublic int getId4()
public void setId4(int id4)
id4
- the id4 to setpublic int[] getIds()
public void setIds(int[] ids)
ids
- the ids to setpublic java.lang.String getCustom1()
public void setCustom1(java.lang.String custom1)
custom1
- the custom1 to setpublic int getCustom1Rule()
public void setCustom1Rule(int custom1Rule)
custom1Rule
- the custom1Rule to setCopyright © 2018 DS Data Systems UK Ltd.