|
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.spi.StaffQueryResultFactory
public class StaffQueryResultFactory
This class provides for a factory that creates objects of StaffQueryResult and UserData.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
Constructor Summary | |
---|---|
StaffQueryResultFactory()
|
Method Summary | |
---|---|
static StaffQueryResultFactory |
newInstance()
Creates an instance of the factory. |
StaffQueryResult |
newStaffQueryResult(java.util.Collection userData)
Creates a new object of StaffQueryResult by specifying a set of users. |
StaffQueryResult |
newStaffQueryResult(int resultType)
Creates a new object of StaffQueryResult by specifying the result type. |
StaffQueryResult |
newStaffQueryResult(java.util.Map userDataMap)
Creates a new object of StaffQueryResult by specifying a map of users. |
StaffQueryResult |
newStaffQueryResult(java.lang.String groupID)
Creates a new object of StaffQueryResult by specifying a group ID. |
UserData |
newUserData(java.lang.String userID,
java.util.Locale preferredLocale,
java.lang.String eMailAddress)
Creates a new object of UserData. |
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
Constructor Detail |
---|
public StaffQueryResultFactory()
Method Detail |
---|
public static StaffQueryResultFactory newInstance()
public StaffQueryResult newStaffQueryResult(int resultType)
resultType
- The type of the query result. Can be RESULT_TYPE_EVERYBODY or
RESULT_TYPE_NOBODY
public StaffQueryResult newStaffQueryResult(java.util.Collection userData)
userData
- A container with UserData entries for multiple users.
public StaffQueryResult newStaffQueryResult(java.util.Map userDataMap)
userDataMap
- A map with UserData entries for multiple users.
public StaffQueryResult newStaffQueryResult(java.lang.String groupID)
groupID
- The ID of the user group.
public UserData newUserData(java.lang.String userID, java.util.Locale preferredLocale, java.lang.String eMailAddress)
userID
- The user ID of the user.preferredLocale
- The preferred locale of the user. Can be null.eMailAddress
- The e-mail address of the user. Can be null.
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |