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 void
addPropertyHandler(PropertyHandler propertyHandler)
Map<? extends PropEntry,?>
alterProperties(PropertyImportContext context, boolean isCollection)
boolean
exportProperties(PropertyExportContext context, boolean isCollection)
static PropertyManager
getDefaultManager()
PropertyHandler[]
getPropertyHandlers()
-
-
-
Constructor Detail
-
PropertyManagerImpl
public PropertyManagerImpl()
Create a newPropertyManagerImpl
. Note, that this manager does not define anyPropertyHandler
s by default. UseaddPropertyHandler(PropertyHandler)
in order to populate the internal list of handlers that are called forimportProperties
andexportProperties
respectively. 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:
exportProperties
in interfacePropertyManager
- Throws:
RepositoryException
- See Also:
PropertyManager.exportProperties(PropertyExportContext, boolean)
-
alterProperties
public Map<? extends PropEntry,?> alterProperties(PropertyImportContext context, boolean isCollection) throws RepositoryException
- Specified by:
alterProperties
in interfacePropertyManager
- Throws:
RepositoryException
- See Also:
PropertyManager.alterProperties(PropertyImportContext, boolean)
-
addPropertyHandler
public void addPropertyHandler(PropertyHandler propertyHandler)
- Specified by:
addPropertyHandler
in interfacePropertyManager
- See Also:
PropertyManager.addPropertyHandler(PropertyHandler)
-
getPropertyHandlers
public PropertyHandler[] getPropertyHandlers()
- Specified by:
getPropertyHandlers
in interfacePropertyManager
- See Also:
PropertyManager.getPropertyHandlers()
-
getDefaultManager
public static PropertyManager getDefaultManager()
- Returns:
- an instance of PropertyManager populated with default handlers.
-
-