public class PrincipalSearchType
extends java.lang.Object
implements java.io.Serializable
Realm.findUsers(java.lang.String, com.filenet.api.constants.PrincipalSearchType, com.filenet.api.constants.PrincipalSearchAttribute, com.filenet.api.constants.PrincipalSearchSortType, java.lang.Integer, com.filenet.api.property.PropertyFilter)
and Realm.findGroups(java.lang.String, com.filenet.api.constants.PrincipalSearchType, com.filenet.api.constants.PrincipalSearchAttribute, com.filenet.api.constants.PrincipalSearchSortType, java.lang.Integer, com.filenet.api.property.PropertyFilter)
.
Note: If the Content Engine's directory service provider is configured for IBM Virtual Member Manager
(VMM)with IBM Connections integration, then search type support is limited to the following values:
PrincipalSearchType.EXACT
or PrincipalSearchType.PREFIX_MATCH
.
Modifier and Type | Field and Description |
---|---|
static PrincipalSearchType |
CONTAINS
A constant representing a PrincipalSearchType instance of type CONTAINS.
|
static int |
CONTAINS_AS_INT
An integer associated with the CONTAINS instance of this class.
|
static PrincipalSearchType |
CUSTOM
A constant representing a PrincipalSearchType instance of type CUSTOM.
|
static int |
CUSTOM_AS_INT
An integer associated with the CUSTOM instance of this class.
|
static PrincipalSearchType |
EXACT
A constant representing a PrincipalSearchType instance of type EXACT.
|
static int |
EXACT_AS_INT
An integer associated with the EXACT instance of this class.
|
static PrincipalSearchType |
NONE
A constant representing a PrincipalSearchType instance of type NONE.
|
static int |
NONE_AS_INT
An integer associated with the NONE instance of this class.
|
static PrincipalSearchType |
PREFIX_MATCH
A constant representing a PrincipalSearchType instance of type PREFIX_MATCH.
|
static int |
PREFIX_MATCH_AS_INT
An integer associated with the PREFIX_MATCH instance of this class.
|
static PrincipalSearchType |
SUFFIX_MATCH
A constant representing a PrincipalSearchType instance of type SUFFIX_MATCH.
|
static int |
SUFFIX_MATCH_AS_INT
An integer associated with the SUFFIX_MATCH instance of this class.
|
Modifier and Type | Method and Description |
---|---|
static PrincipalSearchType |
getInstanceFromInt(int value)
Gets the instance of this class using its associated integer value (the *_AS_INT fields).
|
int |
getValue()
Returns an integer value associated with a specific instance of this class.
|
java.lang.String |
toString()
Returns a String representation of this instance.
|
public static final int NONE_AS_INT
Use the static instances of this class, rather than the associated integer values. The integer values risk binary incompatibility (but not source incompatibility) across product releases.
public static final PrincipalSearchType NONE
getValue()
,
getInstanceFromInt(int)
public static final int CUSTOM_AS_INT
Use the static instances of this class, rather than the associated integer values. The integer values risk binary incompatibility (but not source incompatibility) across product releases.
public static final PrincipalSearchType CUSTOM
getValue()
,
getInstanceFromInt(int)
public static final int PREFIX_MATCH_AS_INT
Use the static instances of this class, rather than the associated integer values. The integer values risk binary incompatibility (but not source incompatibility) across product releases.
public static final PrincipalSearchType PREFIX_MATCH
getValue()
,
getInstanceFromInt(int)
public static final int SUFFIX_MATCH_AS_INT
Use the static instances of this class, rather than the associated integer values. The integer values risk binary incompatibility (but not source incompatibility) across product releases.
public static final PrincipalSearchType SUFFIX_MATCH
getValue()
,
getInstanceFromInt(int)
public static final int CONTAINS_AS_INT
Use the static instances of this class, rather than the associated integer values. The integer values risk binary incompatibility (but not source incompatibility) across product releases.
public static final PrincipalSearchType CONTAINS
getValue()
,
getInstanceFromInt(int)
public static final int EXACT_AS_INT
Use the static instances of this class, rather than the associated integer values. The integer values risk binary incompatibility (but not source incompatibility) across product releases.
public static final PrincipalSearchType EXACT
getValue()
,
getInstanceFromInt(int)
public int getValue()
public static PrincipalSearchType getInstanceFromInt(int value)
value
- An integer representing a particular static instance of this class.EngineRuntimeException
- Thrown when the parameter is null.public java.lang.String toString()
toString
in class java.lang.Object
© Copyright IBM Corporation 2006, 2015. All rights reserved.