|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.core.xml.DefaultProtectedItemImporter
public class DefaultProtectedItemImporter
DefaultProtectedItemImporter
...
Field Summary | |
---|---|
protected boolean |
isWorkspaceImport
|
protected ReferenceChangeTracker |
referenceTracker
|
protected NamePathResolver |
resolver
|
protected JackrabbitSession |
session
|
protected int |
uuidBehavior
|
Constructor Summary | |
---|---|
DefaultProtectedItemImporter()
|
Method Summary | |
---|---|
void |
end(NodeImpl protectedParent)
Does nothing. |
void |
end(NodeState protectedParent)
Does nothing. |
void |
endChildInfo()
Does nothing. |
boolean |
handlePropInfo(NodeImpl parent,
PropInfo protectedPropInfo,
QPropertyDefinition def)
Always returns false . |
boolean |
handlePropInfo(NodeState parent,
PropInfo protectedPropInfo,
QPropertyDefinition def)
Always returns false . |
boolean |
init(JackrabbitSession session,
NamePathResolver resolver,
boolean isWorkspaceImport,
int uuidBehavior,
ReferenceChangeTracker referenceTracker)
|
void |
processReferences()
Always returns false . |
boolean |
start(NodeImpl protectedParent)
Always returns false . |
boolean |
start(NodeState protectedParent)
Always returns false . |
void |
startChildInfo(NodeInfo childInfo,
List<PropInfo> propInfos)
Does nothing. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected JackrabbitSession session
protected NamePathResolver resolver
protected boolean isWorkspaceImport
protected int uuidBehavior
protected ReferenceChangeTracker referenceTracker
Constructor Detail |
---|
public DefaultProtectedItemImporter()
Method Detail |
---|
public boolean init(JackrabbitSession session, NamePathResolver resolver, boolean isWorkspaceImport, int uuidBehavior, ReferenceChangeTracker referenceTracker)
init
in interface ProtectedItemImporter
ProtectedItemImporter.init(org.apache.jackrabbit.api.JackrabbitSession, org.apache.jackrabbit.spi.commons.conversion.NamePathResolver, boolean, int, org.apache.jackrabbit.core.util.ReferenceChangeTracker)
public boolean start(NodeImpl protectedParent) throws RepositoryException
false
.
start
in interface ProtectedNodeImporter
protectedParent
- A protected node that has either been created
during the current XML import or that has been found to be existing
without allowing same-name siblings.
true
If this importer is able to deal with the
tree that may be present below the given protected Node.
RepositoryException
- If an error occurs.ProtectedNodeImporter.start(org.apache.jackrabbit.core.NodeImpl)
public boolean start(NodeState protectedParent) throws RepositoryException
false
.
start
in interface ProtectedNodeImporter
protectedParent
- A protected node that has either been created
during the current XML import or that has been found to be existing
without allowing same-name siblings.
true
If this importer is able to deal with the
tree that may be present below the given protected NodeState.
RepositoryException
- If an error occurs.ProtectedNodeImporter.start(org.apache.jackrabbit.core.state.NodeState)
public void end(NodeImpl protectedParent) throws RepositoryException
end
in interface ProtectedNodeImporter
ConstraintViolationException
- If the tree
that was imported is incomplete.
RepositoryException
- If another error occurs.ProtectedNodeImporter.end(NodeImpl)
public void end(NodeState protectedParent) throws RepositoryException
end
in interface ProtectedNodeImporter
ConstraintViolationException
- If the tree
that was imported is incomplete.
RepositoryException
- If another error occurs.ProtectedNodeImporter.end(NodeState)
public void startChildInfo(NodeInfo childInfo, List<PropInfo> propInfos) throws RepositoryException
startChildInfo
in interface ProtectedNodeImporter
ConstraintViolationException
- If the given
infos contain invalid or incomplete data and therefore cannot be properly
handled by this importer.
RepositoryException
- If another error occurs.ProtectedNodeImporter.startChildInfo(NodeInfo, java.util.List)
public void endChildInfo() throws RepositoryException
endChildInfo
in interface ProtectedNodeImporter
ConstraintViolationException
- If this method
is called before all required child information has been imported.
RepositoryException
- If another error occurs.ProtectedNodeImporter.endChildInfo()
public boolean handlePropInfo(NodeImpl parent, PropInfo protectedPropInfo, QPropertyDefinition def) throws RepositoryException
false
.
handlePropInfo
in interface ProtectedPropertyImporter
parent
- The affected parent node.protectedPropInfo
- The PropInfo
to be imported.def
- The property definition determined by the importer that
calls this method.
true
If the property could be successfully imported;
false
otherwise.
RepositoryException
- If an error occurs.ProtectedPropertyImporter.handlePropInfo(org.apache.jackrabbit.core.NodeImpl, PropInfo, org.apache.jackrabbit.spi.QPropertyDefinition)
public boolean handlePropInfo(NodeState parent, PropInfo protectedPropInfo, QPropertyDefinition def) throws RepositoryException
false
.
handlePropInfo
in interface ProtectedPropertyImporter
parent
- The affected parent node.protectedPropInfo
- The PropInfo
to be imported.def
- The property definition determined by the importer that
calls this method.
true
If the property could be successfully imported;
false
otherwise.
RepositoryException
- If an error occurs.ProtectedPropertyImporter.handlePropInfo(org.apache.jackrabbit.core.state.NodeState, PropInfo, QPropertyDefinition)
public void processReferences() throws RepositoryException
false
.
processReferences
in interface ProtectedItemImporter
RepositoryException
- If an error occurs.ProtectedItemImporter.processReferences()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |