public interface OwSettingsProperty
Base interface for a single settings property used in the OwSettings for the plugins.
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.
You can retrieve settings by calling getSafeSetting form within your plugin function, document or view class.
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
Modifier and Type | Field and Description |
---|---|
static String |
ITEM_VALUE_NODE
node name of a list item for list properties
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
get ID of property
|
Object |
getValue()
get current value of property
|
Node |
getValueNode(Document doc_p)
return the property value as a DOM Node for serialization
|
void |
init(Node propertyDefinitionNode_p,
Node valueNode_p,
String strSetName_p)
set current value of property, to be overridden
|
boolean |
isEditable()
get flag indicating if property can be edited
|
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
|
static final String ITEM_VALUE_NODE
void setDefault()
Node getValueNode(Document doc_p)
doc_p
- DOM Document to add toboolean isUser()
boolean isEditable()
String getName()
void init(Node propertyDefinitionNode_p, Node valueNode_p, String strSetName_p) throws Exception
propertyDefinitionNode_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 createdException
Object getValue()
void setValue(Object value_p)
value_p
- ObjectCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.