public class PropertyManagerImpl extends Object implements PropertyManager
PropertyManagerImpl...| Constructor and Description |
|---|
PropertyManagerImpl()
Create a new
PropertyManagerImpl. |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyHandler(PropertyHandler propertyHandler) |
Map<? extends PropEntry,?> |
alterProperties(PropertyImportContext context,
boolean isCollection) |
boolean |
exportProperties(PropertyExportContext context,
boolean isCollection) |
static PropertyManager |
getDefaultManager() |
PropertyHandler[] |
getPropertyHandlers() |
public PropertyManagerImpl()
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.public boolean exportProperties(PropertyExportContext context, boolean isCollection) throws javax.jcr.RepositoryException
exportProperties in interface PropertyManagerjavax.jcr.RepositoryExceptionPropertyManager.exportProperties(PropertyExportContext, boolean)public Map<? extends PropEntry,?> alterProperties(PropertyImportContext context, boolean isCollection) throws javax.jcr.RepositoryException
alterProperties in interface PropertyManagerjavax.jcr.RepositoryExceptionPropertyManager.alterProperties(PropertyImportContext, boolean)public void addPropertyHandler(PropertyHandler propertyHandler)
addPropertyHandler in interface PropertyManagerPropertyManager.addPropertyHandler(PropertyHandler)public PropertyHandler[] getPropertyHandlers()
getPropertyHandlers in interface PropertyManagerPropertyManager.getPropertyHandlers()public static PropertyManager getDefaultManager()
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.