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(PersistentObject authorization) |
void |
deleteAuthorizationsByResourceId(Resource resource,
String resourceId) |
void |
insert(PersistentObject 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, flush, getAttachmentManager, getByteArrayManager, getDbSqlSession, getDeploymentManager, getHistoricActivityInstanceManager, getHistoricDetailManager, getHistoricProcessInstanceManager, getHistoricTaskInstanceManager, getIdentityInfoManager, getIdentityLinkManager, getProcessDefinitionManager, getProcessInstanceManager, getResourceManager, getSession, getTaskManager, getVariableInstanceManager
public Authorization createNewAuthorization(int type)
public void insert(PersistentObject authorization)
insert
in class AbstractManager
public List<Authorization> selectAuthorizationByQueryCriteria(AuthorizationQueryImpl authorizationQuery)
public Long selectAuthorizationCountByQueryCriteria(AuthorizationQueryImpl authorizationQuery)
public void update(AuthorizationEntity authorization)
public void delete(PersistentObject authorization)
delete
in class AbstractManager
public void configureQuery(AbstractQuery query, Resource resource)
public void checkAuthorization(Permission permission, Resource resource, String resourceId)
public boolean isAuthorized(String userId, List<String> groupIds, Permission permission, Resource resource, String resourceId)
public boolean isAuthorized(Permission permission, Resource resource, String resourceId)
Copyright © 2015. All rights reserved.