org.apache.jackrabbit.core.xml
Interface ProtectedPropertyImporter

All Superinterfaces:
ProtectedItemImporter
All Known Implementing Classes:
AccessControlImporter, DefaultProtectedItemImporter, DefaultProtectedNodeImporter, DefaultProtectedPropertyImporter, UserImporter

public interface ProtectedPropertyImporter
extends ProtectedItemImporter

ProtectedPropertyImporter is in charge of importing single properties with a protected QPropertyDefinition.

See Also:
for an abstract class used to import protected nodes and the subtree below them.

Method Summary
 boolean handlePropInfo(NodeImpl parent, PropInfo protectedPropInfo, QPropertyDefinition def)
          Handles a single protected property.
 boolean handlePropInfo(NodeState parent, PropInfo protectedPropInfo, QPropertyDefinition def)
          Handles a single protected property.
 
Methods inherited from interface org.apache.jackrabbit.core.xml.ProtectedItemImporter
init, processReferences
 

Method Detail

handlePropInfo

boolean handlePropInfo(NodeImpl parent,
                       PropInfo protectedPropInfo,
                       QPropertyDefinition def)
                       throws RepositoryException
Handles a single protected property.

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.

handlePropInfo

boolean handlePropInfo(NodeState parent,
                       PropInfo protectedPropInfo,
                       QPropertyDefinition def)
                       throws RepositoryException
Handles a single protected property.

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.


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.