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

This filter allows you specify role search criteria to be AND-ed together. For more information on sorting or specifying the number of results, see GenericSearchFilter.

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.
 
Fields inherited from class com.adobe.idp.um.api.infomodel.GenericSearchFilter
SEARCHTYPE_EQUALS, SEARCHTYPE_GREATER, SEARCHTYPE_GREATER_EQUALS, SEARCHTYPE_LESS, SEARCHTYPE_LESS_EQUALS, SEARCHTYPE_LIKE, SEARCHTYPE_LIKE_ENDS_WITH, SEARCHTYPE_LIKE_STARTS_WITH
 
Constructor Summary
RoleSearchFilter()
          Default constructor.
 
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)
          Perform a wildcard search on a role identifier (or canonical name).
 void setRoleName(java.lang.String roleName)
          Perform 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)
          Restrict 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, isMatchExactCriteria, isSearch, isSortAscending, setMatchExactCriteria, 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()
Default constructor. Sorts by RoleSearchFilter.SORT_RoleName in ascending order.

Method Detail

setRoleName

public void setRoleName(java.lang.String roleName)
Perform a wildcard search on the previously localized role name (common name).

Parameters:
roleName - The wildcard characters on which to search for the previously localized role name.

setSpecificRoleId

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

Parameters:
roleId - The specific role identifier.

setRoleId

public void setRoleId(java.lang.String roleIdFrag)
Perform a wildcard search on a role identifier (or canonical name).

Parameters:
roleIdFrag - 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 - The reliant application name.

getRelAppName

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

Returns:
The reliant application name.

setRoleType

public void setRoleType(java.lang.String roleType)
Sets the role type search scope.

Parameters:
roleType - The role type search scope.

getRoleType

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

Returns:
The role type search scope.

getRoleName

public java.lang.String getRoleName()
Retrieves the role name.

Returns:
The role name.

getRoleId

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

Returns:
The role identifier.