com.salaboy.example
Class MockUserInfo
java.lang.Object
com.salaboy.example.MockUserInfo
- All Implemented Interfaces:
- org.jbpm.task.UserInfo
public class MockUserInfo
- extends Object
- implements org.jbpm.task.UserInfo
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockUserInfo
public MockUserInfo()
getGroups
public Map<org.jbpm.task.Group,List<org.jbpm.task.OrganizationalEntity>> getGroups()
setGroups
public void setGroups(Map<org.jbpm.task.Group,List<org.jbpm.task.OrganizationalEntity>> groups)
getEmails
public Map<org.jbpm.task.OrganizationalEntity,String> getEmails()
setEmails
public void setEmails(Map<org.jbpm.task.OrganizationalEntity,String> emails)
getEmailForEntity
public String getEmailForEntity(org.jbpm.task.OrganizationalEntity entity)
- Specified by:
getEmailForEntity in interface org.jbpm.task.UserInfo
getDisplayNames
public Map<org.jbpm.task.OrganizationalEntity,String> getDisplayNames()
setDisplayNames
public void setDisplayNames(Map<org.jbpm.task.OrganizationalEntity,String> displayNames)
getLanguages
public Map<org.jbpm.task.OrganizationalEntity,String> getLanguages()
setLanguages
public void setLanguages(Map<org.jbpm.task.OrganizationalEntity,String> languages)
getMembersForGroup
public Iterator<org.jbpm.task.OrganizationalEntity> getMembersForGroup(org.jbpm.task.Group group)
- Specified by:
getMembersForGroup in interface org.jbpm.task.UserInfo
hasEmail
public boolean hasEmail(org.jbpm.task.Group group)
- Specified by:
hasEmail in interface org.jbpm.task.UserInfo
getDisplayName
public String getDisplayName(org.jbpm.task.OrganizationalEntity entity)
- Specified by:
getDisplayName in interface org.jbpm.task.UserInfo
getLanguageForEntity
public String getLanguageForEntity(org.jbpm.task.OrganizationalEntity entity)
- Specified by:
getLanguageForEntity in interface org.jbpm.task.UserInfo
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.