public abstract class OwSettingsPropertyBagWrapper extends OwSettingsPropertyControl
Base class for property controls that display a set of named settings.
For each entry a menu button is displayed and the specified control will
be shown embedded when selecting the menu. e.g. used to configure column settings for several Views in 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_VALUE_NODE| Constructor and Description |
|---|
OwSettingsPropertyBagWrapper() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
createSingleClonedValue(Object oSingleValue_p)
create a clone out of the given single property value
|
String |
getDisplayName()
get display name of property
|
String |
getName()
get ID of property
|
String |
getSafePropertyError()
gets a error message for this field, if update failed, clears the message automatically
|
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
|
boolean |
isEditable()
get flag indicating if property can be edited
|
boolean |
isModified()
true = value was modified, false otherwise
|
boolean |
isUser()
get flag indicating if property can be edited
|
void |
setDefault()
set the default value
|
void |
setValue(Object value_p)
set current value of property, to be overridden
|
getHelpPath, getPropertyError, hasError, insertLabelattach, detach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getFormName, getFormTarget, getID, onExternalRequest, onFormEvent, onRequest, setExternalFormTarget, updateExternalFormTargetpublic String getDisplayName()
OwSettingsPropertyControlgetDisplayName in class OwSettingsPropertyControlprotected Object createSingleClonedValue(Object oSingleValue_p)
OwSettingsPropertyControlcreateSingleClonedValue in class OwSettingsPropertyControloSingleValue_p - single Object valuepublic void insertFormField(Writer w_p) throws Exception
OwSettingsPropertyControlinsertFormField in class OwSettingsPropertyControlw_p - Writer to write HTML code toExceptionpublic String getSafePropertyError()
OwSettingsPropertyControlgetSafePropertyError in class OwSettingsPropertyControlpublic boolean isModified()
OwSettingsPropertyControlisModified in class OwSettingsPropertyControlprotected void init()
throws Exception
OwEventTargetinit in class OwEventTargetExceptionpublic void setDefault()
OwSettingsPropertypublic Node getValueNode(Document doc_p)
OwSettingsPropertydoc_p - DOM Document to add topublic boolean isUser()
OwSettingsPropertypublic boolean isEditable()
OwSettingsPropertypublic String getName()
OwSettingsPropertypublic void init(Node propertyDefinitionNode_p, Node valueNode_p, String strSetName_p) throws Exception
OwSettingsPropertypropertyDefinitionNode_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 createdExceptionpublic Object getValue()
OwSettingsPropertypublic void setValue(Object value_p)
OwSettingsPropertyvalue_p - ObjectCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.