org.kuali.rice.kim.service.impl
Enum RoleServiceBase.RoleDaoAction

java.lang.Object
  extended by java.lang.Enum<RoleServiceBase.RoleDaoAction>
      extended by org.kuali.rice.kim.service.impl.RoleServiceBase.RoleDaoAction
All Implemented Interfaces:
Serializable, Comparable<RoleServiceBase.RoleDaoAction>
Enclosing class:
RoleServiceBase

protected static enum RoleServiceBase.RoleDaoAction
extends Enum<RoleServiceBase.RoleDaoAction>

A helper enumeration for indicating which KimRoleDao method to use when attempting to get role/delegation-related lists that are not in the cache.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Enum Constant Summary
DELEGATION_GROUPS_FOR_GROUP_IDS_AND_DELEGATION_IDS
           
DELEGATION_MEMBERS_FOR_DELEGATION_IDS
           
DELEGATION_PRINCIPALS_FOR_PRINCIPAL_ID_AND_DELEGATION_IDS
           
ROLE_GROUPS_FOR_GROUP_IDS_AND_ROLE_IDS
           
ROLE_MEMBERS_FOR_ROLE_IDS
           
ROLE_MEMBERS_FOR_ROLE_IDS_WITH_FILTERS
           
ROLE_MEMBERSHIPS_FOR_ROLE_IDS_AS_MEMBERS
           
ROLE_PRINCIPALS_FOR_PRINCIPAL_ID_AND_ROLE_IDS
           
 
Field Summary
 String DAO_ACTION_CACHE_PREFIX
           
 
Method Summary
static RoleServiceBase.RoleDaoAction valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RoleServiceBase.RoleDaoAction[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ROLE_PRINCIPALS_FOR_PRINCIPAL_ID_AND_ROLE_IDS

public static final RoleServiceBase.RoleDaoAction ROLE_PRINCIPALS_FOR_PRINCIPAL_ID_AND_ROLE_IDS

ROLE_GROUPS_FOR_GROUP_IDS_AND_ROLE_IDS

public static final RoleServiceBase.RoleDaoAction ROLE_GROUPS_FOR_GROUP_IDS_AND_ROLE_IDS

ROLE_MEMBERS_FOR_ROLE_IDS

public static final RoleServiceBase.RoleDaoAction ROLE_MEMBERS_FOR_ROLE_IDS

ROLE_MEMBERSHIPS_FOR_ROLE_IDS_AS_MEMBERS

public static final RoleServiceBase.RoleDaoAction ROLE_MEMBERSHIPS_FOR_ROLE_IDS_AS_MEMBERS

ROLE_MEMBERS_FOR_ROLE_IDS_WITH_FILTERS

public static final RoleServiceBase.RoleDaoAction ROLE_MEMBERS_FOR_ROLE_IDS_WITH_FILTERS

DELEGATION_PRINCIPALS_FOR_PRINCIPAL_ID_AND_DELEGATION_IDS

public static final RoleServiceBase.RoleDaoAction DELEGATION_PRINCIPALS_FOR_PRINCIPAL_ID_AND_DELEGATION_IDS

DELEGATION_GROUPS_FOR_GROUP_IDS_AND_DELEGATION_IDS

public static final RoleServiceBase.RoleDaoAction DELEGATION_GROUPS_FOR_GROUP_IDS_AND_DELEGATION_IDS

DELEGATION_MEMBERS_FOR_DELEGATION_IDS

public static final RoleServiceBase.RoleDaoAction DELEGATION_MEMBERS_FOR_DELEGATION_IDS
Field Detail

DAO_ACTION_CACHE_PREFIX

public final String DAO_ACTION_CACHE_PREFIX
Method Detail

values

public static RoleServiceBase.RoleDaoAction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (RoleServiceBase.RoleDaoAction c : RoleServiceBase.RoleDaoAction.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RoleServiceBase.RoleDaoAction valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.