BaseDAO<Permission>
PermissionDAOImpl
public interface PermissionDAO extends BaseDAO<Permission>
Modifier and Type | Method | Description |
---|---|---|
List<Permission> |
findByProjectIdAndPermission(Integer projectId,
int permissionType) |
Deprecated.
|
List<Permission> |
findByProjectIdAndPermission(Integer projectId,
PermissionType permissionType) |
Finds all Permissions of a given type granted on a project.
|
List<Permission> |
findByUserId(Integer userId) |
Finds all Permissions granted to a user.
|
List<Permission> findByUserId(Integer userId)
List<Permission> findByProjectIdAndPermission(Integer projectId, PermissionType permissionType)
projectId
- only permissions on this project will be returnedpermissionType
- type of permissions to return@Deprecated List<Permission> findByProjectIdAndPermission(Integer projectId, int permissionType)
Copyright © 2002–2019 itracker. All rights reserved.