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.implementations |
This package contains XXXService interface implementations,
named XXXServiceImpl by convention.
|
org.itracker.web.actions.report | |
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 |
---|---|---|
Project |
Component.getProject() |
Returns the project owning this component.
|
Project |
Issue.getProject() |
|
Project |
IssueSearchQuery.getProject() |
|
Project |
Permission.getProject() |
|
Project |
ProjectScript.getProject() |
|
Project |
Version.getProject() |
Modifier and Type | Method | Description |
---|---|---|
List<Project> |
IssueSearchQuery.getAvailableProjects() |
|
List<Project> |
User.getProjects() |
Modifier and Type | Method | Description |
---|---|---|
int |
Project.ProjectComparator.compare(Project o1,
Project o2) |
|
String |
PermissionType.name(Project project) |
|
void |
Component.setProject(Project project) |
Sets the project owning this component.
|
void |
Issue.setProject(Project project) |
|
void |
IssueSearchQuery.setProject(Project value) |
|
void |
Permission.setProject(Project project) |
May be null to indicate a permission on all projects.
|
void |
ProjectScript.setProject(Project project) |
|
void |
Version.setProject(Project project) |
Modifier and Type | Method | Description |
---|---|---|
void |
IssueSearchQuery.setAvailableProjects(List<Project> value) |
|
void |
User.setProjects(List<Project> projects) |
Constructor | Description |
---|---|
Component(Project project,
String name) |
Creates a new active Component of the given name for the given Project.
|
Permission(PermissionType type,
User user,
Project project) |
Grants permissions on all projects to the given user.
|
Version(Project project,
String number) |
Creates a new active Version for the given Project.
|
Modifier and Type | Method | Description |
---|---|---|
static Permission[] |
UserUtilities.createPermissionArray(User user,
Project project,
int[] permissions) |
|
static boolean |
IssueUtilities.hasHardNotification(Issue issue,
Project project,
Integer userId) |
|
static boolean |
IssueUtilities.hasIssueNotification(Issue issue,
Project project,
Integer userId) |
Evaluate if a certain user is notified on issue change.
|
Modifier and Type | Method | Description |
---|---|---|
Project |
ProjectDAO.findByName(String name) |
Finds a project by name.
|
Project |
ProjectDAOImpl.findByName(String name) |
|
Project |
ProjectDAO.findByPrimaryKey(Integer projectId) |
Finds a project by ID.
|
Project |
ProjectDAOImpl.findByPrimaryKey(Integer projectId) |
Modifier and Type | Method | Description |
---|---|---|
List<Project> |
ProjectDAO.findAll() |
Finds all projects.
|
List<Project> |
ProjectDAOImpl.findAll() |
|
List<Project> |
ProjectDAO.findAllAvailable() |
Finds all projects that are active or viewable.
|
List<Project> |
ProjectDAOImpl.findAllAvailable() |
|
List<Project> |
ProjectDAO.findByStatus(int status) |
Finds all projects with a given status.
|
List<Project> |
ProjectDAOImpl.findByStatus(int status) |
Modifier and Type | Method | Description |
---|---|---|
Project |
ProjectService.createProject(Project project,
Integer userId) |
|
Project |
IssueService.getIssueProject(Integer issueId) |
|
Project |
ProjectService.getProject(Integer projectId) |
|
Project |
ProjectService.updateProject(Project project,
Integer userId) |
update a project, as the user with userId
|
Modifier and Type | Method | Description |
---|---|---|
List<Project> |
ProjectService.getAllAvailableProjects() |
|
List<Project> |
ProjectService.getAllProjects() |
Modifier and Type | Method | Description |
---|---|---|
Project |
ProjectService.createProject(Project project,
Integer userId) |
|
boolean |
ProjectService.setProjectFields(Project project,
Set<Integer> newFields) |
|
boolean |
ProjectService.setProjectOwners(Project project,
Set<Integer> newOwners) |
|
Project |
ProjectService.updateProject(Project project,
Integer userId) |
update a project, as the user with userId
|
Modifier and Type | Method | Description |
---|---|---|
Project |
ProjectServiceImpl.createProject(Project project,
Integer userId) |
|
Project |
IssueServiceImpl.getIssueProject(Integer issueId) |
|
Project |
ProjectServiceImpl.getProject(Integer projectId) |
|
Project |
ProjectServiceImpl.updateProject(Project project,
Integer userId) |
Modifier and Type | Method | Description |
---|---|---|
List<Project> |
ProjectServiceImpl.getAllAvailableProjects() |
|
List<Project> |
ProjectServiceImpl.getAllProjects() |
|
List<Project> |
ProjectServiceImpl.getListOfAllAvailableProjects() |
Modifier and Type | Method | Description |
---|---|---|
Project |
ProjectServiceImpl.createProject(Project project,
Integer userId) |
|
boolean |
ProjectServiceImpl.setProjectFields(Project project,
Set<Integer> setOfNewsFieldIds) |
|
boolean |
ProjectServiceImpl.setProjectOwners(Project project,
Set<Integer> setOfNewOwnerIds) |
|
Project |
ProjectServiceImpl.updateProject(Project project,
Integer userId) |
Modifier and Type | Method | Description |
---|---|---|
static void |
DisplayReportAction.outputReport(List<Issue> reportDataArray,
Project project,
Report report,
Locale userLocale,
String reportOutput,
javax.servlet.http.HttpServletResponse response) |
Modifier and Type | Method | Description |
---|---|---|
Issue |
IssueForm.addAttachment(Issue issue,
Project project,
User user,
ITrackerServices services,
org.apache.struts.action.ActionMessages messages) |
Adds an attachment to issue.
|
void |
IssueForm.applyLimitedFields(Issue issue,
Project project,
User user,
Map<Integer,Set<PermissionType>> userPermissionsMap,
Locale locale,
IssueService issueService) |
|
void |
IssueForm.invokeProjectScripts(Project project,
int event,
Map<Integer,List<NameValuePair>> options,
org.apache.struts.action.ActionMessages errors) |
|
Map<Integer,List<NameValuePair>> |
IssueForm.invokeProjectScripts(Project project,
int event,
org.apache.struts.action.ActionMessages errors) |
|
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) |
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) |
|
static String |
ImportExportUtilities.getProjectXML(Project project) |
Generates an XML block that encapsulates a project for import or export.
|
static org.apache.struts.action.ActionForward |
EditIssueActionUtil.getReturnForward(Issue issue,
Project project,
String caller,
org.apache.struts.action.ActionMapping mapping) |
|
static void |
AdminProjectUtilities.handleInitialProjectMembers(Project project,
Set<Integer> userIds,
Set<Integer> permissions,
ProjectService projectService,
UserService userService) |
When creating project, initial set of users with specific set of rights
can be defined.
|
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(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.
|
static void |
AdminProjectUtilities.setFormProperties(Project project,
ProjectService projectService,
org.apache.struts.action.ActionForm form,
org.apache.struts.action.ActionMessages errors) |
|
static void |
AdminProjectUtilities.updateProjectOwners(Project project,
Set<Integer> userIds,
ProjectService projectService,
UserService userService) |
Setup permissions for updated project-owners.
|
Copyright © 2002–2019 itracker. All rights reserved.