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.
|
org.itracker.web.actions |
This package contains Struts actions
|
org.itracker.web.actions.base | |
org.itracker.web.actions.project | |
org.itracker.web.forms |
This package contains Struts forms used when receiving data from the Struts servlets
|
org.itracker.web.util |
This package has something to do with utilities for web actions, but
please explain in detail what shall be in, or not in here.
|
Modifier and Type | Method | Description |
---|---|---|
PermissionType |
PermissionType.fromCode(Integer code) |
Returns the enum instance matching the integer value.
|
PermissionType |
Permission.getPermissionType() |
|
static PermissionType[] |
PermissionType.valueOf(int[] type) |
Deprecated.
|
static PermissionType |
PermissionType.valueOf(Integer type) |
Returns the enum constant of this type with the specified name.
|
static PermissionType |
PermissionType.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static PermissionType[] |
PermissionType.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
void |
Permission.setPermissionType(PermissionType type) |
Constructor | Description |
---|---|
Permission(PermissionType type,
User user) |
Grants permissions on all projects to the given user.
|
Permission(PermissionType type,
User user,
Project project) |
Grants permissions on all projects to the given user.
|
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 |
---|---|---|
static boolean |
UserUtilities.hasPermission(Map<Integer,Set<PermissionType>> permissionsMap,
Integer projectId,
PermissionType permissionNeeded) |
Returns true if the user has the required permission for the given project.
|
static boolean |
UserUtilities.hasPermission(Map<Integer,Set<PermissionType>> permissionsMap,
Integer projectId,
PermissionType[] permissionsNeeded) |
Returns true if the user has any of required permissions for the given project.
|
static boolean |
UserUtilities.hasPermission(Map<Integer,Set<PermissionType>> permissionsMap,
PermissionType permissionNeeded) |
Deprecated.
|
static boolean |
UserUtilities.hasPermission(Map<Integer,Set<PermissionType>> permissionsMap,
PermissionType[] permissionsNeeded) |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
static boolean |
IssueUtilities.canBeAssignedIssue(Issue issue,
Integer userId,
Map<Integer,Set<PermissionType>> permissions) |
Deprecated.
|
static boolean |
IssueUtilities.canEditIssue(Issue issue,
Integer userId,
Map<Integer,Set<PermissionType>> permissions) |
Deprecated.
|
static boolean |
IssueUtilities.canUnassignIssue(Issue issue,
Integer userId,
Map<Integer,Set<PermissionType>> permissions) |
Returns true if the user can unassign themselves from the issue.
|
static boolean |
IssueUtilities.canViewIssue(Issue issue,
Integer userId,
Map<Integer,Set<PermissionType>> permissions) |
Returns true if the user has permission to view the requested issue.
|
static boolean |
IssueUtilities.canViewIssue(Issue issue,
User user,
Map<Integer,Set<PermissionType>> permissions) |
Returns true if the user has permission to view the requested issue.
|
static boolean |
UserUtilities.hasPermission(Map<Integer,Set<PermissionType>> permissionsMap,
int permissionNeeded) |
Deprecated.
|
static boolean |
UserUtilities.hasPermission(Map<Integer,Set<PermissionType>> permissionsMap,
Integer projectId,
int permissionNeeded) |
Deprecated.
|
static boolean |
UserUtilities.hasPermission(Map<Integer,Set<PermissionType>> permissionsMap,
Integer projectId,
PermissionType permissionNeeded) |
Returns true if the user has the required permission for the given project.
|
static boolean |
UserUtilities.hasPermission(Map<Integer,Set<PermissionType>> permissionsMap,
Integer projectId,
PermissionType[] permissionsNeeded) |
Returns true if the user has any of required permissions for the given project.
|
static boolean |
UserUtilities.hasPermission(Map<Integer,Set<PermissionType>> permissionsMap,
PermissionType permissionNeeded) |
Deprecated.
|
static boolean |
UserUtilities.hasPermission(Map<Integer,Set<PermissionType>> permissionsMap,
PermissionType[] permissionsNeeded) |
Deprecated.
|
static boolean |
UserUtilities.isSuperUser(Map<Integer,Set<PermissionType>> permissionsMap) |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
Map<Integer,Set<PermissionType>> |
UserDAO.getUsersMapOfProjectsAndPermissionTypes(User user) |
Finds of the given user the set of permission types for all projects
on which the user has permissions.
|
Map<Integer,Set<PermissionType>> |
UserDAOImpl.getUsersMapOfProjectsAndPermissionTypes(User user) |
Searches all permissions for the given user and sorts it by project.
|
Modifier and Type | Method | Description |
---|---|---|
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,
PermissionType permissionType) |
|
List<User> |
UserDAO.findUsersForProjectByAllPermissionTypeList(Integer projectID,
PermissionType[] permissionTypes) |
Finds all users assigned to a project having all of the given permissionTypes.
|
List<User> |
UserDAOImpl.findUsersForProjectByAllPermissionTypeList(Integer projectID,
PermissionType[] permissionTypes) |
Modifier and Type | Method | Description |
---|---|---|
List<Issue> |
IssueDAO.query(IssueSearchQuery queryModel,
User user,
Map<Integer,Set<PermissionType>> userPermissions) |
Query the list of issues that satisfies the search criteria
specified in
queryModel . |
List<Issue> |
IssueDAOImpl.query(IssueSearchQuery searchQuery,
User user,
Map<Integer,Set<PermissionType>> userPermissions) |
It doens't really make sense for this method to receive projectDAO, it's just a quick
fix for the fact that IssueSearchQuery handles ids and not objects
|
Modifier and Type | Method | Description |
---|---|---|
Map<Integer,Set<PermissionType>> |
UserService.getUsersMapOfProjectIdsAndSetOfPermissionTypes(User user,
int reqSource) |
Returns a HashMap of all permissions a user has.
|
Modifier and Type | Method | Description |
---|---|---|
List<User> |
UserService.findUsersForProjectByPermissionTypeList(Integer projectID,
PermissionType[] permissionTypes) |
Finds all users assigned to a project having all of the given permissionTypes.
|
List<User> |
UserService.getUsersWithAnyProjectPermission(Integer projectId,
PermissionType[] permissions) |
This method will return a list of users with any of the supplied permission, either explicitly, or
by their role as a super user.
|
List<User> |
UserService.getUsersWithAnyProjectPermission(Integer projectId,
PermissionType[] permissions,
boolean activeOnly) |
This method will return a list of users with any of the supplied permission, either explicitly, or
by their role as a super user.
|
List<User> |
UserService.getUsersWithPermissionLocal(Integer projectId,
PermissionType permissionType) |
This method will call local EJBs to find users with a specific permission.
|
List<User> |
UserService.getUsersWithProjectPermission(Integer projectId,
PermissionType permission) |
This method will return a list of users with a specific permission, either explicitly, or
by their role as a super user.
|
List<User> |
UserService.getUsersWithProjectPermission(Integer projectId,
PermissionType[] permissions,
boolean requireAll,
boolean activeOnly) |
This method will return a list of users with the supplied permission, either explicitly, or
by their role as a super user.
|
List<User> |
UserService.getUsersWithProjectPermission(Integer projectId,
PermissionType permissionType,
boolean activeOnly) |
Modifier and Type | Method | Description |
---|---|---|
List<Issue> |
IssueService.searchIssues(IssueSearchQuery queryModel,
User user,
Map<Integer,Set<PermissionType>> userPermissions) |
Modifier and Type | Method | Description |
---|---|---|
List<User> |
DefaultAuthenticator.getUsersWithProjectPermission(Integer projectId,
PermissionType[] permissionTypes,
boolean requireAll,
boolean activeOnly,
int reqSource) |
Returns the list of users for a given project.
|
List<User> |
PluggableAuthenticator.getUsersWithProjectPermission(Integer projectId,
PermissionType[] permissionTypes,
boolean requireAll,
boolean activeOnly,
int reqSource) |
This method should return an array of users that have certain permissions in the
authentication system.
|
Modifier and Type | Method | Description |
---|---|---|
Map<Integer,Set<PermissionType>> |
UserServiceImpl.getUsersMapOfProjectIdsAndSetOfPermissionTypes(User user,
int reqSource) |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
List<User> |
UserServiceImpl.findUsersForProjectByPermissionTypeList(Integer projectID,
PermissionType[] permissionTypes) |
|
List<User> |
UserServiceImpl.getUsersWithAnyProjectPermission(Integer projectId,
PermissionType[] permissionTypes) |
|
List<User> |
UserServiceImpl.getUsersWithAnyProjectPermission(Integer projectId,
PermissionType[] permissions,
boolean activeOnly) |
|
List<User> |
UserServiceImpl.getUsersWithPermissionLocal(Integer projectId,
PermissionType permissionType) |
|
List<User> |
UserServiceImpl.getUsersWithProjectPermission(Integer projectId,
PermissionType permission) |
|
List<User> |
UserServiceImpl.getUsersWithProjectPermission(Integer projectId,
PermissionType[] permissionTypes,
boolean requireAll,
boolean activeOnly) |
|
List<User> |
UserServiceImpl.getUsersWithProjectPermission(Integer projectId,
PermissionType permissionType,
boolean activeOnly) |
Modifier and Type | Method | Description |
---|---|---|
List<Issue> |
IssueServiceImpl.searchIssues(IssueSearchQuery queryModel,
User user,
Map<Integer,Set<PermissionType>> userPermissions) |
Modifier and Type | Method | Description |
---|---|---|
List<IssuePTO> |
PortalHomeAction.buildIssueList(List<Issue> issues,
javax.servlet.http.HttpServletRequest request,
Map<Integer,Set<PermissionType>> permissions) |
Modifier and Type | Method | Description |
---|---|---|
protected Map<Integer,Set<PermissionType>> |
ItrackerBaseAction.getUserPermissions(javax.servlet.http.HttpSession session) |
Deprecated.
moved to
RequestHelper |
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
ItrackerBaseAction.hasPermission(PermissionType permissionNeeded,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Deprecated.
moved to
LoginUtilities |
Modifier and Type | Method | Description |
---|---|---|
protected static List<ProjectPTO> |
ListProjectsAction.getAllPTOs(ProjectService projectService,
PermissionType[] permissionFlags,
Map<Integer,Set<PermissionType>> permissions) |
returns listing of ALL projects with given permissions.
|
protected static List<ProjectPTO> |
ListProjectsAction.getPTOs(ProjectService projectService,
PermissionType[] permissionFlags,
Map<Integer,Set<PermissionType>> permissions) |
Modifier and Type | Method | Description |
---|---|---|
protected static List<ProjectPTO> |
ListProjectsAction.getAllPTOs(ProjectService projectService,
PermissionType[] permissionFlags,
Map<Integer,Set<PermissionType>> permissions) |
returns listing of ALL projects with given permissions.
|
protected static List<ProjectPTO> |
ListProjectsAction.getPTOs(ProjectService projectService,
PermissionType[] permissionFlags,
Map<Integer,Set<PermissionType>> permissions) |
Modifier and Type | Method | Description |
---|---|---|
void |
IssueForm.applyLimitedFields(Issue issue,
Project project,
User user,
Map<Integer,Set<PermissionType>> userPermissionsMap,
Locale locale,
IssueService issueService) |
|
Issue |
IssueForm.processFullEdit(Issue issue,
Project project,
User user,
Map<Integer,Set<PermissionType>> userPermissions,
Locale locale,
IssueService issueService,
org.apache.struts.action.ActionMessages errors) |
|
Issue |
IssueForm.processLimitedEdit(Issue issue,
Project project,
User user,
Map<Integer,Set<PermissionType>> userPermissionsMap,
Locale locale,
IssueService issueService,
org.apache.struts.action.ActionMessages messages) |
|
static void |
IssueForm.setupJspEnv(org.apache.struts.action.ActionMapping mapping,
IssueForm issueForm,
javax.servlet.http.HttpServletRequest request,
Issue issue,
IssueService issueService,
UserService userService,
Map<Integer,Set<PermissionType>> userPermissions,
Map<Integer,List<NameValuePair>> listOptions,
org.apache.struts.action.ActionMessages errors) |
method needed to prepare request for edit_issue.jsp
|
Modifier and Type | Method | Description |
---|---|---|
static Map<Integer,Set<PermissionType>> |
RequestHelper.getUserPermissions(javax.servlet.http.HttpSession session) |
Returns the map of a permissions by project id.
|
Modifier and Type | Method | Description |
---|---|---|
static boolean |
LoginUtilities.hasAnyPermission(Project project,
PermissionType[] permissionsNeeded) |
Returns true if the user has any of required permissions for the project.
|
static boolean |
LoginUtilities.hasPermission(PermissionType permissionNeeded) |
Returns true if the user has all the required permissions.
|
static boolean |
LoginUtilities.hasPermission(PermissionType[] permissionsNeeded,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Deprecated.
|
static boolean |
LoginUtilities.hasPermission(PermissionType permissionNeeded,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
|
static boolean |
LoginUtilities.hasPermission(Project project,
PermissionType permissionNeeded) |
Returns true if the user has the required permission for the given project.
|
static boolean |
LoginUtilities.hasPermission(Project project,
PermissionType[] permissionsNeeded) |
Returns true if the user has all of required permissions for the project.
|
Modifier and Type | Method | Description |
---|---|---|
static List<NameValuePair> |
EditIssueActionUtil.getAssignableIssueOwnersList(Issue issue,
Project project,
User currUser,
Locale locale,
UserService userService,
Map<Integer,Set<PermissionType>> userPermissions) |
This method will obtain and build a list of possible owners for the
webpages to display and the operator to choose from.
|
static Map<Integer,List<NameValuePair>> |
EditIssueActionUtil.getListOptions(javax.servlet.http.HttpServletRequest request,
Issue issue,
List<NameValuePair> ownersList,
Map<Integer,Set<PermissionType>> userPermissions,
Project project,
User currUser) |
Copyright © 2002–2019 itracker. All rights reserved.