Java Doc for RequireLoginFirstAction.java in  » Issue-Tracking » scarab-0.21 » org » tigris » scarab » actions » base » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Issue Tracking » scarab 0.21 » org.tigris.scarab.actions.base 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.tigris.scarab.actions.base.RequireLoginFirstAction

All known Subclasses:   org.tigris.scarab.actions.ConfigureIssueList,  org.tigris.scarab.actions.admin.AttributeGroupEdit,  org.tigris.scarab.actions.admin.ModuleAttributeEdit,  org.tigris.scarab.actions.ViewIssue,  org.tigris.scarab.actions.admin.UpdateSearchIndex,  org.tigris.scarab.actions.admin.GlobalAttributeEdit,  org.tigris.scarab.actions.admin.ManageUser,  org.tigris.scarab.actions.admin.GlobalArtifactTypes,  org.tigris.scarab.actions.ModifyModule,  org.tigris.scarab.actions.DefineXModuleList,  org.tigris.scarab.actions.admin.GlobalAttributes,  org.tigris.scarab.actions.admin.GlobalEmailSettings,  org.tigris.scarab.actions.admin.ConditionEdit,  org.tigris.scarab.actions.admin.SetInfoMessage,  org.tigris.scarab.actions.admin.AppConfigurationSettings,  org.tigris.scarab.actions.admin.ManagePermissions,  org.tigris.scarab.actions.Redirect,  org.tigris.scarab.actions.HandleRoleRequests,  org.tigris.scarab.actions.base.BaseModifyIssue,  org.tigris.scarab.actions.admin.IssueTypeAttributeEdit,  org.tigris.scarab.actions.admin.ManageRoles,  org.tigris.scarab.actions.SetHomePage,  org.tigris.scarab.actions.admin.GlobalArtifactTypeCreate,  org.tigris.scarab.actions.Search,  org.tigris.scarab.actions.ReportIssue,  org.tigris.scarab.actions.ConfigureReport,  org.tigris.scarab.actions.TemplateList,  org.tigris.scarab.actions.QueryList,  org.tigris.scarab.actions.admin.Approval,  org.tigris.scarab.actions.admin.ArtifactTypeEdit,  org.tigris.scarab.actions.admin.ManageArtifactTypes,
RequireLoginFirstAction
abstract public class RequireLoginFirstAction extends TemplateSecureAction (Code)
This is a badly named class which is essentially equivalent to the Default.java Screen except that it has a few helper methods.
author:
   Jon S. Stevens
version:
   $Id: RequireLoginFirstAction.java 9280 2004-11-27 01:11:13Z jorgeuriarte $


Field Summary
final protected static  LocalizationKeyDEFAULT_MSG
    
final protected static  LocalizationKeyEMAIL_ERROR
    
final protected static  LocalizationKeyEMAIL_ERROR2
    
final protected static  LocalizationKeyERROR_MESSAGE
    
final protected static  LocalizationKeyNO_CHANGES_MADE
    
final protected static  LocalizationKeyNO_PERMISSION_MESSAGE
    


Method Summary
public  booleanareThereDupeSequences(List list, IntakeTool intake, String groupName, String fieldName, int dedupeSeq)
    
public  voiddoCancel(RunData data, TemplateContext context)
    
public  voiddoDone(RunData data, TemplateContext context)
    
public  voiddoGonext(RunData data, TemplateContext context)
    
public  voiddoGotoothertemplate(RunData data, TemplateContext context)
    
public  voiddoRefresh(RunData data, TemplateContext context)
    
public  voiddoRefreshresultsperpage(RunData data, TemplateContext context)
    
public  voiddoReset(RunData data, TemplateContext context)
    
public  voiddoSave(RunData data, TemplateContext context)
    
public  StringgetBackTemplate(RunData data)
     Returns the backTemplate to be executed.
public  StringgetBackTemplate(RunData data, String defaultValue)
     Returns the backTemplate to be executed.
public  StringgetCancelTemplate(RunData data)
     Returns the cancelTemplate to be executed.
public  StringgetCancelTemplate(RunData data, String defaultValue)
     Returns the cancelTemplate to be executed.
public  StringgetCurrentTemplate(RunData data)
    
public  StringgetCurrentTemplate(RunData data, String defaultValue)
     Returns the current template that is being executed, otherwisse it returns defaultValue.
public  IntakeToolgetIntakeTool(TemplateContext context)
    
public  StringgetLastTemplate(RunData data)
     Returns the last template to be cancelled back to.
final protected  ScarabLocalizationToolgetLocalizationTool(TemplateContext context)
    
public  StringgetNextTemplate(RunData data)
     Returns the nextTemplate to be executed.
public  StringgetNextTemplate(RunData data, String defaultValue)
     Returns the nextTemplate to be executed.
public  StringgetOtherTemplate(RunData data)
     Returns the other template that is being executed, otherwise it returns null.
protected  StringgetRequiredPermission(RunData data)
     Flag that marks the action as requiring a permission mapping in Scarab.properties.
public  ScarabRequestToolgetScarabRequestTool(TemplateContext context)
    
protected  booleanisAuthorized(RunData data)
    
protected  Loggerlog()
    

Field Detail
DEFAULT_MSG
final protected static LocalizationKey DEFAULT_MSG(Code)



EMAIL_ERROR
final protected static LocalizationKey EMAIL_ERROR(Code)



EMAIL_ERROR2
final protected static LocalizationKey EMAIL_ERROR2(Code)



ERROR_MESSAGE
final protected static LocalizationKey ERROR_MESSAGE(Code)



NO_CHANGES_MADE
final protected static LocalizationKey NO_CHANGES_MADE(Code)



NO_PERMISSION_MESSAGE
final protected static LocalizationKey NO_PERMISSION_MESSAGE(Code)





Method Detail
areThereDupeSequences
public boolean areThereDupeSequences(List list, IntakeTool intake, String groupName, String fieldName, int dedupeSeq) throws Exception(Code)
Check if the objects have duplicate sequence numbers set
Parameters:
  list - List of 'om' objects that need to be checked for duplicatesequence.
Parameters:
  intake - IntakeTool
Parameters:
  groupName - Intake group name
Parameters:
  fieldName - Intake field name
Parameters:
  dedupeSeq - sequence number set for Duplicate Check element in thecase of attribute groups boolean TRUE if there are duplicate sequence numbers.



doCancel
public void doCancel(RunData data, TemplateContext context) throws Exception(Code)



doDone
public void doDone(RunData data, TemplateContext context) throws Exception(Code)



doGonext
public void doGonext(RunData data, TemplateContext context) throws Exception(Code)



doGotoothertemplate
public void doGotoothertemplate(RunData data, TemplateContext context) throws Exception(Code)



doRefresh
public void doRefresh(RunData data, TemplateContext context) throws Exception(Code)



doRefreshresultsperpage
public void doRefreshresultsperpage(RunData data, TemplateContext context) throws Exception(Code)



doReset
public void doReset(RunData data, TemplateContext context) throws Exception(Code)



doSave
public void doSave(RunData data, TemplateContext context) throws Exception(Code)



getBackTemplate
public String getBackTemplate(RunData data)(Code)
Returns the backTemplate to be executed. Otherwise returns null.



getBackTemplate
public String getBackTemplate(RunData data, String defaultValue)(Code)
Returns the backTemplate to be executed. Otherwise returns defaultValue.



getCancelTemplate
public String getCancelTemplate(RunData data)(Code)
Returns the cancelTemplate to be executed. Otherwise returns null.



getCancelTemplate
public String getCancelTemplate(RunData data, String defaultValue)(Code)
Returns the cancelTemplate to be executed. Otherwise returns defaultValue.



getCurrentTemplate
public String getCurrentTemplate(RunData data)(Code)
Returns the current template that is being executed, otherwisse it returns null



getCurrentTemplate
public String getCurrentTemplate(RunData data, String defaultValue)(Code)
Returns the current template that is being executed, otherwisse it returns defaultValue.



getIntakeTool
public IntakeTool getIntakeTool(TemplateContext context)(Code)
Helper method to retrieve the IntakeTool from the Context



getLastTemplate
public String getLastTemplate(RunData data)(Code)
Returns the last template to be cancelled back to.



getLocalizationTool
final protected ScarabLocalizationTool getLocalizationTool(TemplateContext context)(Code)
Helper method to retrieve the ScarabLocalizationTool from the Context



getNextTemplate
public String getNextTemplate(RunData data)(Code)
Returns the nextTemplate to be executed. Otherwise returns null.



getNextTemplate
public String getNextTemplate(RunData data, String defaultValue)(Code)
Returns the nextTemplate to be executed. Otherwise returns defaultValue.



getOtherTemplate
public String getOtherTemplate(RunData data)(Code)
Returns the other template that is being executed, otherwise it returns null.



getRequiredPermission
protected String getRequiredPermission(RunData data)(Code)
Flag that marks the action as requiring a permission mapping in Scarab.properties. The default is true, so actions that only require login (or only require a permission given some critieria available in the arguments), should override this method.
Parameters:
  data - a RunData value a boolean value



getScarabRequestTool
public 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 template.login if the user hasn't logged in yet



log
protected Logger log()(Code)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.