|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.core.xml.DefaultProtectedItemImporter
org.apache.jackrabbit.core.xml.DefaultProtectedNodeImporter
org.apache.jackrabbit.core.xml.AccessControlImporter
public class AccessControlImporter
AccessControlImporter implements a
ProtectedNodeImporter that is able to deal with access control
content as defined by the default ac related node types present with
jackrabbit-core.
| Field Summary |
|---|
| Fields inherited from class org.apache.jackrabbit.core.xml.DefaultProtectedItemImporter |
|---|
isWorkspaceImport, referenceTracker, resolver, session, uuidBehavior |
| Constructor Summary | |
|---|---|
AccessControlImporter()
|
|
| Method Summary | |
|---|---|
void |
end(NodeImpl protectedParent)
Does nothing. |
void |
end(NodeState protectedParent)
Does nothing. |
void |
endChildInfo()
Does nothing. |
boolean |
init(org.apache.jackrabbit.api.JackrabbitSession session,
org.apache.jackrabbit.spi.commons.conversion.NamePathResolver resolver,
boolean isWorkspaceImport,
int uuidBehavior,
ReferenceChangeTracker referenceTracker)
|
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 org.apache.jackrabbit.core.xml.DefaultProtectedItemImporter |
|---|
handlePropInfo, handlePropInfo, processReferences |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AccessControlImporter()
| Method Detail |
|---|
public boolean init(org.apache.jackrabbit.api.JackrabbitSession session,
org.apache.jackrabbit.spi.commons.conversion.NamePathResolver resolver,
boolean isWorkspaceImport,
int uuidBehavior,
ReferenceChangeTracker referenceTracker)
init in interface ProtectedItemImporterinit in class DefaultProtectedItemImporterProtectedItemImporter.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
DefaultProtectedItemImporterfalse.
start in interface ProtectedNodeImporterstart in class DefaultProtectedItemImporterprotectedParent - 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 IllegalStateException,
RepositoryException
DefaultProtectedItemImporterfalse.
start in interface ProtectedNodeImporterstart in class DefaultProtectedItemImporterprotectedParent - 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.
IllegalStateException - If this method is called on
this importer without having reached ProtectedNodeImporter.end(NodeState).
RepositoryException - If an error occurs.ProtectedNodeImporter.start(org.apache.jackrabbit.core.state.NodeState)
public void end(NodeImpl protectedParent)
throws RepositoryException
DefaultProtectedItemImporter
end in interface ProtectedNodeImporterend in class DefaultProtectedItemImporterConstraintViolationException - If the tree
that was imported is incomplete.
RepositoryException - If another error occurs.ProtectedNodeImporter.end(NodeImpl)
public void end(NodeState protectedParent)
throws IllegalStateException,
ConstraintViolationException,
RepositoryException
DefaultProtectedItemImporter
end in interface ProtectedNodeImporterend in class DefaultProtectedItemImporterIllegalStateException - If end is called in an illegal state.
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
DefaultProtectedItemImporter
startChildInfo in interface ProtectedNodeImporterstartChildInfo in class DefaultProtectedItemImporterConstraintViolationException - 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
DefaultProtectedItemImporter
endChildInfo in interface ProtectedNodeImporterendChildInfo in class DefaultProtectedItemImporterConstraintViolationException - If this method
is called before all required child information has been imported.
RepositoryException - If another error occurs.ProtectedNodeImporter.endChildInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||