Class WorkflowAuthorizationService
- java.lang.Object
-
- com.netgrif.application.engine.workflow.service.AbstractAuthorizationService
-
- com.netgrif.application.engine.workflow.service.WorkflowAuthorizationService
-
- All Implemented Interfaces:
IWorkflowAuthorizationService
@Service public class WorkflowAuthorizationService extends AbstractAuthorizationService implements IWorkflowAuthorizationService
-
-
Constructor Summary
Constructors Constructor Description WorkflowAuthorizationService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canCallCreate(LoggedUser user, java.lang.String netId)
boolean
canCallDelete(LoggedUser user, java.lang.String caseId)
java.lang.Boolean
userHasAtLeastOneRolePermission(IUser user, PetriNet net, ProcessRolePermission... permissions)
java.lang.Boolean
userHasUserListPermission(IUser user, Case useCase, ProcessRolePermission... permissions)
-
Methods inherited from class com.netgrif.application.engine.workflow.service.AbstractAuthorizationService
getAggregatePermissions, hasPermission, hasRestrictedPermission
-
-
-
-
Method Detail
-
canCallDelete
public boolean canCallDelete(LoggedUser user, java.lang.String caseId)
- Specified by:
canCallDelete
in interfaceIWorkflowAuthorizationService
-
canCallCreate
public boolean canCallCreate(LoggedUser user, java.lang.String netId)
- Specified by:
canCallCreate
in interfaceIWorkflowAuthorizationService
-
userHasAtLeastOneRolePermission
public java.lang.Boolean userHasAtLeastOneRolePermission(IUser user, PetriNet net, ProcessRolePermission... permissions)
- Specified by:
userHasAtLeastOneRolePermission
in interfaceIWorkflowAuthorizationService
-
userHasUserListPermission
public java.lang.Boolean userHasUserListPermission(IUser user, Case useCase, ProcessRolePermission... permissions)
- Specified by:
userHasUserListPermission
in interfaceIWorkflowAuthorizationService
-
-