|
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.Objectcom.sapportals.portal.pcd.gl.IPcdAttribute.SEARCH
public static class IPcdAttribute.SEARCH
This subclass holds search relevant constants.
With the introduction of the constants
COMPARE_STRENGTH_PRIMARY,
COMPARE_STRENGTH_SECONDARY and
COMPARE_STRENGTH_TERTIARY the Pcd GL is able to perform
language-sensitive String searching and String comparison that is used in
the various expressions offered during search. Often the 'normal'
equals,compare or indexOf
methods available for Strings are not sufficent when there are
requirements for a language-sensitive search. The following lists those
issues which are applicable to text searching:
The search functionality uses the compare methods of
Collatorand the
CollationElementIteratorwhenever it comes to a search
in String- or Text-valued attributes.
Example for a use in filterExpressions:
(&(com.sap.portal.pcd.gl.ObjectClass=myObjectClass)(title:com.sap.portal.pcd.gl.compareStrengthSecondary:=*my*title*))
This filter string searches for all objects of the specified objectclass
containing the patterns my and title in the title
attribute ignoring case differences. Thus also returning objects with
title e.g. mySpecialTitle .
Please keep in mind that when using COMPARE_STRENGTH_PRIMARY
and COMPARE_STRENGTH_SECONDARY constants in addition with
attributes IPcdAttribute.ATOMIC_NAMEand IPcdAttribute.OBJECT_CLASSthe Pcd GL is
unable to perform a fast database search.
| Field Summary | |
|---|---|
static String |
COMPARE_STRENGTH_PRIMARY
A CompareStrength value indicates the level at which two collation elements should be considered equal. |
static String |
COMPARE_STRENGTH_SECONDARY
A CompareStrength value indicates the level at which two collation elements should be considered equal. |
static String |
COMPARE_STRENGTH_TERTIARY
A CompareStrength value indicates the level at which two collation elements should be considered equal. |
| Constructor Summary | |
|---|---|
IPcdAttribute.SEARCH()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String COMPARE_STRENGTH_PRIMARY
COMPARE_STRENGTH_PRIMARY ignores case and accents.
public static final String COMPARE_STRENGTH_SECONDARY
COMPARE_STRENGTH_SECONDARY ignores case but considers
accents.
public static final String COMPARE_STRENGTH_TERTIARY
COMPARE_STRENGTH_TERTIARY considers case, accents and
other differences. It's the highest level of equality and the default
if no level is specified.
| Constructor Detail |
|---|
public IPcdAttribute.SEARCH()
| 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 | |||||||||