|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
Field Summary | |
---|---|
static String |
ITEM_VALUE_NODE
node name of a list item for list properties |
Method Summary | |
---|---|
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 |
Field Detail |
---|
static final String ITEM_VALUE_NODE
Method Detail |
---|
void setDefault()
Node getValueNode(Document doc_p)
doc_p
- DOM Document to add to
boolean 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 created
Exception
Object getValue()
void setValue(Object value_p)
value_p
- Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |