Interface ITaskAuthorizationService
-
- All Known Implementing Classes:
TaskAuthorizationService
public interface ITaskAuthorizationService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanCallAssign(LoggedUser loggedUser, java.lang.String taskId)booleancanCallCancel(LoggedUser loggedUser, java.lang.String taskId)booleancanCallDelegate(LoggedUser loggedUser, java.lang.String taskId)booleancanCallFinish(LoggedUser loggedUser, java.lang.String taskId)booleancanCallSaveData(LoggedUser loggedUser, java.lang.String taskId)booleancanCallSaveFile(LoggedUser loggedUser, java.lang.String taskId)booleanisAssignee(IUser user, Task task)booleanisAssignee(IUser user, java.lang.String taskId)booleanisAssignee(LoggedUser loggedUser, java.lang.String taskId)java.lang.BooleanuserHasAtLeastOneRolePermission(IUser user, Task task, RolePermission... permissions)java.lang.BooleanuserHasAtLeastOneRolePermission(LoggedUser loggedUser, java.lang.String taskId, RolePermission... permissions)java.lang.BooleanuserHasUserListPermission(IUser user, Task task, RolePermission... permissions)java.lang.BooleanuserHasUserListPermission(LoggedUser loggedUser, java.lang.String taskId, RolePermission... permissions)
-
-
-
Method Detail
-
userHasAtLeastOneRolePermission
java.lang.Boolean userHasAtLeastOneRolePermission(LoggedUser loggedUser, java.lang.String taskId, RolePermission... permissions)
-
userHasAtLeastOneRolePermission
java.lang.Boolean userHasAtLeastOneRolePermission(IUser user, Task task, RolePermission... permissions)
-
userHasUserListPermission
java.lang.Boolean userHasUserListPermission(LoggedUser loggedUser, java.lang.String taskId, RolePermission... permissions)
-
userHasUserListPermission
java.lang.Boolean userHasUserListPermission(IUser user, Task task, RolePermission... permissions)
-
isAssignee
boolean isAssignee(LoggedUser loggedUser, java.lang.String taskId)
-
isAssignee
boolean isAssignee(IUser user, java.lang.String taskId)
-
canCallAssign
boolean canCallAssign(LoggedUser loggedUser, java.lang.String taskId)
-
canCallDelegate
boolean canCallDelegate(LoggedUser loggedUser, java.lang.String taskId)
-
canCallFinish
boolean canCallFinish(LoggedUser loggedUser, java.lang.String taskId) throws IllegalTaskStateException
- Throws:
IllegalTaskStateException
-
canCallCancel
boolean canCallCancel(LoggedUser loggedUser, java.lang.String taskId) throws IllegalTaskStateException
- Throws:
IllegalTaskStateException
-
canCallSaveData
boolean canCallSaveData(LoggedUser loggedUser, java.lang.String taskId)
-
canCallSaveFile
boolean canCallSaveFile(LoggedUser loggedUser, java.lang.String taskId)
-
-