public enum RuleThenEnum extends Enum<RuleThenEnum>
Enum Constant and Description |
---|
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)
|
Modifier and Type | Method and Description |
---|---|
abstract Object |
fireRule(RuleDefinition ruleDefinition,
RuleEngine ruleEngine,
RulesBean rulesBean,
StringBuilder logDataForThisDefinition)
fire this rule
|
String |
validate(RuleDefinition ruleDefinition)
validate the rule
|
static RuleThenEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuleThenEnum |
valueOfIgnoreCase(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.
|
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
public static RuleThenEnum[] values()
for (RuleThenEnum c : RuleThenEnum.values()) System.out.println(c);
public static RuleThenEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static RuleThenEnum valueOfIgnoreCase(String string, boolean exceptionOnNull)
string
- exceptionOnNull
- will not allow null or blank entriespublic abstract Object fireRule(RuleDefinition ruleDefinition, RuleEngine ruleEngine, RulesBean rulesBean, StringBuilder logDataForThisDefinition)
ruleDefinition
- ruleEngine
- rulesBean
- logDataForThisDefinition
- is null if not logging, and non null if things should be appendedpublic String validate(RuleDefinition ruleDefinition)
ruleDefinition
- Copyright © 2016 Internet2. All rights reserved.