org.cogroo.addon.addon.conf
Class DefaultConfiguration

java.lang.Object
  extended by org.cogroo.addon.addon.conf.DefaultConfiguration
Direct Known Subclasses:
AddOnConfiguration

public class DefaultConfiguration
extends Object


Field Summary
static String CONFIGURATION_READ_ONLY_VIEW
           
static String CONFIGURATION_SERVICE
           
static String CONFIGURATION_UPDATABLE_VIEW
           
 
Constructor Summary
DefaultConfiguration(com.sun.star.uno.XComponentContext context)
           
DefaultConfiguration(com.sun.star.lang.XMultiServiceFactory factory)
           
 
Method Summary
 void commit(Object root)
          Commit the XChangeBatch control
 void dispose(Object obj)
           
 Object getChildNode(Object parent, String child)
           
 Object getProperty(String configPath, String property)
           
 Object getRootNode(String configPath, boolean readonly)
           
 void setProperty(String configPath, String property, String value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIGURATION_SERVICE

public static final String CONFIGURATION_SERVICE
See Also:
Constant Field Values

CONFIGURATION_READ_ONLY_VIEW

public static final String CONFIGURATION_READ_ONLY_VIEW
See Also:
Constant Field Values

CONFIGURATION_UPDATABLE_VIEW

public static final String CONFIGURATION_UPDATABLE_VIEW
See Also:
Constant Field Values
Constructor Detail

DefaultConfiguration

public DefaultConfiguration(com.sun.star.uno.XComponentContext context)

DefaultConfiguration

public DefaultConfiguration(com.sun.star.lang.XMultiServiceFactory factory)
Method Detail

getRootNode

public Object getRootNode(String configPath,
                          boolean readonly)

getProperty

public Object getProperty(String configPath,
                          String property)

getChildNode

public Object getChildNode(Object parent,
                           String child)

setProperty

public void setProperty(String configPath,
                        String property,
                        String value)

commit

public void commit(Object root)
Commit the XChangeBatch control

Parameters:
root -

dispose

public void dispose(Object obj)


Copyright © 2012-2013 CoGrOO. All Rights Reserved.