public class AccountAttribute extends AbstractRoleAttribute
required| Constructor and Description |
|---|
AccountAttribute() |
| Modifier and Type | Method and Description |
|---|---|
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
RoleNames this RoleAttribute supports |
ResolvedQualifiedRole |
resolveQualifiedRole(RouteContext routeContext,
String roleName,
String qualifiedRole)
Returns a List of Workflow Users which are members of the given qualified role.
|
static Object |
xstreamSafeEval(XPath xpath,
String xpathExpression,
Object item,
QName returnType)
This method will do a simple XPath.evaluate, while wrapping your xpathExpression with the xstreamSafe function.
|
isMatchgetDocContent, getIdFieldName, getLockFieldName, getRoutingDataRows, getRuleExtensionValues, getRuleRows, isRequired, setRequired, validateRoutingData, validateRuleDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDocContent, getRoutingDataRows, getRuleExtensionValues, getRuleRows, isRequired, setRequired, validateRoutingData, validateRuleDatapublic AccountAttribute()
public List<String> getQualifiedRoleNames(String roleName, DocumentContent documentContent)
RoleAttributeroleName - the role name (without class prefix)documentContent - the document contentpublic List<RoleName> getRoleNames()
RoleAttributeRoleNames this RoleAttribute supportsRoleNames this RoleAttribute supportspublic ResolvedQualifiedRole resolveQualifiedRole(RouteContext routeContext, String roleName, String qualifiedRole)
RoleAttributerouteContext - the RouteContextroleName - the roleName (without class prefix)qualifiedRole - one of the the qualified role names returned from the RoleAttribute.getQualifiedRoleNames(String, DocumentContent) methodpublic static final Object xstreamSafeEval(XPath xpath, String xpathExpression, Object item, QName returnType)
xpath - A correctly initialized XPath instance.xpathExpression - Your XPath Expression that needs to be wrapped in an xstreamSafe wrapper and run.item - The document contents you will be searching within.Copyright © 2005–2015 The Kuali Foundation. All rights reserved.