com.filenet.api.constants
Class PrincipalSearchAttribute
- java.lang.Object
-
- com.filenet.api.constants.PrincipalSearchAttribute
-
- All Implemented Interfaces:
- java.io.Serializable
public class PrincipalSearchAttribute extends java.lang.Object implements java.io.SerializableDetermines which (if any) identifying attribute is used for a specified search pattern. This class is used byRealm.findUsersandRealm.findGroups.
-
-
Field Summary
Fields Modifier and Type Field and Description static PrincipalSearchAttributeDISPLAY_NAMEA constant representing a PrincipalSearchAttribute instance of type DISPLAY_NAME.static intDISPLAY_NAME_AS_INTAn integer associated with the DISPLAY_NAME instance of this class.static PrincipalSearchAttributeNONEA constant representing a PrincipalSearchAttribute instance of type NONE.static intNONE_AS_INTAn integer associated with the NONE instance of this class.static PrincipalSearchAttributeSHORT_NAMEA constant representing a PrincipalSearchAttribute instance of type SHORT_NAME.static intSHORT_NAME_AS_INTAn integer associated with the SHORT_NAME instance of this class.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static PrincipalSearchAttributegetInstanceFromInt(int value)Gets the instance of this class using its associated integer value (the *_AS_INT fields).intgetValue()Returns an integer value associated with a specific instance of this class.java.lang.StringtoString()Returns a String representation of this instance.
-
-
-
Field Detail
-
NONE_AS_INT
public static final int NONE_AS_INT
An integer associated with the NONE instance of this class.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.
- See Also:
- Constant Field Values
-
NONE
public static final PrincipalSearchAttribute NONE
A constant representing a PrincipalSearchAttribute instance of type NONE. This specifies that no identifying attribute is used for the search pattern.- See Also:
getValue(),getInstanceFromInt(int)
-
SHORT_NAME_AS_INT
public static final int SHORT_NAME_AS_INT
An integer associated with the SHORT_NAME instance of this class.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.
- See Also:
- Constant Field Values
-
SHORT_NAME
public static final PrincipalSearchAttribute SHORT_NAME
A constant representing a PrincipalSearchAttribute instance of type SHORT_NAME. This specifies that the short name is used for the search pattern.- See Also:
getValue(),getInstanceFromInt(int)
-
DISPLAY_NAME_AS_INT
public static final int DISPLAY_NAME_AS_INT
An integer associated with the DISPLAY_NAME instance of this class.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.
- See Also:
- Constant Field Values
-
DISPLAY_NAME
public static final PrincipalSearchAttribute DISPLAY_NAME
A constant representing a PrincipalSearchAttribute instance of type DISPLAY_NAME. This specifies that the display name is used for the search pattern.- See Also:
getValue(),getInstanceFromInt(int)
-
-
Method Detail
-
getValue
public int getValue()
Returns an integer value associated with a specific instance of this class.- Returns:
- An integer representing a specific instance of this class.
-
getInstanceFromInt
public static PrincipalSearchAttribute getInstanceFromInt(int value)
Gets the instance of this class using its associated integer value (the *_AS_INT fields).- Parameters:
value- An integer representing a particular static instance of this class.- Returns:
- The PrincipalSearchAttribute instance referenced.
- Throws:
EngineRuntimeException- Thrown when the parameter is null or invalid.
-
toString
public java.lang.String toString()
Returns a String representation of this instance.- Overrides:
toStringin classjava.lang.Object- Returns:
- A String representing the instance.
-
-