|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.task.api.PeopleAssignmentFactory
public class PeopleAssignmentFactory
Factory to create people assignments, for example, an organizational entity.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
Method Summary | |
---|---|
GroupMembersAndUsers |
createByGroupMembersAndUsers(java.util.List users,
java.util.List groups,
boolean includeSubGroups)
Creates an organizational entity from a list of groups and users. |
OrganizationalEntity |
createByLiteralGroup(java.lang.String group)
Creates an organizational entity from a group of users. |
OrganizationalEntity |
createByLiteralUsers(java.util.List userIDs)
Creates an organizational entity from a list of users. |
Everybody |
createEverybody()
Creates an everybody people assignment. |
static PeopleAssignmentFactory |
newInstance()
Returns the single instance of a PeopleAssignmentFactory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Method Detail |
---|
public static PeopleAssignmentFactory newInstance()
public Everybody createEverybody()
public OrganizationalEntity createByLiteralUsers(java.util.List userIDs) throws ParameterNullException, InvalidParameterException
userIDs
- The users for this organizational entity.
ParameterNullException
InvalidParameterException
public OrganizationalEntity createByLiteralGroup(java.lang.String group) throws ParameterNullException
group
- The group for this organizational entity.
ParameterNullException
public GroupMembersAndUsers createByGroupMembersAndUsers(java.util.List users, java.util.List groups, boolean includeSubGroups) throws ParameterNullException, InvalidParameterException
groups
- The groups for this organizational entity.users
- The users for this organizational entity.includeSubGroups
- Indicates whether members of subgroups should be included.
True states that members of subgroups should be included.
False states that members of subgroups should not be included.
Note that this functionality depends on the support of the underlying people repository.
ParameterNullException
InvalidParameterException
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |