|
Oracle Fusion Middleware Java API Reference for Oracle BPM Suite 11g Release 1 (11.1.1.7.0) E25378-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICasePermissionService
Defines APIs related to permission management for case
Method Summary | |
---|---|
boolean |
checkCaseTagPermission(IBPMContext ctx,
CaseIdentifier caseId,
java.lang.String permissionTag,
ICaseConstants.CaseObjectPermissionType action,
ICaseConstants.CaseObjectType caseObjectType)
Check if the user represented by ctx, has permission to perform 'Action' on case Objects with case permission tag PUBLIC.COMMENTS.WRITE.Role |
java.util.Set<ICaseConstants.CaseObjectPermissionType> |
getActionsUserCanPerform(IBPMContext ctx,
CaseIdentifier caseId,
ICaseConstants.CaseObjectType caseObjectType)
Get the list of actions the user can perfom in this case for given case object type. |
java.util.Set<ICaseConstants.CaseObjectPermissionType> |
getActionsUserCanPerformOnCaseObject(IBPMContext ctx,
CaseIdentifier caseId,
CaseObject caseObj)
Returns a list of actions user can perform on the given case Object. |
java.util.Set<java.lang.String> |
getPermissionTags(IBPMContext ctx,
CaseIdentifier caseId)
Returns a list of available Permission Tags. |
java.util.Set<java.lang.String> |
getPermissionTagsUserCanUse(IBPMContext ctx,
CaseIdentifier caseId,
ICaseConstants.CaseObjectPermissionType action,
ICaseConstants.CaseObjectType caseObjectType)
Returns a list of permission tags the user is authorized to use for the given case object type. |
boolean |
setCaseActivityPermissionTag(IBPMContext context,
CaseIdentifier caseIdentifier,
java.lang.String caseActivityDefinitionId,
java.lang.String permissionTag)
Update the permission tag on case activity. |
boolean |
setPermissionTag(IBPMContext context,
CaseIdentifier caseIdentifier,
CaseObject caseObject,
java.lang.String permissionTag)
To set Permission tag on a Case Object, user should have permission to "UPDATE" action on that case Object. |
Method Detail |
---|
java.util.Set<java.lang.String> getPermissionTags(IBPMContext ctx, CaseIdentifier caseId) throws CaseServiceException
ctx
- an IBPMContext
valuecaseId
- a CaseIdentifier
value
Set
value
CaseServiceException
- if an error occursjava.util.Set<java.lang.String> getPermissionTagsUserCanUse(IBPMContext ctx, CaseIdentifier caseId, ICaseConstants.CaseObjectPermissionType action, ICaseConstants.CaseObjectType caseObjectType) throws CaseServiceException
CaseServiceException
java.util.Set<ICaseConstants.CaseObjectPermissionType> getActionsUserCanPerform(IBPMContext ctx, CaseIdentifier caseId, ICaseConstants.CaseObjectType caseObjectType) throws CaseServiceException
ctx
- an IBPMContext
valuecaseId
- a CaseIdentifier
valuecaseObjectType
- a ICaseConstants.CaseObjectType
value
Set
value
CaseServiceException
- if an error occursjava.util.Set<ICaseConstants.CaseObjectPermissionType> getActionsUserCanPerformOnCaseObject(IBPMContext ctx, CaseIdentifier caseId, CaseObject caseObj) throws CaseServiceException
CaseServiceException
boolean checkCaseTagPermission(IBPMContext ctx, CaseIdentifier caseId, java.lang.String permissionTag, ICaseConstants.CaseObjectPermissionType action, ICaseConstants.CaseObjectType caseObjectType) throws CaseServiceException
ctx
- an IBPMContext
valuecaseId
- a CaseIdentifier
valuepermissionTag
- a String
valueaction
- a ICaseConstants.CaseObjectPermissionType
valuecaseObjectType
- a ICaseConstants.CaseObjectType
value
boolean
value
CaseServiceException
- if an error occursboolean setPermissionTag(IBPMContext context, CaseIdentifier caseIdentifier, CaseObject caseObject, java.lang.String permissionTag) throws CaseServiceException
context
- an IBPMContext
valuecaseIdentifier
- a CaseIdentifier
valuecaseObject
- a CaseObject
valuepermissionTag
- a String
value
boolean
value
CaseServiceException
- if an error occursboolean setCaseActivityPermissionTag(IBPMContext context, CaseIdentifier caseIdentifier, java.lang.String caseActivityDefinitionId, java.lang.String permissionTag) throws CaseServiceException
context
- an IBPMContext
valuecaseIdentifier
- a CaseIdentifier
valuecaseActivityDefinitionId
- a String
value. This is the same as CaseActivityDefinition.getDefinitionIdtag
- a String
value
CaseServiceException
- if an error occurs
|
Oracle Fusion Middleware Java API Reference for Oracle BPM Suite 11g Release 1 (11.1.1.7.0) E25378-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |