org.apache.jackrabbit.core.xml
Class DefaultProtectedPropertyImporter
java.lang.Object
org.apache.jackrabbit.core.xml.DefaultProtectedPropertyImporter
- All Implemented Interfaces:
- ProtectedPropertyImporter
- Direct Known Subclasses:
- UserImporter
public class DefaultProtectedPropertyImporter
- extends Object
- implements ProtectedPropertyImporter
Default implementation that isn't able to handle any protected properties.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
session
protected JackrabbitSession session
resolver
protected NamePathResolver resolver
isWorkspaceImport
protected boolean isWorkspaceImport
uuidBehavior
protected int uuidBehavior
referenceTracker
protected ReferenceChangeTracker referenceTracker
DefaultProtectedPropertyImporter
public DefaultProtectedPropertyImporter()
init
public boolean init(JackrabbitSession session,
NamePathResolver resolver,
boolean isWorkspaceImport,
int uuidBehavior,
ReferenceChangeTracker referenceTracker)
- Specified by:
init
in interface ProtectedPropertyImporter
referenceTracker
- @return
handlePropInfo
public boolean handlePropInfo(NodeImpl parent,
PropInfo protectedPropInfo,
QPropertyDefinition def)
throws RepositoryException
- Always returns
false
.
- Specified by:
handlePropInfo
in interface ProtectedPropertyImporter
- Parameters:
parent
- The affected parent node.protectedPropInfo
- The PropInfo
to be imported.def
- The property definition determined by the importer that
calls this method.
- Returns:
true
If the property could be successfully imported;
false
otherwise.
- Throws:
RepositoryException
- If an error occurs.- See Also:
ProtectedPropertyImporter.handlePropInfo(org.apache.jackrabbit.core.NodeImpl, PropInfo, QPropertyDefinition)
handlePropInfo
public boolean handlePropInfo(NodeState parent,
PropInfo protectedPropInfo,
QPropertyDefinition def)
throws RepositoryException
- Always returns
false
.
- Specified by:
handlePropInfo
in interface ProtectedPropertyImporter
- Parameters:
parent
- The affected parent node.protectedPropInfo
- The PropInfo
to be imported.def
- The property definition determined by the importer that
calls this method.
- Returns:
true
If the property could be successfully imported;
false
otherwise.
- Throws:
RepositoryException
- If an error occurs.- See Also:
ProtectedPropertyImporter.handlePropInfo(org.apache.jackrabbit.core.state.NodeState, PropInfo, QPropertyDefinition)
processReferences
public void processReferences()
throws RepositoryException
- Always returns
false
.
- Specified by:
processReferences
in interface ProtectedPropertyImporter
- Throws:
RepositoryException
- If an error occurs.- See Also:
ProtectedPropertyImporter.processReferences()
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.