public class OwSettingsPropertyBPMProxy extends OwSettingsPropertyBaseImpl implements OwDialog.OwDialogListener
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
ITEM_PREFIX, ITEM_QUERY_KEY, m_defaultValue, m_fList, m_strError, m_valuem_externalFormEventTarget, m_propertyDefinitionNode, m_strSetNameITEM_VALUE_NODE| Constructor and Description |
|---|
OwSettingsPropertyBPMProxy() |
| Modifier and Type | Method and Description |
|---|---|
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
|
appendSingleValueNode, canAdd, createValue, createValueList, extractIDIndex, getMaxListSize, getPropertyError, getSafePropertyError, getSingleValue, getSingleValueFromRequest, hasError, insertLabel, insertLabelValue, isList, isModified, onAdd, onDelete, saved, setDefault, setValue, toString, writeAddNewItemButton, writeDeleteButtongetDisplayName, getFormName, getFormTarget, getHelpPath, getName, getPropertyDefinitionNode, isEditable, isUser, setExternalFormTargetattach, detach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequestpublic 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 createdExceptionprotected void init()
throws Exception
OwEventTargetinit in class OwAbstractSettingsPropertyControlExceptionpublic Node getValueNode(Document doc_p)
OwSettingsPropertyBaseImplgetValueNode in interface OwSettingsPropertygetValueNode in class OwSettingsPropertyBaseImpldoc_p - DOM Document to add toprotected OwWorkitemRepository getBPMRepository() throws Exception
Exceptionpublic Object getValue()
getValue in interface OwSettingsPropertygetValue in class OwSettingsPropertyBaseImplpublic void insertFormField(Writer w_p) throws Exception
insertFormField in class OwSettingsPropertyBaseImplw_p - Writer to write HTML code toExceptionprotected 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 listExceptionpublic void onSelectAbsentPerson(javax.servlet.http.HttpServletRequest request_p)
throws Exception
request_p - HttpServletRequestExceptionpublic void onSelectProxyPerson(javax.servlet.http.HttpServletRequest request_p)
throws Exception
request_p - HttpServletRequestExceptionpublic 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 saveExceptionprotected 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.OwProxyInfoExceptionprotected Object createSingleClonedValue(Object oSingleValue_p)
createSingleClonedValue in class OwSettingsPropertyBaseImploSingleValue_p - single Object valueprotected Object getDefaultListItemValue()
getDefaultListItemValue in class OwSettingsPropertyBaseImplpublic void onDialogClose(OwDialog dialogView_p) throws Exception
onDialogClose in interface OwDialog.OwDialogListenerdialogView_p - the Dialog that have to be closed.Exceptionpublic void onUpdate(OwEventTarget caller_p, int code_p, Object param_p) throws Exception
OwUpdateTargetonUpdate 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 nullExceptionCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.