org.apache.jackrabbit.server.io
Class PropertyManagerImpl

java.lang.Object
  extended by org.apache.jackrabbit.server.io.PropertyManagerImpl
All Implemented Interfaces:
PropertyManager

public class PropertyManagerImpl
extends Object
implements PropertyManager

PropertyManagerImpl...


Constructor Summary
PropertyManagerImpl()
          Create a new PropertyManagerImpl.
 
Method Summary
 void addPropertyHandler(PropertyHandler propertyHandler)
           
 Map<? extends PropEntry,?> alterProperties(PropertyImportContext context, boolean isCollection)
           
 boolean exportProperties(PropertyExportContext context, boolean isCollection)
           
static PropertyManager getDefaultManager()
           
 PropertyHandler[] getPropertyHandlers()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyManagerImpl

public PropertyManagerImpl()
Create a new PropertyManagerImpl. Note, that this manager does not define any PropertyHandlers by default. Use addPropertyHandler(PropertyHandler) in order to populate the internal list of handlers that are called for importProperties and exportProperties respectively. See getDefaultManager() for an instance of this class populated with default handlers.

Method Detail

exportProperties

public boolean exportProperties(PropertyExportContext context,
                                boolean isCollection)
                         throws RepositoryException
Specified by:
exportProperties in interface PropertyManager
Returns:
Throws:
RepositoryException
See Also:
PropertyManager.exportProperties(PropertyExportContext, boolean)

alterProperties

public Map<? extends PropEntry,?> alterProperties(PropertyImportContext context,
                                                  boolean isCollection)
                                           throws RepositoryException
Specified by:
alterProperties in interface PropertyManager
Returns:
Throws:
RepositoryException
See Also:
PropertyManager.alterProperties(PropertyImportContext, boolean)

addPropertyHandler

public void addPropertyHandler(PropertyHandler propertyHandler)
Specified by:
addPropertyHandler in interface PropertyManager
See Also:
PropertyManager.addPropertyHandler(PropertyHandler)

getPropertyHandlers

public PropertyHandler[] getPropertyHandlers()
Specified by:
getPropertyHandlers in interface PropertyManager
Returns:
See Also:
PropertyManager.getPropertyHandlers()

getDefaultManager

public static PropertyManager getDefaultManager()
Returns:
an instance of PropertyManager populated with default handlers.


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.