com.adobe.idp.um.api.infomodel
Class RoleSearchFilter

java.lang.Object
  extended by com.adobe.idp.um.api.infomodel.GenericSearchFilter
      extended by com.adobe.idp.um.api.infomodel.RoleSearchFilter
All Implemented Interfaces:
java.io.Serializable

public class RoleSearchFilter
extends GenericSearchFilter
implements java.io.Serializable

The RoleSearchFilter class is a filter that allows you to specify role search criteria. Using an instance of this type, you can search for roles assigned to LiveCycle ES2 users. For more information on sorting or specifying the number of results, see GenericSearchFilter.

To see an instance of this type used in a code example, see the Managing roles and permissions using the Java API quick start in Programming with LiveCycle ES4.

See Also:
Serialized Form

Field Summary
static java.lang.String CANNONICAL_NAME
          Search according to the canonical name.
static java.lang.String COMMON_NAME
          Search according to the common name.
static java.lang.String MUTABLE
          Search according to whether the role is mutable.
static java.lang.String ROLE_TYPE_ALL
          Search according to all role types.
static java.lang.String ROLE_TYPE_IMMUTABLE
          Search according to an immutable role type.
static java.lang.String ROLE_TYPE_MUTABLE
          Search according to a mutable role type.
static java.lang.Object SORT_Mutable
          Sort according to whether the role is mutable.
static java.lang.Object SORT_RoleId
          Sort according to the canonical name.
static java.lang.Object SORT_RoleName
          Sort according to the common name.
 
Constructor Summary
RoleSearchFilter()
          The default constructor for RoleSearchFilter.
 
Method Summary
 java.lang.String getRelAppName()
          Sets the reliant application name for which the role is being defined.
 java.lang.String getRoleId()
          Retrieves the role identifier.
 java.lang.String getRoleName()
          Retrieves the role name.
 java.lang.String getRoleType()
          Retrieves the role type search scope.
 void setRelAppName(java.lang.String relAppName)
          Sets the reliant application name.
 void setRoleId(java.lang.String roleIdFrag)
          Performs a wildcard search on a role identifier (or canonical name).
 void setRoleName(java.lang.String roleName)
          Performs a wildcard search on the previously localized role name (common name).
 void setRoleType(java.lang.String roleType)
          Sets the role type search scope.
 void setSpecificRoleId(java.lang.String roleId)
          Restricts search results based on a specific role identifier (or canonical name).
 
Methods inherited from class com.adobe.idp.um.api.infomodel.GenericSearchFilter
getResultsMax, getResultsOffset, getSearches, getSearchType, getSearchVal, getSortField, isSearch, isSortAscending, setResultsMax, setResultsOffset, setSort, setSortAscending, setSortField
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROLE_TYPE_MUTABLE

public static final java.lang.String ROLE_TYPE_MUTABLE
Search according to a mutable role type.

See Also:
Constant Field Values

ROLE_TYPE_IMMUTABLE

public static final java.lang.String ROLE_TYPE_IMMUTABLE
Search according to an immutable role type.

See Also:
Constant Field Values

ROLE_TYPE_ALL

public static final java.lang.String ROLE_TYPE_ALL
Search according to all role types.

See Also:
Constant Field Values

COMMON_NAME

public static final java.lang.String COMMON_NAME
Search according to the common name.

See Also:
Constant Field Values

CANNONICAL_NAME

public static final java.lang.String CANNONICAL_NAME
Search according to the canonical name.

See Also:
Constant Field Values

MUTABLE

public static final java.lang.String MUTABLE
Search according to whether the role is mutable.

See Also:
Constant Field Values

SORT_RoleId

public static final java.lang.Object SORT_RoleId
Sort according to the canonical name.


SORT_RoleName

public static final java.lang.Object SORT_RoleName
Sort according to the common name.


SORT_Mutable

public static final java.lang.Object SORT_Mutable
Sort according to whether the role is mutable.

Constructor Detail

RoleSearchFilter

public RoleSearchFilter()
The default constructor for RoleSearchFilter. Sorts by RoleSearchFilter.SORT_RoleName in ascending order.

Method Detail

setRoleName

public void setRoleName(java.lang.String roleName)
Performs a wildcard search on the previously localized role name (common name). For example, roleName = dmin matches Administrator Role. To see this method used in a code example, see the Managing roles and permissions using the Java API quick start in Programming with LiveCycle ES4.

Parameters:
roleName - A string value that specifies the wildcard characters on which to search for the previously localized role name.

setSpecificRoleId

public void setSpecificRoleId(java.lang.String roleId)
Restricts search results based on a specific role identifier (or canonical name).

Parameters:
roleId - A string value that specifies the specific role identifier.

setRoleId

public void setRoleId(java.lang.String roleIdFrag)
Performs a wildcard search on a role identifier (or canonical name). For example, roleIdFrag = UMFGACTest_ matches UMFGACTest_ROLE_1137665264546.

Parameters:
roleIdFrag - A string value that specifies the role name fragment on which to search for the role identifier.

setRelAppName

public void setRelAppName(java.lang.String relAppName)
Sets the reliant application name.

Parameters:
relAppName - A string value that specifies the reliant application name.

getRelAppName

public java.lang.String getRelAppName()
Sets the reliant application name for which the role is being defined.

Returns:
A string value that specifies the reliant application name.

setRoleType

public void setRoleType(java.lang.String roleType)
Sets the role type search scope. For example, ROLE_TYPE_MUTABLE, ROLE_TYPE_IMMUTABLE, and ROLE_TYPE_ALL.

Parameters:
roleType - A string value that specifies the role type search scope.

getRoleType

public java.lang.String getRoleType()
Retrieves the role type search scope.

Returns:
A string value that specifies the role type search scope.

getRoleName

public java.lang.String getRoleName()
Retrieves the role name. To see this method used in a code example, see the Managing roles and permissions using the Java API quick start in Programming with LiveCycle ES4.

Returns:
A string value that specifies the role name.

getRoleId

public java.lang.String getRoleId()
Retrieves the role identifier.

Returns:
A string value that specifies the role identifier.


[an error occurred while processing this directive] [an error occurred while processing this directive]