|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<RuleCheckType>
edu.internet2.middleware.grouper.rules.RuleCheckType
public enum RuleCheckType
type of checking for rules
Enum Constant Summary | |
---|---|
attributeDefCreate
if a group is created |
|
flattenedMembershipAdd
if there is a membership remove flattened |
|
flattenedMembershipAddInFolder
if there is a membership(flattened) add of a group in a stem |
|
flattenedMembershipRemove
if there is a membership remove flattened |
|
flattenedMembershipRemoveInFolder
if there is a membership(flattened) remove of a group in a stem |
|
groupCreate
if a group is created |
|
membershipAdd
if there is a membership add in transaction |
|
membershipAddInFolder
if there is a membership remove in transaction of remove of a group in a stem |
|
membershipDisabledDate
query daily for memberships that are enabled, but have a disabled date coming up |
|
membershipRemove
if there is a membership remove in transaction of remove |
|
membershipRemoveInFolder
if there is a membership remove in transaction of remove of a group in a stem |
|
permissionAssignToSubject
if there is a permission assign in transaction to a subject, not to a role |
|
permissionDisabledDate
query daily for permissions that are enabled, but have a disabled date coming up |
|
stemCreate
if a stem is created |
|
subjectAssignInStem
if there is a membership add, privilege add, permission add, etc in transaction |
Method Summary | |
---|---|
abstract void |
addElVariables(RuleDefinition ruleDefinition,
java.util.Map<java.lang.String,java.lang.Object> variableMap,
RulesBean rulesBean,
boolean hasAccessToElApi)
add EL variables to the substitute map |
RuleCheck |
checkKey(RuleDefinition ruleDefinition)
get the check key for the index |
static RuleCheck |
checkKeyForAttributeDefinition(RuleDefinition ruleDefinition)
|
static RuleCheck |
checkKeyForStem(RuleDefinition ruleDefinition)
|
abstract boolean |
isCheckOwnerTypeAttributeDef(RuleDefinition ruleDefinition)
Whether or not the rule check owner type is an attribute def |
abstract boolean |
isCheckOwnerTypeGroup(RuleDefinition ruleDefinition)
Whether or not the rule check owner type is a group |
abstract boolean |
isCheckOwnerTypeStem(RuleDefinition ruleDefinition)
Whether or not the rule check owner type is a stem |
abstract java.util.Set<RuleDefinition> |
ruleDefinitions(RuleEngine ruleEngine,
RulesBean rulesBean)
get the check object from the rules bean |
void |
runDaemon(RuleDefinition ruleDefinition)
run the daemon to sync up the state |
java.lang.String |
validate(boolean allowCheckArgs,
RuleDefinition ruleDefinition,
RuleCheck ruleCheck,
boolean requireStemScope,
boolean ownerIsGroup,
boolean ownerIsStem,
boolean ownerIsAttributeDef)
validate this check type |
abstract java.lang.String |
validate(RuleDefinition ruleDefinition,
RuleCheck ruleCheck)
validate this check type |
static RuleCheckType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static RuleCheckType |
valueOfIgnoreCase(java.lang.String string,
boolean exceptionOnNull)
do a case-insensitive matching |
static RuleCheckType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final RuleCheckType permissionDisabledDate
public static final RuleCheckType membershipDisabledDate
public static final RuleCheckType flattenedMembershipAddInFolder
public static final RuleCheckType flattenedMembershipRemoveInFolder
public static final RuleCheckType flattenedMembershipRemove
public static final RuleCheckType membershipRemove
public static final RuleCheckType membershipRemoveInFolder
public static final RuleCheckType groupCreate
public static final RuleCheckType stemCreate
public static final RuleCheckType membershipAdd
public static final RuleCheckType subjectAssignInStem
public static final RuleCheckType flattenedMembershipAdd
public static final RuleCheckType membershipAddInFolder
public static final RuleCheckType attributeDefCreate
public static final RuleCheckType permissionAssignToSubject
Method Detail |
---|
public static RuleCheckType[] values()
for (RuleCheckType c : RuleCheckType.values()) System.out.println(c);
public static RuleCheckType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic RuleCheck checkKey(RuleDefinition ruleDefinition)
ruleDefinition
-
public abstract java.lang.String validate(RuleDefinition ruleDefinition, RuleCheck ruleCheck)
ruleDefinition
- ruleCheck
-
public abstract java.util.Set<RuleDefinition> ruleDefinitions(RuleEngine ruleEngine, RulesBean rulesBean)
ruleEngine
- rulesBean
-
public abstract void addElVariables(RuleDefinition ruleDefinition, java.util.Map<java.lang.String,java.lang.Object> variableMap, RulesBean rulesBean, boolean hasAccessToElApi)
ruleDefinition
- variableMap
- rulesBean
- hasAccessToElApi
- public abstract boolean isCheckOwnerTypeGroup(RuleDefinition ruleDefinition)
ruleDefinition
-
public abstract boolean isCheckOwnerTypeStem(RuleDefinition ruleDefinition)
ruleDefinition
-
public abstract boolean isCheckOwnerTypeAttributeDef(RuleDefinition ruleDefinition)
ruleDefinition
-
public java.lang.String validate(boolean allowCheckArgs, RuleDefinition ruleDefinition, RuleCheck ruleCheck, boolean requireStemScope, boolean ownerIsGroup, boolean ownerIsStem, boolean ownerIsAttributeDef)
allowCheckArgs
- ruleDefinition
- ruleCheck
- requireStemScope
- true to require, false to require blankownerIsGroup
- ownerIsStem
- ownerIsAttributeDef
-
public static RuleCheckType valueOfIgnoreCase(java.lang.String string, boolean exceptionOnNull)
string
- exceptionOnNull
- will not allow null or blank entries
public void runDaemon(RuleDefinition ruleDefinition)
ruleDefinition
- public static RuleCheck checkKeyForStem(RuleDefinition ruleDefinition)
ruleDefinition
-
public static RuleCheck checkKeyForAttributeDefinition(RuleDefinition ruleDefinition)
ruleDefinition
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |