- All Superinterfaces:
Dumpable
public interface ArtifactHandler
extends Dumpable
ArtifactHandlers are used to import artifacts into the
jcr repository.
-
Method Summary
Imports an artifact set as new child node for the given parent.
Imports an artifact set for the given node.
Methods inherited from interface org.apache.jackrabbit.vault.fs.api.Dumpable
dump
-
Method Details
-
accept
Imports an artifact set for the given node.
- Parameters:
session - the session to use for import
aggregate - the aggregate
artifacts - the artifacts to import
- Returns:
- the import info on successful import,
null otherwise
- Throws:
RepositoryException - if an error occurs.
IOException - if a I/O error occurs
-
accept
Imports an artifact set as new child node for the given parent.
- Parameters:
session - the session to use for import
parent - the parent aggregate of the new file to import
name - the name of the new node
artifacts - the artifacts to import
- Returns:
- the import info on successful import,
null otherwise
- Throws:
RepositoryException - if an error occurs.
IOException - if a I/O error occurs