AddIssueRelationAction
, AdminHomeAction
, AssignIssueAction
, CreateIssueAction
, CreateIssueFormAction
, CreateLanguageKeyAction
, CreateLanguageKeyFormAction
, DisplayReportAction
, DownloadAttachmentAction
, DownloadReportAction
, EditComponentAction
, EditComponentFormAction
, EditConfigurationAction
, EditConfigurationFormAction
, EditCustomFieldAction
, EditCustomFieldFormAction
, EditCustomFieldValueAction
, EditCustomFieldValueFormAction
, EditIssueAction
, EditIssueFormAction
, EditLanguageAction
, EditLanguageFormAction
, EditPreferencesAction
, EditPreferencesFormAction
, EditProjectAction
, EditProjectFormAction
, EditProjectScriptAction
, EditProjectScriptFormAction
, EditReportAction
, EditReportFormAction
, EditUserAction
, EditUserFormAction
, EditVersionAction
, EditVersionFormAction
, EditWorkflowScriptAction
, EditWorkflowScriptFormAction
, ErrorAction
, ExportAttachmentsAction
, ExportLanguageAction
, ExportReportAction
, ForgotPasswordAction
, ForgotPasswordFormAction
, ImportDataFormAction
, ImportDataProcessAction
, ImportDataVerifyAction
, InitializeLanguagesAction
, ListAttachmentsAction
, ListConfigurationAction
, ListIssuesAction
, ListLanguagesAction
, ListProjectsAction
, ListProjectsAction
, ListReportsAction
, ListReportsAction
, ListTasksAction
, ListUsersAction
, ListWorkflowScriptAction
, LockUserAction
, LoginAction
, LogoffAction
, MoveIssueAction
, MoveIssueFormAction
, OrderConfigurationItemAction
, OrderCustomFieldValueAction
, PortalHomeAction
, RemoveConfigurationItemAction
, RemoveCustomFieldAction
, RemoveCustomFieldValueAction
, RemoveHistoryEntryAction
, RemoveIssueAttachmentAction
, RemoveProjectScriptAction
, RemoveReportAction
, RemoveWorkflowScriptAction
, SearchIssuesAction
, SearchIssuesFormAction
, SelfRegisterAction
, SelfRegisterFormAction
, ShowHelpAction
, UnauthorizedAction
, UnlockUserAction
, ViewIssueAction
, ViewIssueActivityAction
, WatchIssueAction
public abstract class ItrackerBaseAction
extends org.apache.struts.action.Action
Constructor | Description |
---|---|
ItrackerBaseAction() |
Modifier and Type | Method | Description |
---|---|---|
String |
getBaseURL(javax.servlet.http.HttpServletRequest request) |
|
protected org.itracker.services.ITrackerServices |
getITrackerServices() |
Deprecated.
moved to new static method in
ServletContextUtils |
Locale |
getLocale(javax.servlet.http.HttpServletRequest request) |
|
protected Map<Integer,Set<org.itracker.model.PermissionType>> |
getUserPermissions(javax.servlet.http.HttpSession session) |
Deprecated.
moved to
RequestHelper |
protected boolean |
hasPermission(int permissionNeeded,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Deprecated.
|
protected boolean |
hasPermission(org.itracker.model.PermissionType permissionNeeded,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Deprecated.
moved to
LoginUtilities |
protected static void |
logTimeMillies(String message,
Date startTime,
org.apache.log4j.Logger log,
org.apache.log4j.Level level) |
Log time passed since timestamp startTime was set.
|
addErrors, addMessages, execute, execute, generateToken, getErrors, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
protected Map<Integer,Set<org.itracker.model.PermissionType>> getUserPermissions(javax.servlet.http.HttpSession session)
RequestHelper
protected boolean hasPermission(org.itracker.model.PermissionType permissionNeeded, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
LoginUtilities
IOException
javax.servlet.ServletException
@Deprecated protected boolean hasPermission(int permissionNeeded, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
public String getBaseURL(javax.servlet.http.HttpServletRequest request)
request
- - request for base-urlprotected org.itracker.services.ITrackerServices getITrackerServices()
ServletContextUtils
public Locale getLocale(javax.servlet.http.HttpServletRequest request)
getLocale
in class org.apache.struts.action.Action
protected static void logTimeMillies(String message, Date startTime, org.apache.log4j.Logger log, org.apache.log4j.Level level)
System.currentTimeMillis()
. This helps on actions performance issues.Copyright © 2002–2019 itracker. All rights reserved.