org.apache.jetspeed.prefs
Interface PreferencesProvider


public interface PreferencesProvider

Utility component used to pass the PersistenceStoreContainer and store name to the Preferences SPI implementation.

Author:
David Le Strat

Method Summary
 Node createNode(Node parent, String nodeName, int nodeType, String fullPath)
           
 Collection getChildren(Node parentNode)
           
 Node getNode(String fullPath, int nodeType)
           
 void init()
           
 boolean isPropertyManagerEnabled()
           
 boolean nodeExists(String fullPath, int nodeType)
           
 void removeNode(Node node)
           
 void storeNode(Node node)
           
 

Method Detail

isPropertyManagerEnabled

public boolean isPropertyManagerEnabled()

getNode

public Node getNode(String fullPath,
                    int nodeType)
             throws NodeDoesNotExistException
Throws:
NodeDoesNotExistException

nodeExists

public boolean nodeExists(String fullPath,
                          int nodeType)

createNode

public Node createNode(Node parent,
                       String nodeName,
                       int nodeType,
                       String fullPath)
                throws FailedToCreateNodeException,
                       NodeAlreadyExistsException
Throws:
FailedToCreateNodeException
NodeAlreadyExistsException

getChildren

public Collection getChildren(Node parentNode)

storeNode

public void storeNode(Node node)

removeNode

public void removeNode(Node node)

init

public void init()
          throws Exception
Throws:
Exception


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.