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 booleancanCallCreate(LoggedUser user, java.lang.String netId)booleancanCallDelete(LoggedUser user, java.lang.String caseId)java.lang.BooleanuserHasAtLeastOneRolePermission(IUser user, PetriNet net, ProcessRolePermission... permissions)java.lang.BooleanuserHasUserListPermission(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:
canCallDeletein interfaceIWorkflowAuthorizationService
-
canCallCreate
public boolean canCallCreate(LoggedUser user, java.lang.String netId)
- Specified by:
canCallCreatein interfaceIWorkflowAuthorizationService
-
userHasAtLeastOneRolePermission
public java.lang.Boolean userHasAtLeastOneRolePermission(IUser user, PetriNet net, ProcessRolePermission... permissions)
- Specified by:
userHasAtLeastOneRolePermissionin interfaceIWorkflowAuthorizationService
-
userHasUserListPermission
public java.lang.Boolean userHasUserListPermission(IUser user, Case useCase, ProcessRolePermission... permissions)
- Specified by:
userHasUserListPermissionin interfaceIWorkflowAuthorizationService
-
-