|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ImportService
The ImportService provides a top level framework to handled import data collected from a content package or other archive.
| Method Summary | |
|---|---|
void |
doImportItems(Collection importables,
String siteId)
doImportItems |
boolean |
isValidArchive(byte[] archiveFileData)
Check the validity of the file data passed. |
ImportDataSource |
parseFromFile(byte[] archiveFileData)
Parse the archive file data and create an Import Data Source object containing the results. |
| Method Detail |
|---|
boolean isValidArchive(byte[] archiveFileData)
archiveFileData - is a byte array of data gathered from an archive file or package.
ImportDataSource parseFromFile(byte[] archiveFileData)
archiveFileData - is a byte array of data gathered from an archive file or package.
void doImportItems(Collection importables,
String siteId)
importable - a collection of things to import (?)siteId - is the the id of the site to import to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||