|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<RuleThenEnum>
edu.internet2.middleware.grouper.rules.RuleThenEnum
public enum RuleThenEnum
built in if condition
Enum Constant Summary | |
---|---|
addMemberToOwnerGroup
add the member (the current one being acted on) to the owner group |
|
assignAttributeDefPrivilegeToAttributeDefId
assign privilege(s) to subject on the attributeDef being acted on (attributeDefId) |
|
assignDisabledDaysToOwnerPermissionDefAssignments
assign a disabled date if there is a permission assignment to the owner attribute def |
|
assignGroupPrivilegeToGroupId
assign privilege(s) to subject on the group being acted on (groupId) |
|
assignMembershipDisabledDaysForOwnerGroupId
assign a disabled date if there is a membership in this group to the owner group ${ruleElUtils.assignMembershipDisabledDaysForGroupId(ownerGroupId, memberId, 7)} |
|
assignStemPrivilegeToStemId
assign privilege(s) to subject on the stem being acted on (stemId) |
|
reassignAttributeDefPrivilegesIfFromGroup
|
|
reassignGroupPrivilegesIfFromGroup
|
|
reassignStemPrivilegesIfFromGroup
|
|
removeMemberFromOwnerGroup
remove the member (the current one being acted on) from the owner group |
|
removeMemberFromOwnerPermissionDefAssignments
remove the member (the current one being acted on) from the roles and assignments associated with the owner attribute definition |
|
sendEmail
send an email about this action. |
|
veto
veto the operation (note, must be a transactional check for this to work) |
Method Summary | |
---|---|
abstract java.lang.Object |
fireRule(RuleDefinition ruleDefinition,
RuleEngine ruleEngine,
RulesBean rulesBean,
java.lang.StringBuilder logDataForThisDefinition)
fire this rule |
java.lang.String |
validate(RuleDefinition ruleDefinition)
validate the rule |
static RuleThenEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static RuleThenEnum |
valueOfIgnoreCase(java.lang.String string,
boolean exceptionOnNull)
do a case-insensitive matching |
static RuleThenEnum[] |
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 RuleThenEnum assignDisabledDaysToOwnerPermissionDefAssignments
public static final RuleThenEnum assignMembershipDisabledDaysForOwnerGroupId
public static final RuleThenEnum veto
public static final RuleThenEnum removeMemberFromOwnerPermissionDefAssignments
public static final RuleThenEnum removeMemberFromOwnerGroup
public static final RuleThenEnum addMemberToOwnerGroup
public static final RuleThenEnum reassignGroupPrivilegesIfFromGroup
public static final RuleThenEnum reassignAttributeDefPrivilegesIfFromGroup
public static final RuleThenEnum reassignStemPrivilegesIfFromGroup
public static final RuleThenEnum assignGroupPrivilegeToGroupId
public static final RuleThenEnum assignStemPrivilegeToStemId
public static final RuleThenEnum assignAttributeDefPrivilegeToAttributeDefId
public static final RuleThenEnum sendEmail
send an email about this action. arg0: comma separated email addresses to send to. ${subjectEmail} is a variable which evaluates to the email of the subject (if applicable) arg1: subject (some text/EL), or template: templateName arg2: body (some text/EL), or template: templateName The template name comes from the directory in grouper.properties: rules.emailTemplatesFolder
Method Detail |
---|
public static RuleThenEnum[] values()
for (RuleThenEnum c : RuleThenEnum.values()) System.out.println(c);
public static RuleThenEnum 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 static RuleThenEnum valueOfIgnoreCase(java.lang.String string, boolean exceptionOnNull)
string
- exceptionOnNull
- will not allow null or blank entries
public abstract java.lang.Object fireRule(RuleDefinition ruleDefinition, RuleEngine ruleEngine, RulesBean rulesBean, java.lang.StringBuilder logDataForThisDefinition)
ruleDefinition
- ruleEngine
- rulesBean
- logDataForThisDefinition
- is null if not logging, and non null if things should be appended
public java.lang.String validate(RuleDefinition ruleDefinition)
ruleDefinition
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |