|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kew.rule.AbstractWorkflowAttribute
org.kuali.rice.kew.rule.GenericWorkflowAttribute
org.kuali.rice.kew.rule.GenericRoleAttribute
org.kuali.rice.ken.kew.ChannelReviewerRoleAttribute
public class ChannelReviewerRoleAttribute
KEW RoleAttribute implementation that is responsible for encapsulating a list of users and groups which are reviewers for a Notification Channel. This implementation relies on the default XML form implemented by GenericRoleAttribute
| Field Summary |
|---|
| Fields inherited from class org.kuali.rice.kew.rule.GenericWorkflowAttribute |
|---|
attributeName, content, log |
| Fields inherited from class org.kuali.rice.kew.rule.AbstractWorkflowAttribute |
|---|
required |
| Constructor Summary | |
|---|---|
ChannelReviewerRoleAttribute()
Constructs a ChannelReviewerRoleAttribute.java. |
|
| Method Summary | |
|---|---|
Map<String,String> |
getProperties()
Template method for subclasses to override to expose attribute state |
List<String> |
getQualifiedRoleNames(String roleName,
DocumentContent documentContent)
Returns a String which represent the qualified role name of this role for the given roleName and docContent. |
List<Role> |
getRoleNames()
List of Roles this RoleAttribute supports |
boolean |
isMatch(DocumentContent docContent,
List<RuleExtension> ruleExtensions)
Returns true if this Attribute finds a match in the given DocContent. |
protected List<Id> |
resolveRecipients(RouteContext routeContext,
QualifiedRoleName qualifiedRoleName)
This looks at the reviewers list passed through from KEN and then resolves the individuals that need to actually approve the message. |
| Methods inherited from class org.kuali.rice.kew.rule.GenericRoleAttribute |
|---|
generateQualifiedRoleNames, getLabelForQualifiedRoleName, getRoleNameQualifiers, resolveQualifiedRole, resolveQualifiedRole |
| Methods inherited from class org.kuali.rice.kew.rule.GenericWorkflowAttribute |
|---|
getDocContent, getRuleExtensionValues, isMatch, isMatch, validateRoutingData, validateRuleData |
| Methods inherited from class org.kuali.rice.kew.rule.AbstractWorkflowAttribute |
|---|
getIdFieldName, getLockFieldName, getRoutingDataRows, getRuleRows, isRequired, setRequired |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChannelReviewerRoleAttribute()
| Method Detail |
|---|
public boolean isMatch(DocumentContent docContent,
List<RuleExtension> ruleExtensions)
WorkflowAttribute
isMatch in interface WorkflowAttributeisMatch in class GenericRoleAttributeGenericRoleAttribute.isMatch(org.kuali.rice.kew.routeheader.DocumentContent, java.util.List)public Map<String,String> getProperties()
GenericWorkflowAttribute
getProperties in class GenericWorkflowAttributeGenericWorkflowAttribute.getProperties()public List<Role> getRoleNames()
RoleAttributeRoles this RoleAttribute supports
Roles this RoleAttribute supportsRoleAttribute.getRoleNames()
public List<String> getQualifiedRoleNames(String roleName,
DocumentContent documentContent)
RoleAttribute
getQualifiedRoleNames in interface RoleAttributegetQualifiedRoleNames in class GenericRoleAttributeroleName - the role name (without class prefix)documentContent - the document contentGenericRoleAttribute.getQualifiedRoleNames(java.lang.String, org.kuali.rice.kew.routeheader.DocumentContent)
protected List<Id> resolveRecipients(RouteContext routeContext,
QualifiedRoleName qualifiedRoleName)
resolveRecipients in class GenericRoleAttributeGenericRoleAttribute.resolveRecipients(org.kuali.rice.kew.engine.RouteContext, org.kuali.rice.kew.rule.QualifiedRoleName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||