|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.wli.worklist.api.WorkloadRequest
public class WorkloadRequest
Describes a request to calculate workload data for a user
| Constructor Summary | |
|---|---|
WorkloadRequest()
Default constructor. |
|
WorkloadRequest(String userId)
Create a WorkloadRequest for the given user and using defaults for other params. |
|
WorkloadRequest(String userId,
boolean useTaskCountOnly,
int maxTasksToConsider)
Construct a WorkloadRequest with specific values. |
|
| Method Summary | |
|---|---|
int |
getDefaultMinutesPerTask()
|
int |
getMaxTasksToConsider()
|
String |
getUserId()
|
boolean |
isUseTaskCountOnly()
|
void |
setDefaultMinutesPerTask(int defaultMinutesPerTask)
The number of minutes that will be used as the 'load' value of all tasks when isUseTaskCountOnly() returns true. |
void |
setMaxTasksToConsider(int maxTasksToConsider)
This is the maximum number of tasks that should be considered in the workload calculation. |
void |
setUserId(String userId)
The user for which workload data will be calculated. |
void |
setUseTaskCountOnly(boolean useTaskCountOnly)
A flag indicating that workload should be calculated using the only the count of tasks this user has claimed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WorkloadRequest()
public WorkloadRequest(String userId)
userId - The user for which workload will be calculated.
public WorkloadRequest(String userId,
boolean useTaskCountOnly,
int maxTasksToConsider)
userId - The user for which workload will be calculateduseTaskCountOnly - Flag to use the count of tasks in the calculation
instead of looking at individual tasks.maxTasksToConsider - The max number of tasks to look at during the
calculation.| Method Detail |
|---|
public String getUserId()
setUserId(java.lang.String)public void setUserId(String userId)
public boolean isUseTaskCountOnly()
setUseTaskCountOnly(boolean)public void setUseTaskCountOnly(boolean useTaskCountOnly)
public int getDefaultMinutesPerTask()
setDefaultMinutesPerTask(int)public void setDefaultMinutesPerTask(int defaultMinutesPerTask)
defaultMinutesPerTask - The number of minutes to use for all tasks
when calculating workload using task count only.public int getMaxTasksToConsider()
setMaxTasksToConsider(int)public void setMaxTasksToConsider(int maxTasksToConsider)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||