public abstract class OwSettingsPropertyControl extends OwEventTarget implements OwSettingsProperty
Base class for a single settings property controls used in the OwSettings for the plugins.
Implements OwSettingsProperty and adds control UI functionality.
Unlike configuration node entries, the settings are stored for each user or for a site,
where the configuration via getConfigNode is only set during startup.
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 |
---|
OwSettingsPropertyControl() |
Modifier and Type | Method and Description |
---|---|
protected abstract Object |
createSingleClonedValue(Object oSingleValue_p)
create a clone out of the given single property value
|
abstract String |
getDisplayName()
get display name of property
|
abstract String |
getHelpPath()
get optional help path for the control
|
abstract String |
getPropertyError()
Gets a error message for this field
|
abstract String |
getSafePropertyError()
gets a error message for this field, if update failed, clears the message automatically
|
abstract boolean |
hasError()
Check if this property has an error associated, without clear the error message
|
abstract void |
insertFormField(Writer w_p)
insert the property into a HTML form for editing
|
abstract void |
insertLabel(Writer w_p) |
abstract boolean |
isModified()
true = value was modified, false otherwise
|
attach, detach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getFormName, getFormTarget, getID, init, onExternalRequest, onFormEvent, onRequest, setExternalFormTarget, updateExternalFormTarget
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, getValue, getValueNode, init, isEditable, isUser, setDefault, setValue
public abstract String getHelpPath()
public abstract String getDisplayName()
protected abstract Object createSingleClonedValue(Object oSingleValue_p)
oSingleValue_p
- single Object valuepublic abstract void insertFormField(Writer w_p) throws Exception
w_p
- Writer to write HTML code toException
public abstract String getSafePropertyError()
public abstract boolean isModified()
public abstract boolean hasError()
public abstract String getPropertyError()
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.