|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 Role s 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 WorkflowAttribute
isMatch
in class GenericRoleAttribute
GenericRoleAttribute.isMatch(org.kuali.rice.kew.routeheader.DocumentContent, java.util.List)
public Map<String,String> getProperties()
GenericWorkflowAttribute
getProperties
in class GenericWorkflowAttribute
GenericWorkflowAttribute.getProperties()
public List<Role> getRoleNames()
RoleAttribute
Role
s this RoleAttribute supports
Role
s this RoleAttribute supportsRoleAttribute.getRoleNames()
public List<String> getQualifiedRoleNames(String roleName, DocumentContent documentContent)
RoleAttribute
getQualifiedRoleNames
in interface RoleAttribute
getQualifiedRoleNames
in class GenericRoleAttribute
roleName
- 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 GenericRoleAttribute
GenericRoleAttribute.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 |