|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorklistSystem
Functions related to the running worklist system as a whole
Nested Class Summary | |
---|---|
static class |
WorklistSystem.OPERATION
Operations for which a Worklist system policy may be set |
Method Summary | |
---|---|
String[] |
getGlobalWorklistSystemPolicy(WorklistSystem.OPERATION operation)
Get the global policy for *all* Worklist system instances that don’t specify their own explicit policy for the given operation type. |
String[] |
getWorklistSystemPolicy(WorklistSystem.OPERATION operation)
Get the policy that is set for the given operation type. |
void |
purgeTasks()
Purge all the tasks that have been in their final state for more than the time configured for it. |
void |
setGlobalWorklistSystemPolicy(WorklistSystem.OPERATION operation,
String[] roles)
Set the global policy for *all* Worklist system instances that don’t specify their own explicit policy for the given operation type. |
void |
setWorklistSystemPolicy(WorklistSystem.OPERATION operation,
String[] roles)
Set a simple policy for this Worklist system instance and the given operation type. |
Method Detail |
---|
void purgeTasks() throws ManagementException, RemoteException
ManagementException
RemoteException
TaskPlan.setTerminalTaskRetentionTime(com.bea.wli.calendar.api.Interval)
,
WorklistSystemMBean.setDefaultTerminalTaskRetentionTime(com.bea.wli.calendar.api.Interval)
void setGlobalWorklistSystemPolicy(WorklistSystem.OPERATION operation, String[] roles) throws ManagementException, RemoteException
Note, this method has the same effect regardless of what WorklistSystem instance is used, or what Worklist system instance it comes from.
To call this method, you must be granted one of the roles listed for the global Worklist System Admin policy (by default this is the Admin or IntegrationAdmin roles). If an unauthorized user attempts this call, a SecurityException will be thrown.
NOTE: This method will only work when you are using the WLS default authorization provider. If you are using a third-party provider, you must use that provider's tools for assigning the policy to the task plan.
ManagementException
RemoteException
WorklistAdminMBean.setGlobalWorklistSystemPolicy(String, String[])
String[] getGlobalWorklistSystemPolicy(WorklistSystem.OPERATION operation) throws ManagementException, RemoteException
Note, this method returns the same value regardless of what WorklistSystem instance is used, or what Worklist system instance it comes from.
To call this method, you must be granted one of the roles listed for the global Worklist System Admin policy (by default this is the Admin or IntegrationAdmin roles), Query policy (by default this is the everyone group), or Update policy (by default this is Admin, or IntegrationAdmin roles). If an unauthorized user attempts this call, a SecurityException will be thrown.
NOTE: This method will only work when you are using the WLS default authorization provider. If you are using a third-party provider, you must use that provider's tools for assigning the policy to the task plan.
ManagementException
RemoteException
WorklistAdminMBean.getGlobalWorklistSystemPolicy(String)
void setWorklistSystemPolicy(WorklistSystem.OPERATION operation, String[] roles) throws ManagementException, RemoteException
To call this method, you must be granted one of the roles listed for this Worklist system instance's Admin policy, or you must be granted one of the roles listed for the global Worklist System Admin policy if this Worklist system instance has not had an explicit policy set for it. If an unauthorized user attempts this call, a SecurityException will be thrown.
NOTE: This method will only work when you are using the WLS default authorization provider. If you are using a third-party provider, you must use that provider's tools for assigning the policy to the Worklist system instance.
operation
- The type of operation for which the policy is being set.roles
- The roles which are authorized to perform the given
operation on tasks of the given type. If roles is empty or null,
the policy will be reset to the default/global policy.
ManagementException
RemoteException
setGlobalWorklistSystemPolicy(OPERATION, String[])
String[] getWorklistSystemPolicy(WorklistSystem.OPERATION operation) throws ManagementException, RemoteException
To call this method, you must be granted one of the roles listed for this Worklist System instance's Admin policy, or you must be granted one of the roles listed for the global Worklist System Admin, Query, or Update policies if this Worklist system instance has not had an explicit policy set for it. If an unauthorized user attempts this call, a SecurityException will be thrown.
NOTE: This method will only work when you are using the WLS default authorization provider. If you are using a third-party provider, you must use that provider's tools for assigning the policy to the task plan.
operation
- The type of operation for which the policy is being
read.
ManagementException
RemoteException
getGlobalWorklistSystemPolicy(OPERATION)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |