|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wewebu.ow.server.ui.OwAdaptor
public class OwAdaptor
Utility class to handle adaptor selection.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
| Nested Class Summary | |
|---|---|
class |
OwAdaptor.OwAjaxRequestHandlerStrategy
Strategy for handling an AJAX request |
class |
OwAdaptor.OwApplicationStarterStrategy
Strategy for handling "Start OWD" button request |
class |
OwAdaptor.OwGetEditNodesStrategy
Strategy for handling "get editable nodes" request. |
class |
OwAdaptor.OwListSavedFilesStrategy
Strategy for handling "list saved files" request. |
static interface |
OwAdaptor.OwRequestHandlerStrategy
Strategy for handling different requests. |
class |
OwAdaptor.OwSaveFileStrategy
Strategy for handling "save file" request. |
| Constructor Summary | |
|---|---|
OwAdaptor()
Constructor |
|
| Method Summary | |
|---|---|
String |
getAvailableAdators()
Get the available adaptors as a JavaScript array. |
String |
getBaseURL(javax.servlet.http.HttpServletRequest request_p)
Get the base URL for the adaptor.jsp. |
String |
getEditableAdaptors()
Get the adaptor paths that have configured editable nodes. |
String |
getEditNodes(String adaptor_p,
String selectedBootstrap_p)
Get the nodes (as an EXTJS array) specified in OW_EDITABLE_BOOTSTRAP_NODES_PATH file from owbootstrap.xml. |
String |
getSelectedAdaptor()
Get the default selected adaptor |
void |
initialize(javax.servlet.http.HttpServletRequest request_p,
OwWebApplication owApplication_p)
Initialize the application |
void |
processRequest(javax.servlet.http.HttpServletRequest request_p,
javax.servlet.http.HttpServletResponse response_p,
OwWebApplication owApplication_p)
Process the current request |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OwAdaptor()
| Method Detail |
|---|
public String getAvailableAdators()
throws Exception
Exception
public String getSelectedAdaptor()
throws Exception
Exceptionpublic String getBaseURL(javax.servlet.http.HttpServletRequest request_p)
request_p - - the request object
public void initialize(javax.servlet.http.HttpServletRequest request_p,
OwWebApplication owApplication_p)
throws Exception
request_p - owApplication_p -
Exception
public void processRequest(javax.servlet.http.HttpServletRequest request_p,
javax.servlet.http.HttpServletResponse response_p,
OwWebApplication owApplication_p)
throws Exception
request_p - response_p - owApplication_p -
Exception
public String getEditableAdaptors()
throws Exception
Exception
public String getEditNodes(String adaptor_p,
String selectedBootstrap_p)
throws Exception
OW_EDITABLE_BOOTSTRAP_NODES_PATH file from owbootstrap.xml.
adaptor_p - - the adaptorselectedBootstrap_p - - the selected file (from where to read)
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||