public class PcdSearchControls extends SearchControls
| Modifier and Type | Field and Description |
|---|---|
static int |
SUBTREE_ONLY_SCOPE
Search the subtree of the named context but do not include the start node
itself.
|
static int |
SUBTREE_WITH_UNIT_ROOTS_SCOPE
Search the subtree of the named context but don't go into units.
|
static int |
SUBTREE_WITHOUT_UNITS_SCOPE
Search the subtree of the named context but ignore all unit roots and
unit internal objects.
|
static int |
UNIT_ROOTS_ONLY_SCOPE
Search the subtree of the named context, including unit roots, but don't
look at inner parts of units.
|
static int |
UPWARDS_TO_UNIT_ROOT_SCOPE
Search all nodes from the named context upwards(!)
|
OBJECT_SCOPE, ONELEVEL_SCOPE, SUBTREE_SCOPE| Constructor and Description |
|---|
PcdSearchControls()
Initializes the returning attributes with an empty String array, thus
indicating that by default no attributes should be returned.
|
PcdSearchControls(PcdSearchControls controls)
Constructs a new search constraints using arguments.
|
PcdSearchControls(SearchControls controls)
Constructs a new search constraints using arguments.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getDoPhysicalTreeTraversal() |
Locale |
getLocale() |
static String |
getScopeDescription(int scope)
Returns search control scope description
|
String |
getSkipCondition()
Returns the skipCondition.
|
static boolean |
isScopeValid(int aScope)
Returns true if scope is valid
|
void |
setDoPhysicalTreeTraversal(boolean doPhysicalTreeTraversal)
Enables, for very specialized searches, to browse through the physical
representation of deltalinks, rather than through their virtual tree.
|
void |
setLocale(Locale aLocale)
Specify a locale that is to be used when comparing text attributes.
|
void |
setSkipCondition(String skipCondition)
Sets the skip condition.
|
getCountLimit, getDerefLinkFlag, getReturningAttributes, getReturningObjFlag, getSearchScope, getTimeLimit, setCountLimit, setDerefLinkFlag, setReturningAttributes, setReturningObjFlag, setSearchScope, setTimeLimitpublic static final int SUBTREE_WITH_UNIT_ROOTS_SCOPE
The search will not cross naming system boundaries.
The NamingEnumeration that results from search() using SUBTREE_WITH_UNIT_ROOTS_SCOPE contains elements with objects in the named context's subtree (including the named context) that satisfy the search filter specified in search() and that are not unit-internal nodes. The names of elements in the NamingEnumeration are relative to the named context.
The value of this constant is 3.
public static final int UNIT_ROOTS_ONLY_SCOPE
The NamingEnumeration that results from search() using UNIT_ROOTS_ONLY_SCOPE contains elements with objects in the named context's subtree (including the named context) that satisfy the search filter specified in search() and that are unit root nodes. The names of elements in the NamingEnumeration are relative to the named context.
The value of this constant is 4.
public static final int SUBTREE_WITHOUT_UNITS_SCOPE
The NamingEnumeration that results from search() using SUBTREE_WITHOUT_UNITS_SCOPE contains elements with objects in the named context's subtree (including the named context) that satisfy the search filter specified in search() and that are not unit root nodes and not unit internal nodes. The names of elements in the NamingEnumeration are relative to the named context.
The value of this constant is 5.
public static final int SUBTREE_ONLY_SCOPE
The NamingEnumeration that results from search() using SUBTREE_ONLY_SCOPE contains elements with objects in the named context's subtree that satisfy the search filter specified in search(). This is the same as with SUBTREE_SCOPE, except that the start node of the search is not included. The names of elements in the NamingEnumeration are relative to the named context.
The value of this constant is 6.
public static final int UPWARDS_TO_UNIT_ROOT_SCOPE
The names of elements in the NamingEnumeration are absolute names. The sequence of the objects in the result set corresponds to the search sequence: children first, parents last.
The value of this constant is 7.
public PcdSearchControls()
public PcdSearchControls(SearchControls controls)
controls - SearchControlspublic PcdSearchControls(PcdSearchControls controls)
controls - SearchControlspublic static final boolean isScopeValid(int aScope)
aScope - search control scope idpublic static String getScopeDescription(int scope)
scope - search control scope idpublic void setLocale(Locale aLocale)
aLocale - the locale to be usedpublic Locale getLocale()
setLocale(java.util.Locale)public String getSkipCondition()
public void setSkipCondition(String skipCondition)
skipCondition - The skipCondition to set; it uses the same syntax as the
filterExpression (RFC 2254)public boolean getDoPhysicalTreeTraversal()
setDoPhysicalTreeTraversal(boolean)public void setDoPhysicalTreeTraversal(boolean doPhysicalTreeTraversal)
doPhysicalTreeTraversal - if true browse through the physical representation of
deltalinks| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS
|
[sap.com]
|
api
|
BC-PIN-PCD
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/pcd/gl/api
|
-
|
EP-PIN
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/pcd/gl/api
|
api
|
EP-PIN
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/semantics/api
|
api
|
EP-PIN
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice