|
||||||||||
| 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.app.OwSettingsPropertyControl
com.wewebu.ow.server.settingsimpl.OwSettingsPropertyBaseImpl
com.wewebu.ow.server.settingsimpl.OwSettingsPropertyBPMProxy
public class OwSettingsPropertyBPMProxy
The proxy settings for BPM.
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.settingsimpl.OwSettingsPropertyBaseImpl |
|---|
ITEM_PREFIX, ITEM_QUERY_KEY, m_defaultValue, m_externalFormEventTarget, m_fList, m_propertyDefinitionNode, m_strError, m_strSetName, m_value |
| Fields inherited from interface com.wewebu.ow.server.app.OwSettingsProperty |
|---|
ITEM_VALUE_NODE |
| Constructor Summary | |
|---|---|
OwSettingsPropertyBPMProxy()
|
|
| Method Summary | |
|---|---|
protected Object |
createSingleClonedValue(Object oSingleValue_p)
create a clone out of the given single property value |
protected String |
getAbsentUserID()
|
protected OwWorkitemRepository |
getBPMRepository()
|
protected Object |
getDefaultListItemValue()
overridable to create a default value for list properties |
protected String |
getUserDisplayName(String sID_p)
overridable to get the displayname for a given user object ID |
Object |
getValue()
get current value of property |
Node |
getValueNode(Document doc_p)
return the property value as a DOM Node for serialization |
protected void |
init()
init the target after the context is set. |
void |
init(Node propertyDefinitionNode_p,
Node valueNode_p,
String strSetName_p)
set current value of property, to be overridden |
void |
insertFormField(Writer w_p)
insert the property into a HTML form for editing |
protected void |
insertFormValue(Writer w_p,
Object value_p,
String strID_p,
int iIndex_p)
overridable to insert a single value into a edit HTML form |
void |
onDialogClose(OwDialog dialogView_p)
called when user select dialog closes |
void |
onSelectAbsentPerson(javax.servlet.http.HttpServletRequest request_p)
called when user clicks select button |
void |
onSelectProxyPerson(javax.servlet.http.HttpServletRequest request_p)
called when user clicks select button |
void |
onUpdate(OwEventTarget caller_p,
int code_p,
Object param_p)
called by the framework to update the view when OwDocument.Update was called NOTE: We can not use the onRender method to update, because we do not know the call order of onRender. |
protected void |
setSingleValueFromRequest(javax.servlet.http.HttpServletRequest request_p,
String strID_p,
OwWorkitemRepository.OwProxyInfo info_p)
overridable to apply changes on a submitted form |
boolean |
updateExternalFormTarget(javax.servlet.http.HttpServletRequest request_p,
boolean fSave_p)
update the target after a form event, so it can set its form fields |
| Methods inherited from class com.wewebu.ow.server.settingsimpl.OwSettingsPropertyBaseImpl |
|---|
appendSingleValueNode, canAdd, createValue, createValueList, extractIDIndex, getDisplayName, getFormName, getFormTarget, getHelpPath, getMaxListSize, getName, getPropertyDefinitionNode, getPropertyError, getSafePropertyError, getSingleValue, getSingleValueFromRequest, hasError, isEditable, isList, isModified, isUser, onAdd, onDelete, saved, setDefault, setExternalFormTarget, setValue, toString, writeAddNewItemButton, writeDeleteButton |
| Methods inherited from class com.wewebu.ow.server.ui.OwEventTarget |
|---|
attach, detach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OwSettingsPropertyBPMProxy()
| Method Detail |
|---|
public void init(Node propertyDefinitionNode_p,
Node valueNode_p,
String strSetName_p)
throws Exception
init in interface OwSettingsPropertyinit in class OwSettingsPropertyBaseImplpropertyDefinitionNode_p - the node which defines the property in the plugin descriptors settingvalueNode_p - the node with the current valuestrSetName_p - name of the property set for which the property is created
Exception
protected void init()
throws Exception
OwSettingsPropertyBaseImpl
init in class OwSettingsPropertyBaseImplExceptionpublic Node getValueNode(Document doc_p)
OwSettingsPropertyBaseImpl
getValueNode in interface OwSettingsPropertygetValueNode in class OwSettingsPropertyBaseImpldoc_p - DOM Document to add to
protected OwWorkitemRepository getBPMRepository()
throws Exception
Exceptionpublic Object getValue()
getValue in interface OwSettingsPropertygetValue in class OwSettingsPropertyBaseImpl
protected String getAbsentUserID()
throws Exception
Exception
public void insertFormField(Writer w_p)
throws Exception
insertFormField in class OwSettingsPropertyBaseImplw_p - Writer to write HTML code to
Exceptionprotected String getUserDisplayName(String sID_p)
sID_p -
protected void insertFormValue(Writer w_p,
Object value_p,
String strID_p,
int iIndex_p)
throws Exception
insertFormValue in class OwSettingsPropertyBaseImplw_p - Writer to write HTML code tovalue_p - the property value to editstrID_p - String the ID of the HTML element for use in onApplyiIndex_p - int Index of item if it is a list
Exception
public void onSelectAbsentPerson(javax.servlet.http.HttpServletRequest request_p)
throws Exception
request_p - HttpServletRequest
Exception
public void onSelectProxyPerson(javax.servlet.http.HttpServletRequest request_p)
throws Exception
request_p - HttpServletRequest
Exception
public boolean updateExternalFormTarget(javax.servlet.http.HttpServletRequest request_p,
boolean fSave_p)
throws Exception
updateExternalFormTarget in class OwSettingsPropertyBaseImplrequest_p - HttpServletRequestfSave_p - boolean true = save the changes of the form data, false = just update the form data, but do not save
Exception
protected void setSingleValueFromRequest(javax.servlet.http.HttpServletRequest request_p,
String strID_p,
OwWorkitemRepository.OwProxyInfo info_p)
throws Exception
request_p - HttpServletRequest with form data to update the propertystrID_p - String the HTML form element ID of the requested valueinfo_p - OwWorkitemRepository.OwProxyInfo
Exceptionprotected Object createSingleClonedValue(Object oSingleValue_p)
createSingleClonedValue in class OwSettingsPropertyBaseImploSingleValue_p - single Object value
protected Object getDefaultListItemValue()
getDefaultListItemValue in class OwSettingsPropertyBaseImpl
public void onDialogClose(OwDialog dialogView_p)
throws Exception
onDialogClose in interface OwDialog.OwDialogListenerdialogView_p - the Dialog that have to be closed.
Exception
public void onUpdate(OwEventTarget caller_p,
int code_p,
Object param_p)
throws Exception
OwUpdateTarget
onUpdate in interface OwUpdateTargetcaller_p - OwEventTarget target that called updatecode_p - int optional reason codeparam_p - Object optional parameter representing the refresh, depends on the value of iCode_p, can be null
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||