|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Importer
Method Summary | |
---|---|
void |
createBosOnSnapshot(BoundedObjectSet bos,
Branch branch,
MutableSnapshot snapshot)
Given a fully-populated bounded object set, create a new snapshot with versions for each BOS member. |
Version |
doCompoundDocumentImport(java.io.File compoundDocRoot,
Branch branch,
MutableSnapshot snapshot,
User user,
java.lang.String cdMemberKey,
java.lang.String cdMemberName,
SourceToVersionMap so2verMap)
Process in the input document to calculate its BOS, then create resources and initial versions for each BOS member. |
Version |
doCompoundDocumentImport(java.net.URL rootSoUrl,
Branch branch,
User user,
java.lang.String docKey,
java.lang.String docName,
java.lang.Object object)
Imports a compound document rooted at a URL-accessible location. |
Method Detail |
---|
Version doCompoundDocumentImport(java.io.File compoundDocRoot, Branch branch, MutableSnapshot snapshot, User user, java.lang.String cdMemberKey, java.lang.String cdMemberName, SourceToVersionMap so2verMap) throws ImporterException, VersionCommitException, NoSuchPolicyTypeException, NoSuchDependencyTypeException, RepositoryException, VersionMutationException
compoundDocRoot
- The file system file that is the root of a compound document to be imported.branch
- The SnapCM branch the compound document is to be imported onto.user
- The user who is performing the import. Will be set as the owner and creator of the all the newly-created
resources, versions, and storage objects.cdName
- The name to use in the repository for the compound document.
ImporterException
VersionCommitException
NoSuchPolicyTypeException
NoSuchDependencyTypeException
RepositoryException
VersionMutationException
void createBosOnSnapshot(BoundedObjectSet bos, Branch branch, MutableSnapshot snapshot) throws NoSuchPolicyTypeException, NoSuchDependencyTypeException, RepositoryException, VersionMutationException, DomException, java.io.IOException, ImporterException, SnapCMException
bos
- Bounded object setbranch
- The branch to create the new snapshot on.
VersionException
SnapshotException
NoSuchPolicyTypeException
NoSuchDependencyTypeException
RepositoryException
VersionMutationException
DomException
java.io.IOException
ImporterException
SnapCMException
Version doCompoundDocumentImport(java.net.URL rootSoUrl, Branch branch, User user, java.lang.String docKey, java.lang.String docName, java.lang.Object object)
rootSoUrl
- branch
- user
- docKey
- docName
- object
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |