|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.naming.directory.SearchControls
com.sapportals.portal.pcd.gl.PcdSearchControls
public class PcdSearchControls
Pcd-specific extension of javax.naming.directory.SearchControls. This class defines additional SearchScopes and allows to specify a Locale and a skip condition. By default, it sets the returningAttributes to an empty String array, indicating that no attributes are to be returned.
| Field Summary | |
|---|---|
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(!) |
| Fields inherited from class javax.naming.directory.SearchControls |
|---|
OBJECT_SCOPE, ONELEVEL_SCOPE, SUBTREE_SCOPE |
| Constructor Summary | |
|---|---|
PcdSearchControls()
Initializes the returning attributes with an empty String array, thus indicating that by default no attributes should be returned. |
|
PcdSearchControls(PcdSearchControls controls)
|
|
PcdSearchControls(SearchControls controls)
|
|
| Method Summary | |
|---|---|
boolean |
getDoPhysicalTreeTraversal()
|
Locale |
getLocale()
|
static String |
getScopeDescription(int scope)
|
String |
getSkipCondition()
Returns the skipCondition. |
static boolean |
isScopeValid(int aScope)
|
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. |
| Methods inherited from class javax.naming.directory.SearchControls |
|---|
getCountLimit, getDerefLinkFlag, getReturningAttributes, getReturningObjFlag, getSearchScope, getTimeLimit, setCountLimit, setDerefLinkFlag, setReturningAttributes, setReturningObjFlag, setSearchScope, setTimeLimit |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public 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.
| Constructor Detail |
|---|
public PcdSearchControls()
public PcdSearchControls(SearchControls controls)
public PcdSearchControls(PcdSearchControls controls)
| Method Detail |
|---|
public static final boolean isScopeValid(int aScope)
aScope -
public static String getScopeDescription(int scope)
scope -
public void setLocale(Locale aLocale)
aLocale - public 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 - | 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
|
|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||