org.jbpm.task.service
Class DefaultUserInfo
java.lang.Object
org.jbpm.task.service.DefaultUserInfo
- All Implemented Interfaces:
- UserInfo
public class DefaultUserInfo
- extends Object
- implements UserInfo
Constructor Summary |
DefaultUserInfo(Properties registryProps)
Constructs default UserInfo implementation to provide required information to the escalation handler. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
registry
protected Map<String,Map<String,Object>> registry
DefaultUserInfo
public DefaultUserInfo(Properties registryProps)
- Constructs default UserInfo implementation to provide required information to the escalation handler.
following is the string for every organizational entity
entityId=email:locale:displayname:[member,member]
members are optional and should be given for group entities
- Parameters:
registryProps
-
getDisplayName
public String getDisplayName(OrganizationalEntity entity)
- Specified by:
getDisplayName
in interface UserInfo
getMembersForGroup
public Iterator<OrganizationalEntity> getMembersForGroup(Group group)
- Specified by:
getMembersForGroup
in interface UserInfo
hasEmail
public boolean hasEmail(Group group)
- Specified by:
hasEmail
in interface UserInfo
getEmailForEntity
public String getEmailForEntity(OrganizationalEntity entity)
- Specified by:
getEmailForEntity
in interface UserInfo
getLanguageForEntity
public String getLanguageForEntity(OrganizationalEntity entity)
- Specified by:
getLanguageForEntity
in interface UserInfo
buildRegistry
protected void buildRegistry(Properties registryProps)
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.