org.kuali.rice.kew.rule
Class PrincipalIdRoleAttribute

java.lang.Object
  extended by org.kuali.rice.kew.rule.AbstractWorkflowAttribute
      extended by org.kuali.rice.kew.rule.AbstractRoleAttribute
          extended by org.kuali.rice.kew.rule.AbstractIdRoleAttribute
              extended by org.kuali.rice.kew.rule.PrincipalIdRoleAttribute
All Implemented Interfaces:
Serializable, RoleAttribute, WorkflowRuleAttribute, XmlConfiguredAttribute, GenericXMLRuleAttribute

public class PrincipalIdRoleAttribute
extends AbstractIdRoleAttribute

A generic Role Attribute that can be used to route to a Principal ID. Can take as configuration the label to use for the element name in the XML. This allows for re-use of this component in different contexts.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kew.rule.AbstractWorkflowAttribute
required
 
Constructor Summary
PrincipalIdRoleAttribute()
           
 
Method Summary
protected  String getAttributeElementName()
           
protected  String getIdName()
           
 String getPrincipalId()
           
 List<RoleName> getRoleNames()
          List of RoleNames this RoleAttribute supports
protected  Id resolveId(String id)
           
 void setPrincipalId(String principalId)
           
 
Methods inherited from class org.kuali.rice.kew.rule.AbstractIdRoleAttribute
getDocContent, getIdValue, getParamMap, getQualifiedRoleNames, readConfiguration, resolveQualifiedRole, setExtensionDefinition, setIdValue, setParamMap
 
Methods inherited from class org.kuali.rice.kew.rule.AbstractRoleAttribute
isMatch
 
Methods inherited from class org.kuali.rice.kew.rule.AbstractWorkflowAttribute
getIdFieldName, getLockFieldName, getRoutingDataRows, getRuleExtensionValues, getRuleRows, isRequired, setRequired, validateRoutingData, validateRuleData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kew.rule.WorkflowRuleAttribute
getRoutingDataRows, getRuleExtensionValues, getRuleRows, isMatch, isRequired, setRequired, validateRoutingData, validateRuleData
 

Constructor Detail

PrincipalIdRoleAttribute

public PrincipalIdRoleAttribute()
Method Detail

getRoleNames

public List<RoleName> getRoleNames()
Description copied from interface: RoleAttribute
List of RoleNames this RoleAttribute supports

Returns:
list of RoleNames this RoleAttribute supports

getAttributeElementName

protected String getAttributeElementName()
Specified by:
getAttributeElementName in class AbstractIdRoleAttribute

resolveId

protected Id resolveId(String id)
Specified by:
resolveId in class AbstractIdRoleAttribute

getIdName

protected String getIdName()
Specified by:
getIdName in class AbstractIdRoleAttribute

getPrincipalId

public String getPrincipalId()

setPrincipalId

public void setPrincipalId(String principalId)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.