Package com.sap.mdm.search

Provides interfaces and classes for setting up a search criteria.

See:
          Description

Interface Summary
AttributeValuePickListItem A pick list item for attribute values.
BooleanPickListItem A pick list item for a boolean.
CoupledMeasurementValuePickListItem A pick list item for coupled attribute value.
MeasurementValuePickListItem A pick list item for numeric attribute value
PickList This interface represents a pick list which includes the search dimension and the list of pick list items.
PickListItem This interface represents a pick list item.
RecordPickListItem A pick list item for a record.
SearchConstraint A base interface for all search constraint.
SearchDimension A base interface for search dimensions such as FieldSearchDimension, AttributeSearchDimension, etc.
SearchItem A common interface for search parameter and search group.
TextAttributeValuePickListItem A pick list item for text attribute value.
 

Class Summary
AbstractFieldSearchDimension The abstract class indicates a search dimension for a specific field.
AbstractSearchConstraint An abstract class for all search constraints.
AbstractSearchDimension The abstract class indicates a search dimension.
AttributeSearchDimension A search dimension for a taxonomy field.
BooleanSearchConstraint A boolean constraint.
DateTimeSearchConstraint A time-date constraint.
ExpressionSearchConstraint A search constraint for Expression search.
ExpressionSearchDimension A search dimension for Expression search.
FieldSearchDimension A search dimension for regular fields, excluding taxonomy fields and qualifier fields.
KeywordSearchConstraint A keyword constraint.
KeywordSearchDimension A search dimension for keyword.
MaskSearchDimension A search dimension for mask.
MeasurementSearchConstraint A measurement constraint.
NamedSearchSearchDimension A search dimension for named search.
NullPickListItem Deprecated.  
NullSearchConstraint A null constraint.
NumericSearchConstraint A numeric constraint.
PickListSearchConstraint A pick list constraint.
QualifierSearchDimension A search dimension for a qualifier field.
RegionLayerSearchConstraint A region layer constraint.
RemoteKeySearchConstraint A search constraint for remote key search.
RemoteKeySearchDimension A search dimension for remote key search.
RemoteSystemSearchConstraint A search constraint for remote system search.
RemoteSystemSearchDimension A search dimension for remote system search.
Search A search object specifying a set of criteria, mainly to limit down the number of records.
SearchGroup A search group is a container for a list of search parameters.
SearchParameter A search criteria containing the search dimension and the search constraint.
TextSearchConstraint A text constraint.
TupleSearch A search object for specifying search criteria on tuple values.
 

Package com.sap.mdm.search Description

Provides interfaces and classes for setting up a search criteria.

Overview

MDM has a wide range of search capabilities. This package contains classes and interfaces for defining a search. A search (Search class) is basically a list of search criteria. A search criteria (SearchParameter class) contains two main components, the search dimension and the search constraint. A search dimension (SearchDimension interface) specifies the object to search on. A search constraint (SearchConstraint interface) specifies the limits on the object being search on.

Here is the diagram illustrating the search relationship:

Search Dimensions and Search Constraints

The following lists the allowable constraints for each search dimension.

FieldSearchDimension

AttributeSearchDimension QualifierSearchDimension MaskSearchDimension KeywordSearchDimension NamedSearchSearchDimension

Search Example

To search for a text field called Name for values that start with "Joh", this is how a search might look like:

    SearchDimension dimension = new FieldSearchDimension(nameField);
    SearchConstraint constraint = new TextSearchConstraint("Joh", TextSearchConstraint.STARTS_WITH);        

    Search search = new Search(tableId);
    search.addSearchItem(dimension, constraint);

Related Documentation



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.