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
RoleName s 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.
|
isMatch
getDocContent, getIdFieldName, getLockFieldName, getRoutingDataRows, getRuleExtensionValues, getRuleRows, isRequired, setRequired, validateRoutingData, validateRuleData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDocContent, getRoutingDataRows, getRuleExtensionValues, getRuleRows, isRequired, setRequired, validateRoutingData, validateRuleData
public AccountAttribute()
public List<String> getQualifiedRoleNames(String roleName, DocumentContent documentContent)
RoleAttribute
roleName
- the role name (without class prefix)documentContent
- the document contentpublic List<RoleName> getRoleNames()
RoleAttribute
RoleName
s this RoleAttribute supportsRoleName
s this RoleAttribute supportspublic ResolvedQualifiedRole resolveQualifiedRole(RouteContext routeContext, String roleName, String qualifiedRole)
RoleAttribute
routeContext
- 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.