public class ChannelReviewerRoleAttribute extends GenericRoleAttribute
attributeName, content, log
required
Constructor and Description |
---|
ChannelReviewerRoleAttribute()
Constructs a ChannelReviewerRoleAttribute.java.
|
Modifier and Type | Method and Description |
---|---|
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<RoleName> |
getRoleNames()
List of
RoleName 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.
|
generateQualifiedRoleNames, getLabelForQualifiedRoleName, getRoleNameQualifiers, resolveQualifiedRole, resolveQualifiedRole
getDocContent, getRuleExtensionValues, isMatch, isMatch, validateRoutingData, validateRuleData
getIdFieldName, getLockFieldName, getRoutingDataRows, getRuleRows, isRequired, setRequired
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDocContent, getRoutingDataRows, getRuleExtensionValues, getRuleRows, isRequired, setRequired, validateRoutingData, validateRuleData
public ChannelReviewerRoleAttribute()
public boolean isMatch(DocumentContent docContent, List<RuleExtension> ruleExtensions)
WorkflowRuleAttribute
isMatch
in interface WorkflowRuleAttribute
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<RoleName> getRoleNames()
RoleAttribute
RoleName
s this RoleAttribute supportsRoleName
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)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.