public class AuthorizationManager extends AbstractManager
Constructor and Description |
---|
AuthorizationManager() |
Modifier and Type | Method and Description |
---|---|
void |
checkAuthorization(Permission permission,
Resource resource,
String resourceId) |
void |
configureQuery(AbstractQuery query,
Resource resource) |
Authorization |
createNewAuthorization(int type) |
void |
delete(DbEntity authorization) |
void |
deleteAuthorizationsByResourceId(Resource resource,
String resourceId) |
void |
insert(DbEntity authorization) |
boolean |
isAuthorized(Permission permission,
Resource resource,
String resourceId) |
boolean |
isAuthorized(String userId,
List<String> groupIds,
Permission permission,
Resource resource,
String resourceId) |
List<Authorization> |
selectAuthorizationByQueryCriteria(AuthorizationQueryImpl authorizationQuery) |
Long |
selectAuthorizationCountByQueryCriteria(AuthorizationQueryImpl authorizationQuery) |
void |
update(AuthorizationEntity authorization) |
close, deleteAuthorizations, flush, getAttachmentManager, getByteArrayManager, getCaseDefinitionManager, getCaseExecutionManager, getCaseInstanceManager, getDbEntityManager, getDbSqlSession, getDeploymentManager, getHistoricActivityInstanceManager, getHistoricCaseActivityInstanceManager, getHistoricCaseInstanceManager, getHistoricDetailManager, getHistoricProcessInstanceManager, getHistoricTaskInstanceManager, getIdentityInfoManager, getIdentityLinkManager, getProcessDefinitionManager, getProcessInstanceManager, getResourceAuthorizationProvider, getResourceManager, getSession, getTaskManager, getVariableInstanceManager, saveDefaultAuthorizations
public Authorization createNewAuthorization(int type)
public void insert(DbEntity authorization)
insert
in class AbstractManager
public List<Authorization> selectAuthorizationByQueryCriteria(AuthorizationQueryImpl authorizationQuery)
public Long selectAuthorizationCountByQueryCriteria(AuthorizationQueryImpl authorizationQuery)
public void update(AuthorizationEntity authorization)
public void delete(DbEntity authorization)
delete
in class AbstractManager
public void configureQuery(AbstractQuery query, Resource resource)
configureQuery
in class AbstractManager
public void checkAuthorization(Permission permission, Resource resource, String resourceId)
checkAuthorization
in class AbstractManager
public boolean isAuthorized(String userId, List<String> groupIds, Permission permission, Resource resource, String resourceId)
public boolean isAuthorized(Permission permission, Resource resource, String resourceId)
Copyright © 2018. All rights reserved.