| org.tigris.scarab.screens.Default
All known Subclasses: org.tigris.scarab.screens.DataExport, org.tigris.scarab.screens.ConfigureIssueList, org.tigris.scarab.screens.admin.ModuleAttributeEdit, org.tigris.scarab.screens.admin.GlobalAttributeEdit, org.tigris.scarab.screens.SaveTemplate, org.tigris.scarab.screens.admin.ConditionEdit, org.tigris.scarab.screens.ScarabDefault, org.tigris.scarab.screens.admin.ManageArtifactTypes, org.tigris.scarab.screens.admin.AttributeOptionSelect, org.tigris.scarab.screens.AssignIssue, org.tigris.scarab.screens.entry.Wizard1, org.tigris.scarab.screens.admin.ArtifactTypeEdit, org.tigris.scarab.screens.admin.ActivityList, org.tigris.scarab.screens.admin.XMLImportIssuesResults, org.tigris.scarab.screens.Register, org.tigris.scarab.screens.admin.ViewXMLExportIssues, org.tigris.scarab.screens.home.XModuleList, org.tigris.scarab.screens.MoveIssue, org.tigris.scarab.screens.admin.ViewXMLExportSettings, org.tigris.scarab.screens.IssueTypeList, org.tigris.scarab.screens.notifications.NotificationList, org.tigris.scarab.screens.admin.AttributeGroupEdit, org.tigris.scarab.screens.IssueList, org.tigris.scarab.screens.admin.UserAttributeEdit, org.tigris.scarab.screens.admin.GlobalArtifactTypeEdit, org.tigris.scarab.screens.RSSIssueList, org.tigris.scarab.screens.ViewIssue, org.tigris.scarab.screens.ViewAttachment, org.tigris.scarab.screens.SelectModule,
Default | public class Default extends TemplateSecureScreen (Code) | | This class is responsible for building the Context up
for the Default Screen as well as validating Security information
for all of the Screens. Please note that the Actions also may depend
on the checkAuthorized() method in order to prevent the need for
duplication of code.
author: Jon S. Stevens version: $Id: Default.java 9290 2004-12-03 15:57:52Z dep4b $ |
checkAuthorized | public static boolean checkAuthorized(RunData data) throws Exception(Code) | | Public static access to the isAuthorized() method so that
an Action can use this same method to do authorization.
|
doBuild | public String doBuild(RunData data) throws Exception(Code) | | Override the subclass and call doBuildTemplate. This is a hack.
For some reason the doBuildTemplate is not being called in a
few select cases, so lets just hack things to always get called
properly.
|
doBuildTemplate | protected void doBuildTemplate(RunData data, TemplateContext context) throws Exception(Code) | | builds up the context for display of variables on the page.
|
getLocalizationTool | public static ScarabLocalizationTool getLocalizationTool(TemplateContext context)(Code) | | Helper method to retrieve the ScarabLocalizationTool from the Context
|
getScarabRequestTool | public static ScarabRequestTool getScarabRequestTool(TemplateContext context)(Code) | | Helper method to retrieve the ScarabRequestTool from the Context
|
isAuthorized | protected boolean isAuthorized(RunData data) throws Exception(Code) | | sets the template to Login.vm if the user hasn't logged in yet
or if the user does not have the base permissions.
|
setTargetLogin | public static void setTargetLogin(RunData data)(Code) | | |
setTargetSelectModule | public static void setTargetSelectModule(RunData data)(Code) | | |
|
|