|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objects that implement this interface are used for importing CM data into the Content Management System.
Field Summary | |
static String |
CM_IMPORT_LOG
The name of the CM Import Log. |
Fields inherited from interface com.sssw.cm.api.EbiDataTransfer |
ADMIN_METADATA_PATH,
CATEGORIES_METADATA_PATH,
CONTENTMGMT_INF_PATH,
DOCS_CONTENT_PATH,
DOCS_CONTENT_VERSIONS_PATH,
DOCS_METADATA_PATH,
DOCTYPES_DATA_PATH,
DOCTYPES_METADATA_PATH,
FIELDS_DATA_PATH,
FIELDS_METADATA_PATH,
FOLDERS_METADATA_PATH,
LINKS_DATA_PATH,
LINKS_METADATA_PATH,
STYLES_METADATA_PATH |
Method Summary | |
EbiElementOverwrite |
getCategoriesOverwrite()
Returns the category overwrite options. |
EbiElementOverwrite |
getDoctypesOverwrite()
Returns the doctype overwrite options. |
EbiElementOverwrite |
getDocumentsOverwrite()
Returns the document overwrite options. |
EbiElementOverwrite |
getFieldsOverwrite()
Returns the field overwrite options |
EbiElementOverwrite |
getFoldersOverwrite()
Returns the folder overwrite options. |
EbiElementOverwrite |
getLinksOverwrite()
Returns the link overwrite options. |
EbiElementOverwrite |
getStylesOverwrite()
Returns the style overwrite options. |
EbiDocFolder |
getTargetFolder()
Returns the target folder (defaults to the Root Folder). |
ZipInputStream |
getZipInputStream()
Returns the input zip input stream, if any was set |
Collection |
importDocuments(EbiContext context,
InputStream inDocData)
Deprecated. See EbiTool.execute(EbiContext context) . |
boolean |
mustCheckOutDocs()
Tells whether the Importer is to check out any documents it creates at execution time, to the user whose context is set into the Importer via the setContext method. |
boolean |
mustCreateNonexistentCategories()
Tells whether the tool must create any non-existent categories. |
boolean |
mustCreateNonexistentFolders()
Tells whether the tool must create any non-existent folders. |
boolean |
mustPublishDocsImmediately()
Tells whether any added documents must be published immediately. |
void |
setCategoriesOverwrite(EbiElementOverwrite overwrite)
Sets the category overwrite options. |
void |
setCheckOutDocs(boolean checkOut)
Specifies whether to check out all the imported documents to the user whose context is passed in to the execute() method. |
void |
setCreateNonexistentCategories(boolean create)
Sets the option to to create any categories that do not exist but whose URLs are mentioned in the input import XML such as the document XML. |
void |
setCreateNonexistentFolders(boolean create)
Sets the option to to create any folders that do not exist but whose URLs are mentioned in the input import XML such as the document XML. |
void |
setDoctypesOverwrite(EbiElementOverwrite overwrite)
Sets the doctype overwrite options. |
void |
setDocumentsOverwrite(EbiElementOverwrite overwrite)
Sets the document overwrite options. |
void |
setFieldsOverwrite(EbiElementOverwrite overwrite)
Sets the field overwrite options. |
void |
setFoldersOverwrite(EbiElementOverwrite overwrite)
Sets the folder overwrite options. |
void |
setLinksOverwrite(EbiElementOverwrite overwrite)
Sets the link overwrite options |
void |
setPublishDocsImmediately(boolean publishImmediately)
Specifies whether documents should be published immediately after being added by the Importer. |
void |
setStylesOverwrite(EbiElementOverwrite overwrite)
Sets the style overwrite options. |
void |
setTargetFolder(EbiDocFolder targetFolder)
Sets the target folder for the import operation. |
void |
setZipInputStream(ZipInputStream zisData)
Sets the input data source for the Importer to be an archive. |
Methods implemented from interface com.sssw.cm.api.EbiDataTransfer |
getAllResElements,
getOperationDescriptor,
getRepositoryID,
getResCategories,
getResDoctypes,
getResDocuments,
getResFields,
getResFolders,
getResLayoutStyles,
getResLinks,
setOperationDescriptor,
setRepositoryID |
Methods implemented from interface com.sssw.cm.api.EbiTool |
clearAll,
clearResults,
clearSettings,
execute,
isInputSet |
Field Detail |
public static final String CM_IMPORT_LOG
Method Detail |
public Collection importDocuments(EbiContext context, InputStream inDocData) throws EboUnrecoverableSystemException, EboSecurityException
EbiTool.execute(EbiContext context)
.
context
- contextinDocData
- document data, see contentmgmt-data_3_0.dtdEbiDocument
's which represent the
imported Documentspublic void setZipInputStream(ZipInputStream zisData)
zisData
- the zip input stream representing the archive filepublic ZipInputStream getZipInputStream()
public void setCheckOutDocs(boolean checkOut)
execute()
method.checkOut
- if true, check out all the imported documents to the
user whose context is passed in to the execute()
methodpublic void setPublishDocsImmediately(boolean publishImmediately)
publishImmediately
- if true, publish documents as they are
addedpublic void setCreateNonexistentFolders(boolean create)
create
- if true, create any folders that do not existpublic void setCreateNonexistentCategories(boolean create)
create
- if true, create any categories that do not existpublic void setFieldsOverwrite(EbiElementOverwrite overwrite)
overwrite
- the field overwrite optionspublic EbiElementOverwrite getFieldsOverwrite()
public void setDoctypesOverwrite(EbiElementOverwrite overwrite)
overwrite
- the doctype overwrite optionspublic EbiElementOverwrite getDoctypesOverwrite()
public void setStylesOverwrite(EbiElementOverwrite overwrite)
overwrite
- the style overwrite optionspublic EbiElementOverwrite getStylesOverwrite()
public void setFoldersOverwrite(EbiElementOverwrite overwrite)
overwrite
- the folder overwrite optionspublic EbiElementOverwrite getFoldersOverwrite()
public void setCategoriesOverwrite(EbiElementOverwrite overwrite)
overwrite
- the category overwrite optionspublic EbiElementOverwrite getCategoriesOverwrite()
public void setDocumentsOverwrite(EbiElementOverwrite overwrite)
overwrite
- the document overwrite optionspublic EbiElementOverwrite getDocumentsOverwrite()
public void setLinksOverwrite(EbiElementOverwrite overwrite)
overwrite
- the link overwrite optionspublic EbiElementOverwrite getLinksOverwrite()
public void setTargetFolder(EbiDocFolder targetFolder)
targetFolder
- the targer folderpublic EbiDocFolder getTargetFolder() throws EboUnrecoverableSystemException, EboSecurityException
public boolean mustCheckOutDocs()
setContext
method.public boolean mustPublishDocsImmediately()
public boolean mustCreateNonexistentFolders()
public boolean mustCreateNonexistentCategories()
|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |