Package org.apache.jackrabbit.server.io
Class PropertyManagerImpl
- java.lang.Object
-
- org.apache.jackrabbit.server.io.PropertyManagerImpl
-
- All Implemented Interfaces:
PropertyManager
public class PropertyManagerImpl extends Object implements PropertyManager
PropertyManagerImpl...
-
-
Constructor Summary
Constructors Constructor Description PropertyManagerImpl()Create a newPropertyManagerImpl.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPropertyHandler(PropertyHandler propertyHandler)Map<? extends PropEntry,?>alterProperties(PropertyImportContext context, boolean isCollection)booleanexportProperties(PropertyExportContext context, boolean isCollection)static PropertyManagergetDefaultManager()PropertyHandler[]getPropertyHandlers()
-
-
-
Constructor Detail
-
PropertyManagerImpl
public PropertyManagerImpl()
Create a newPropertyManagerImpl. Note, that this manager does not define anyPropertyHandlers by default. UseaddPropertyHandler(PropertyHandler)in order to populate the internal list of handlers that are called forimportPropertiesandexportPropertiesrespectively. SeegetDefaultManager()for an instance of this class populated with default handlers.
-
-
Method Detail
-
exportProperties
public boolean exportProperties(PropertyExportContext context, boolean isCollection) throws RepositoryException
- Specified by:
exportPropertiesin interfacePropertyManager- Throws:
RepositoryException- See Also:
PropertyManager.exportProperties(PropertyExportContext, boolean)
-
alterProperties
public Map<? extends PropEntry,?> alterProperties(PropertyImportContext context, boolean isCollection) throws RepositoryException
- Specified by:
alterPropertiesin interfacePropertyManager- Throws:
RepositoryException- See Also:
PropertyManager.alterProperties(PropertyImportContext, boolean)
-
addPropertyHandler
public void addPropertyHandler(PropertyHandler propertyHandler)
- Specified by:
addPropertyHandlerin interfacePropertyManager- See Also:
PropertyManager.addPropertyHandler(PropertyHandler)
-
getPropertyHandlers
public PropertyHandler[] getPropertyHandlers()
- Specified by:
getPropertyHandlersin interfacePropertyManager- See Also:
PropertyManager.getPropertyHandlers()
-
getDefaultManager
public static PropertyManager getDefaultManager()
- Returns:
- an instance of PropertyManager populated with default handlers.
-
-