|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sap.mdm.search.SearchGroup
com.sap.mdm.search.Search
A search object specifying a set of criteria, mainly to limit down the number of records.
| Nested Class Summary | |
class |
Search.CheckOutSearchType
Contains enumerations indicating how check out records are treated when searching for records. |
| Field Summary | |
static int |
STANDARD_OPERATOR
Specifies an AND operation on the operands on the same level. |
| Fields inherited from class com.sap.mdm.search.SearchGroup |
AND_OPERATOR, OR_OPERATOR |
| Fields inherited from interface com.sap.mdm.search.SearchItem |
SEARCH, SEARCH_GROUP, SEARCH_PARAMETER |
| Constructor Summary | |
Search(TableId searchTableId)
Constructor with the specified parameter. |
|
| Method Summary | |
SearchItem |
addTupleFilteringItem(SearchGroup searchGroup)
Adds a tuple filtering item. |
Object |
clone()
Clones this object. |
static Search |
deserialize(String value)
Deserialize the string into a search object. |
boolean |
equals(Object obj)
|
int |
getCheckoutSearchType()
Returns the check out search type. |
int |
getFilteringGroupOperator()
Returns the logical operator for the search group. |
int |
getRegionLayer()
Returns the region layer. |
TableId |
getSearchTableId()
Returns the search table Id. |
SearchItem[] |
getTupleFilteringItems()
Get tuple filtering items. |
int |
getType()
Returns the search item type. |
int |
hashCode()
|
boolean |
isIncludeCheckoutRecords()
Deprecated. replaced by getCheckoutSearchType() |
SearchItem |
removeTupleFilteringItem(int index)
Removes the tuple filtering item from the list. |
String |
serialize()
Serialize the search object into a string. |
void |
setCheckoutSearchType(int checkOutSearchType)
Sets the check out search type (optional). |
void |
setFilteringGroupOperator(int operator)
Sets the logical operator for tuple filtering criteria. |
void |
setIncludeCheckoutRecords(boolean isIncludeCheckoutRecords)
Deprecated. replaced by setCheckoutSearchType(int) |
void |
setRegionLayer(int regionLayer)
Specifies in which region layers the string is search in. |
String |
toString()
|
| Methods inherited from class com.sap.mdm.search.SearchGroup |
addSearchItem, addSearchItem, clear, getComparisonOperator, getSearchItem, getSearchItems, removeSearchItem, setComparisonOperator |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int STANDARD_OPERATOR
SearchGroup,
SearchGroup.AND_OPERATOR,
Constant Field Values| Constructor Detail |
public Search(TableId searchTableId)
searchTableId - the search table Id| Method Detail |
public SearchItem addTupleFilteringItem(SearchGroup searchGroup)
public SearchItem removeTupleFilteringItem(int index)
index - the index of the tuple filtering item
public SearchItem[] getTupleFilteringItems()
public void setFilteringGroupOperator(int operator)
operator - public int getFilteringGroupOperator()
public Object clone()
SearchItem
clone in interface SearchItemclone in class SearchGrouppublic boolean equals(Object obj)
equals in class SearchGrouppublic int hashCode()
hashCode in class SearchGrouppublic String toString()
toString in class SearchGrouppublic int getType()
SearchItem
getType in interface SearchItemgetType in class SearchGrouppublic TableId getSearchTableId()
public boolean isIncludeCheckoutRecords()
getCheckoutSearchType()
true to include checked out records, otherwise
falsepublic void setIncludeCheckoutRecords(boolean isIncludeCheckoutRecords)
setCheckoutSearchType(int)
false.
isIncludeCheckoutRecords - true to include checked out records, otherwise
falsepublic int getCheckoutSearchType()
Search.CheckOutSearchTypepublic void setCheckoutSearchType(int checkOutSearchType)
Search.CheckOutSearchType.STANDARD.
checkOutSearchType - the check out search typeSearch.CheckOutSearchTypepublic String serialize()
deserialize(String)public static Search deserialize(String value)
value - the string representation for the search object
serialize()public int getRegionLayer()
public void setRegionLayer(int regionLayer)
RegionalLayer.CURRENT
and RegionalLayer.PRIMARY_INHERITED. The default is
RegionalLayer.CURRENT.
regionLayer - a region layer
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright 2004-2007 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies (SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.