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 RepositoryException
exportProperties in interface PropertyManagerRepositoryExceptionPropertyManager.exportProperties(PropertyExportContext, boolean)public Map<? extends PropEntry,?> alterProperties(PropertyImportContext context, boolean isCollection) throws RepositoryException
alterProperties in interface PropertyManagerRepositoryExceptionPropertyManager.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–2024 The Apache Software Foundation. All rights reserved.