|
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.AuthorizationOptions
public class AuthorizationOptions
States authorizations options for a query that uses a predefined or composite query table. Authorization options are ignored for supplemental query tables.
Authorization options are added to any authorization specification defined for the query table. This means that they can be used to further restrict authorization checks but not to weaken those checks.
For example, if the authorization specification of a query table states that everybody work items should be considered, the authorization options passed to the actual query may specify that they are not to be used. The other way round, if the authorization specification of a query table states that everybody work items should not be considered, the authorization options passed to the actual query cannot specify that they are to be used.
If authorization options are not specified or specified by a system administrator or monitor, a query is executed without special privileges for the logged-on user. In other words, if specified by a system administrator or monitor, the system administrator or monitor is treated like a normal user.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
Constructor Summary | |
---|---|
AuthorizationOptions()
Default constructor to initialize the authorization options. |
|
AuthorizationOptions(java.lang.Boolean everybodyUsed,
java.lang.Boolean individualsUsed,
java.lang.Boolean groupsUsed,
java.lang.Boolean inheritedUsed)
Constructor that builds an authorization option from the passed values. |
Method Summary | |
---|---|
java.lang.Boolean |
areGroupsUsed()
Returns whether group work items should be considered for a query. |
java.lang.Boolean |
areIndividualsUsed()
Returns whether individual work items should be considered for a query. |
java.lang.Boolean |
areInheritedWorkItemsUsed()
Returns whether inherited work items should be considered for a query. |
java.lang.Boolean |
isEverybodyUsed()
Returns whether everybody work items should be considered for a query. |
void |
setEverybodyUsed(java.lang.Boolean everybodyUsed)
Sets whether everybody work items should be considered. |
void |
setGroupsUsed(java.lang.Boolean groupsUsed)
Sets whether group work items should be considered. |
void |
setIndividualsUsed(java.lang.Boolean individualsUsed)
Sets whether individual work items should be considered. |
void |
setInheritedUsed(java.lang.Boolean inheritedUsed)
Sets whether inherited work items should be considered. |
java.lang.String |
toString()
Returns a string representation of the AuthorizationOptions object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public AuthorizationOptions()
public AuthorizationOptions(java.lang.Boolean everybodyUsed, java.lang.Boolean individualsUsed, java.lang.Boolean groupsUsed, java.lang.Boolean inheritedUsed)
everybodyUsed
- Specifies whether everybody work items should be considered.individualsUsed
- Specifies whether owner work items should be considered.groupsUsed
- Specifies whether group work items should be considered.inheritedUsed
- Specifies whether inherited work items should be considered.Method Detail |
---|
public java.lang.Boolean isEverybodyUsed()
public java.lang.Boolean areIndividualsUsed()
public java.lang.Boolean areGroupsUsed()
public java.lang.Boolean areInheritedWorkItemsUsed()
public void setEverybodyUsed(java.lang.Boolean everybodyUsed)
everybodyUsed
- Specifies whether everybody work items should be considered.
Null indicates that the ProcessChoreographer default value of true is to be used for a query.public void setIndividualsUsed(java.lang.Boolean individualsUsed)
individualsUsed
- Specifies whether individual work items should be considered.
Null indicates that the ProcessChoreographer default value of true is to be used for a query.public void setGroupsUsed(java.lang.Boolean groupsUsed)
groupsUsed
- Specifies whether group work items should be considered.
Null indicates that the ProcessChoreographer default value of true is to be used for a query.public void setInheritedUsed(java.lang.Boolean inheritedUsed)
inheritedUsed
- Specifies whether inherited work items should be considered.
Null indicates that the ProcessChoreographer default value is to be used for a query.
The default value is true for a query table of kind composite,
false for a query table of kind predefined.public java.lang.String toString()
toString
in class java.lang.Object
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |