Java Doc for ComponentManager.java in  » J2EE » Expresso » com » jcorporate » expresso » ext » controller » 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 » J2EE » Expresso » com.jcorporate.expresso.ext.controller 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.jcorporate.expresso.core.controller.Controller
   com.jcorporate.expresso.core.controller.DBController
      com.jcorporate.expresso.ext.controller.ComponentManager

ComponentManager
public class ComponentManager extends DBController (Code)

Component Manager Controller

Description: The Expresso Framework

Copyright: Copyright (c) 2001-2002

Company: JCorporate Ltd.

Component Manager is a short application to assist in the addition and removal of various Expresso-based components in an easy-to-use interface

The version that ships with Expresso 5.0 is marked Experimental and should not be used in a production environment unless your data has first been backed up.

Also note that the removal of a component also deletes the underlying tables and their associated data. Be sure to export any tables' data before removing a component


author:
   Michael Rimov
since:
   Expresso 5.0



Constructor Summary
public  ComponentManager()
    

Method Summary
public  StringgetTitle()
    
 booleanisSchemaInstalled(ControllerRequest request, ControllerResponse response, String className)
     Helper function that returns true if the schema does exist in the SchemaList
Parameters:
  request - The ControllerRequest object handed downby the base controller class.
Parameters:
  response - The ControllerResponse object that is filledout by this function.
Parameters:
  className - The name of the class to try to load.
protected  ArrayListparseMarkedClassNames(ControllerRequest request, ControllerResponse response)
    
protected  ControllerResponserunComponentDetailsState(ControllerRequest request, ControllerResponse response)
     Lists the details of a particular schema component.
Parameters:
  request - The ControllerRequest object handed downby the base controller class.
Parameters:
  response - The ControllerResponse object that is filledout by this function.
protected  ControllerResponserunListState(ControllerRequest request, ControllerResponse response)
     Lists the currently installed Schemas
Parameters:
  request - The ControllerRequest object handed downby the base controller class.
Parameters:
  response - The ControllerResponse object that is filledout by this function.
protected  ControllerResponserunProcessAddState(ControllerRequest request, ControllerResponse response)
    
Parameters:
  request - The ControllerRequest object handed downby the base controller class.
Parameters:
  response - The ControllerResponse object that is filledout by this function.
protected  ControllerResponserunProcessDeleteState(ControllerRequest request, ControllerResponse response)
    
Parameters:
  request - The ControllerRequest object handed downby the base controller class.
Parameters:
  response - The ControllerResponse object that is filledout by this function.
protected  ControllerResponserunPromptAddState(ControllerRequest request, ControllerResponse response)
    
Parameters:
  request - The ControllerRequest object handed downby the base controller class.
Parameters:
  response - The ControllerResponse object that is filledout by this function.
protected  ControllerResponserunPromptDeleteState(ControllerRequest request, ControllerResponse response)
    
Parameters:
  request - The ControllerRequest object handed downby the base controller class.
Parameters:
  response - The ControllerResponse object that is filledout by this function.
protected  voidrunVerifyInstallState(ControllerRequest request, ControllerResponse response)
    


Constructor Detail
ComponentManager
public ComponentManager()(Code)




Method Detail
getTitle
public String getTitle()(Code)
Returns the title of this controller java.lang.String



isSchemaInstalled
boolean isSchemaInstalled(ControllerRequest request, ControllerResponse response, String className)(Code)
Helper function that returns true if the schema does exist in the SchemaList
Parameters:
  request - The ControllerRequest object handed downby the base controller class.
Parameters:
  response - The ControllerResponse object that is filledout by this function.
Parameters:
  className - The name of the class to try to load. true if the schema classname is found in the SchemaList



parseMarkedClassNames
protected ArrayList parseMarkedClassNames(ControllerRequest request, ControllerResponse response) throws ControllerException(Code)



runComponentDetailsState
protected ControllerResponse runComponentDetailsState(ControllerRequest request, ControllerResponse response) throws ControllerException, NonHandleableException(Code)
Lists the details of a particular schema component.
Parameters:
  request - The ControllerRequest object handed downby the base controller class.
Parameters:
  response - The ControllerResponse object that is filledout by this function. ControllerResponse object.
throws:
  ControllerException - upon error
throws:
  NonHandleableException - upon fatal error



runListState
protected ControllerResponse runListState(ControllerRequest request, ControllerResponse response) throws ControllerException, NonHandleableException(Code)
Lists the currently installed Schemas
Parameters:
  request - The ControllerRequest object handed downby the base controller class.
Parameters:
  response - The ControllerResponse object that is filledout by this function. ControllerResponse object.
throws:
  ControllerException - upon error
throws:
  NonHandleableException - upon fatal error



runProcessAddState
protected ControllerResponse runProcessAddState(ControllerRequest request, ControllerResponse response) throws ControllerException, NonHandleableException(Code)

Parameters:
  request - The ControllerRequest object handed downby the base controller class.
Parameters:
  response - The ControllerResponse object that is filledout by this function. ControllerResponse object.
throws:
  ControllerException - upon error
throws:
  NonHandleableException - upon fatal error



runProcessDeleteState
protected ControllerResponse runProcessDeleteState(ControllerRequest request, ControllerResponse response) throws ControllerException, NonHandleableException(Code)

Parameters:
  request - The ControllerRequest object handed downby the base controller class.
Parameters:
  response - The ControllerResponse object that is filledout by this function. ControllerResponse object.
throws:
  ControllerException - upon error
throws:
  NonHandleableException - upon fatal error



runPromptAddState
protected ControllerResponse runPromptAddState(ControllerRequest request, ControllerResponse response) throws ControllerException, NonHandleableException(Code)

Parameters:
  request - The ControllerRequest object handed downby the base controller class.
Parameters:
  response - The ControllerResponse object that is filledout by this function. ControllerResponse object.
throws:
  ControllerException - upon error
throws:
  NonHandleableException - upon fatal error



runPromptDeleteState
protected ControllerResponse runPromptDeleteState(ControllerRequest request, ControllerResponse response) throws ControllerException, NonHandleableException(Code)

Parameters:
  request - The ControllerRequest object handed downby the base controller class.
Parameters:
  response - The ControllerResponse object that is filledout by this function. ControllerResponse object.
throws:
  ControllerException - upon error
throws:
  NonHandleableException - upon fatal error



runVerifyInstallState
protected void runVerifyInstallState(ControllerRequest request, ControllerResponse response) throws ControllerException, NonHandleableException(Code)

Parameters:
  request - The ControllerRequest object handed downby the base controller class.
Parameters:
  response - The ControllerResponse object that is filledout by this function.
throws:
  ControllerException - upon error
throws:
  NonHandleableException - upon fatal error



Methods inherited from com.jcorporate.expresso.core.controller.DBController
protected String getString(String stringCode, Object[] args, ControllerRequest myRequest)(Code)(Java Doc)
public static boolean isAllowed(ControllerRequest request, DBController controller, String newState) throws DBException, CacheException(Code)(Java Doc)
public boolean stateAllowed(String newState, ControllerRequest myRequest) throws ControllerException(Code)(Java Doc)

Fields inherited from com.jcorporate.expresso.core.controller.Controller
final public static String CONTROLLER_PARAM_KEY(Code)(Java Doc)
final public static String CTL_SUCC_CTL(Code)(Java Doc)
final public static String CTL_SUCC_STATE(Code)(Java Doc)
final public static String CTL_SUCC_TRAN(Code)(Java Doc)
final public static String NEWSTATE_EXCEPTION_KEY(Code)(Java Doc)
final public static String ORIGINAL_URL_KEY(Code)(Java Doc)
final public static String REQUEST_KEY(Code)(Java Doc)
final public static String RESPONSE_KEY(Code)(Java Doc)
final public static String RETURN_TO_SENDER_TRAN(Code)(Java Doc)
final public static String STATE_ERR_CTL(Code)(Java Doc)
final public static String STATE_ERR_STATE(Code)(Java Doc)
final public static String STATE_ERR_TRAN(Code)(Java Doc)
final public static String STATE_PARAM_KEY(Code)(Java Doc)
final public static String STATE_SUCC_CTL(Code)(Java Doc)
final public static String STATE_SUCC_STATE(Code)(Java Doc)
final public static String STATE_SUCC_TRAN(Code)(Java Doc)
protected Logger mLog(Code)(Java Doc)

Methods inherited from com.jcorporate.expresso.core.controller.Controller
protected void addFinalState(State newFinalState) throws NonHandleableException(Code)(Java Doc)
protected void addPromptTransitions(State nextState, ControllerResponse response) throws ControllerException(Code)(Java Doc)
protected void addRegDomainParamtoSession(HttpServletRequest req, ControllerRequest creq, String regDomain) throws ControllerException(Code)(Java Doc)
protected void addRequestedURLtoSession(HttpServletRequest req, ControllerRequest creq) throws ControllerException(Code)(Java Doc)
protected void addState(State newState)(Code)(Java Doc)
protected void addStatePairing(State promptState, State handleState, String stateFormClass) throws NonHandleableException(Code)(Java Doc)
protected void endTimer(long beginTimer, HttpServletRequest request)(Code)(Java Doc)
public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException(Code)(Java Doc)
protected ActionForm findControllerForm(ControllerRequest request) throws ControllerException(Code)(Java Doc)
protected String generateToken(ControllerRequest request)(Code)(Java Doc)
protected ActionForward getActionForward(ServletControllerRequest req, ActionConfig mapping, ControllerResponse res) throws NonHandleableException, ControllerException(Code)(Java Doc)
protected Transition getControllerChainingTransition()(Code)(Java Doc)
protected Transition getControllerSecurityTransition()(Code)(Java Doc)
public State getFinalState()(Code)(Java Doc)
public String getInitialState()(Code)(Java Doc)
public synchronized Logger getLogger()(Code)(Java Doc)
public static String[] getParamValues(ServletControllerRequest request, String paramName)(Code)(Java Doc)
protected String getRequestURL(HttpServletRequest req)(Code)(Java Doc)
final protected String getSchema()(Code)(Java Doc)
public synchronized Stack getSchemaHierarchy()(Code)(Java Doc)
protected Schema getSchemaInstance()(Code)(Java Doc)
public synchronized Stack getSchemaStack()(Code)(Java Doc)
final public State getState(String stateName)(Code)(Java Doc)
final public Hashtable getStates()(Code)(Java Doc)
protected String getString(String stringCode)(Code)(Java Doc)
protected String getString(String stringCode, Object[] args)(Code)(Java Doc)
public String getTitle()(Code)(Java Doc)
protected void handleException(HttpServletRequest req, ControllerRequest creq, String dbName, String userName, Throwable theException) throws ServletException(Code)(Java Doc)
public static synchronized Controller instantiate(String className) throws ControllerException(Code)(Java Doc)
protected boolean isFinalState(String newState)(Code)(Java Doc)
protected boolean isHandleState(State nextState)(Code)(Java Doc)
protected boolean isPromptState(State nextState)(Code)(Java Doc)
protected boolean isTokenValid(ControllerRequest request)(Code)(Java Doc)
protected StateForm loadStateForm(State nextState, ActionForm controllerForm) throws ControllerException(Code)(Java Doc)
public ControllerResponse newState(String newState, ControllerRequest myRequest) throws ControllerException, NonHandleableException(Code)(Java Doc)
protected String nextHandleState(State nextState)(Code)(Java Doc)
protected String nextPromptState(State nextState)(Code)(Java Doc)
protected void populateStateForm(StateForm stateForm, ControllerRequest request) throws ControllerException(Code)(Java Doc)
protected void postPerform(State nextState, ControllerRequest request, ControllerResponse response) throws ControllerException(Code)(Java Doc)
protected void prePerform(State nextState, ControllerRequest request, ControllerResponse response) throws ControllerException(Code)(Java Doc)
protected String previousPromptState(State nextState)(Code)(Java Doc)
protected void processRequestTransitions(State nextState, ControllerRequest request) throws ControllerException(Code)(Java Doc)
protected Transition processTransitions(ControllerRequest request, ControllerResponse response, State nextState) throws ControllerException, NonHandleableException(Code)(Java Doc)
protected void redirectRequest(HttpServletResponse response, String redirectURL) throws IOException(Code)(Java Doc)
public void redirectRequest(ControllerRequest request, ControllerResponse response, String redirectURL) throws IOException(Code)(Java Doc)
protected ForwardConfig remapFromExtension(ForwardConfig fwd, ActionConfig mapping, ServletControllerRequest req) throws ControllerException(Code)(Java Doc)
protected void resetToken(ControllerRequest request)(Code)(Java Doc)
protected void saveToken(ControllerRequest request)(Code)(Java Doc)
protected void setControllerChainingTransition(Transition newControllerChainingTransition) throws NonHandleableException(Code)(Java Doc)
protected void setControllerSecurityTransition(Transition newControllerSecurityTransition)(Code)(Java Doc)
public ControllerResponse setCurrentState(String newState, ControllerRequest params) throws ControllerException, NonHandleableException(Code)(Java Doc)
public void setInitialState(String newInitialState)(Code)(Java Doc)
protected void setSchema(String schemaClass)(Code)(Java Doc)
protected void setSchema(Class schemaClass)(Code)(Java Doc)
public void setupDefaultValues(String dbName) throws DBException(Code)(Java Doc)
protected void setupReturnToSender(State nextState, ControllerRequest request) throws ControllerException(Code)(Java Doc)
protected synchronized void setupSubclassLog()(Code)(Java Doc)
public boolean stateAllowed(String newState, ControllerRequest params) throws ControllerException(Code)(Java Doc)
protected void transition(String newState, ControllerRequest req, ControllerResponse res) throws ControllerException, NonHandleableException(Code)(Java Doc)
protected void transition(String newState, Class externalController, ControllerRequest req, ControllerResponse res) throws ControllerException, NonHandleableException(Code)(Java Doc)
protected void transition(String newState, ControllerRequest req, ControllerResponse res, boolean clear) throws ControllerException, NonHandleableException(Code)(Java Doc)
protected void unloadStateForm(StateForm stateForm, ActionForm controllerForm) throws ControllerException(Code)(Java Doc)

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