Package | Description |
---|---|
org.itracker.model |
All entity classes are POJO beans.
|
org.itracker.model.util |
This package contains code for what?
|
org.itracker.persistence.dao |
This package contains all Data Access Object (XxxDAO) interfaces
along with their Hibernate implementations (XxxDAOImpl).
|
org.itracker.services |
Service Interfaces
|
org.itracker.services.authentication |
This package has something to do with Authentication ;)
|
org.itracker.services.implementations |
This package contains XXXService interface implementations,
named XXXServiceImpl by convention.
|
Modifier and Type | Method | Description |
---|---|---|
Set<Permission> |
Project.getPermissions() |
|
Set<Permission> |
User.getPermissions() |
Modifier and Type | Method | Description |
---|---|---|
int |
Permission.PermissionPropertiesComparator.compare(Permission lhs,
Permission rhs) |
Modifier and Type | Method | Description |
---|---|---|
void |
Project.setPermissions(Set<Permission> getPermissions) |
|
void |
User.setPermissions(Set<Permission> getPermissions) |
Modifier and Type | Method | Description |
---|---|---|
static Permission[] |
UserUtilities.createPermissionArray(User user,
Project project,
int[] permissions) |
Modifier and Type | Method | Description |
---|---|---|
static Map<Integer,Set<PermissionType>> |
UserUtilities.mapPermissionTypesByProjectId(List<Permission> permissionsList) |
Maps sets of permission types by project ID.
|
Modifier and Type | Method | Description |
---|---|---|
List<Permission> |
PermissionDAO.findByProjectIdAndPermission(Integer projectId,
int permissionType) |
Deprecated.
|
List<Permission> |
PermissionDAO.findByProjectIdAndPermission(Integer projectId,
PermissionType permissionType) |
Finds all Permissions of a given type granted on a project.
|
List<Permission> |
PermissionDAOImpl.findByProjectIdAndPermission(Integer projectId,
int permissionType) |
Deprecated.
|
List<Permission> |
PermissionDAOImpl.findByProjectIdAndPermission(Integer projectId,
PermissionType permissionType) |
|
List<Permission> |
PermissionDAO.findByUserId(Integer userId) |
Finds all Permissions granted to a user.
|
List<Permission> |
PermissionDAOImpl.findByUserId(Integer userId) |
Modifier and Type | Method | Description |
---|---|---|
List<Permission> |
UserService.getPermissionsByUserId(Integer userId) |
Returns an array of Permission objects for the requested userId.
|
List<Permission> |
UserService.getUserPermissionsLocal(User user) |
This method will call local EJBs to find all permissions for a user.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
UserService.addUserPermissions(Integer userId,
List<Permission> newPermissions) |
Resets all of the permissions for a user in the database.
|
boolean |
UserService.removeUserPermissions(Integer userId,
List<Permission> newPermissions) |
Resets all of the permissions for a user in the database.
|
boolean |
UserService.setUserPermissions(Integer userId,
List<Permission> newPermissions) |
Resets all of the permissions for a user in the database.
|
boolean |
UserService.updateAuthenticator(Integer userId,
List<Permission> newPermissions) |
Adds an additional set of permissions to a user in the database.
|
Modifier and Type | Method | Description |
---|---|---|
List<Permission> |
DefaultAuthenticator.getUserPermissions(User user,
int reqSource) |
The DefaultAuthenticator returns a list of user permissions from the database.
|
List<Permission> |
PluggableAuthenticator.getUserPermissions(User user,
int reqSource) |
This method should return all the permissions a user has in the authentication system.
|
Constructor | Description |
---|---|
ITrackerUserDetails(User model,
Collection<Permission> permissions) |
Modifier and Type | Method | Description |
---|---|---|
List<Permission> |
UserServiceImpl.getPermissionsByUserId(Integer userId) |
|
List<Permission> |
UserServiceImpl.getUserPermissionsLocal(User user) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
UserServiceImpl.addUserPermissions(Integer userId,
List<Permission> newPermissions) |
|
boolean |
UserServiceImpl.removeUserPermissions(Integer userId,
List<Permission> newPermissions) |
|
boolean |
UserServiceImpl.setUserPermissions(Integer userId,
List<Permission> newPermissions) |
|
boolean |
UserServiceImpl.updateAuthenticator(Integer userId,
List<Permission> permissions) |
Copyright © 2002–2019 itracker. All rights reserved.