|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.ui.OwEventTarget
com.wewebu.ow.server.ui.OwDocument
com.wewebu.ow.server.app.OwMasterDocument
public class OwMasterDocument
Document Module base class for the Main Area Plugins.
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
Field Summary |
---|
Fields inherited from class com.wewebu.ow.server.ui.OwDocument |
---|
m_ViewList |
Constructor Summary | |
---|---|
OwMasterDocument()
|
Method Summary | |
---|---|
Object |
dispatch(int iCode_p,
Object param1_p,
Object param2_p)
dispatch an event to the master plugin by calling onDispatch in the master document |
OwXMLUtil |
getConfigNode()
get the plugin description node |
OwConfiguration |
getConfiguration()
get the configuration object |
OwMasterView |
getMasterView()
get the corresponding masterview |
OwAttributeBagWriteable |
getPersistentAttributeBagWriteable()
get the plugin scalar settings specific for the current user. |
OwConfiguration.OwMasterPluginInstance |
getPlugin()
set the plugin instance |
String |
getPluginID()
get the plugin ID |
Object |
getSafeSetting(String strName_p,
Object default_p)
get a settings value for the plugin |
protected void |
init()
init the target after the context is set. |
protected Object |
onDispatch(int iCode_p,
Object param1_p,
Object param2_p)
This function can be overloaded to dispatch generic calls from other plugins this is a generic function, used for communication of plugins, which do not know about the interfaces of each other. |
void |
setPlugin(OwConfiguration.OwMasterPluginInstance plugin_p)
set the plugin instance |
void |
setSafeSetting(String strName_p,
Object value_p)
set a settings value for the plugin NOTE: You must call OwMainAppContext.saveUserPrefs(); to serialize the new value This function serializes against the XML Preferences and takes a lot of runtime. |
Methods inherited from class com.wewebu.ow.server.ui.OwDocument |
---|
attachView, attributecount, clear, detachView, getAttribute, getAttribute, getAttributeNames, getSafeAttribute, hasAttribute, remove, save, setAttribute, update |
Methods inherited from class com.wewebu.ow.server.ui.OwEventTarget |
---|
attach, detach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getFormName, getFormTarget, getID, onExternalRequest, onFormEvent, onRequest, setExternalFormTarget, updateExternalFormTarget |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OwMasterDocument()
Method Detail |
---|
protected void init() throws Exception
init
in class OwDocument
Exception
public void setPlugin(OwConfiguration.OwMasterPluginInstance plugin_p)
plugin_p
- OwPluginpublic OwConfiguration.OwMasterPluginInstance getPlugin()
public String getPluginID()
public OwXMLUtil getConfigNode()
public OwConfiguration getConfiguration()
public Object getSafeSetting(String strName_p, Object default_p)
strName_p
- name of property to retrievedefault_p
- Object if setting is not defined in plugin descriptor
public void setSafeSetting(String strName_p, Object value_p) throws Exception
strName_p
- name of property to retrievevalue_p
- Object to set
Exception
public OwAttributeBagWriteable getPersistentAttributeBagWriteable() throws Exception
getPersistentAttributeBagWriteable
in class OwDocument
Exception
protected Object onDispatch(int iCode_p, Object param1_p, Object param2_p) throws Exception
iCode_p
- enumerator designating the requested actionparam1_p
- Placeholder for optional parameterparam2_p
- Placeholder for optional parameter
Exception
public Object dispatch(int iCode_p, Object param1_p, Object param2_p) throws Exception
iCode_p
- enumerator designating the requested actionparam1_p
- Placeholder for optional parameterparam2_p
- Placeholder for optional parameter
Exception
public OwMasterView getMasterView()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |