|
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 exporting CM data out of the Content Management System.
Field Summary | |
static String |
CM_EXPORT_LOG
The name of the CM Export 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 | |
EbiQueryBase |
getDocumentQuery()
Returns the document scope query, if any was set via the
selectDocuments method. |
EbiQueryBase |
getLinkQuery()
Returns the document link query, if any was set via the
selectLinks method. |
OutputStream |
getOutputStream()
Returns the output stream that the exporter is set up to write its output data into. |
EbiDocCategory[] |
getSelectedCategories()
Returns the list of selected categories. |
EbiDocType[] |
getSelectedDoctypes()
Returns the list of selected document types. |
EbiDocument[] |
getSelectedDocuments()
Returns the list of selected documents. |
EbiDocField[] |
getSelectedFields()
Returns the list of selected fields, if any. |
EbiDocFolder[] |
getSelectedFolders()
Returns the list of selected folders, if any. |
EbiDocLink[] |
getSelectedLinks()
Returns the list of selected document links, if any. |
EbiDocLayoutStyle[] |
getSelectedStyles()
Returns the list of selected layout styles, if any. |
boolean |
mustExportAll()
Tells whether all CM elements are selected for export. |
boolean |
mustExportAllCategories()
Tells whether all categories are to be exported. |
boolean |
mustExportAllDoctypes()
Tells whether all doctypes are to be exported. |
boolean |
mustExportAllDocuments()
Tells whether all documents are to be exported. |
boolean |
mustExportAllFields()
Tells whether all fields are to be exported. |
boolean |
mustExportAllFolders()
Tells whether all folders are to be exported. |
boolean |
mustExportAllLinks()
Tells whether all document links are to be exported. |
boolean |
mustExportAllStyles()
Tells whether all document layout styles are to be exported. |
boolean |
mustExportCategories()
Tells whether any categories are to be exported. |
boolean |
mustExportContentAdmin()
Tells whether the Content Admin element is to be exported. |
boolean |
mustExportDoctypes()
Tells whether any document types are to be exported. |
boolean |
mustExportDocuments()
Tells whether any documents are to be exported. |
boolean |
mustExportFields()
Tells whether any fields are to be exported. |
boolean |
mustExportFolders()
Tells whether any folders are to be exported. |
boolean |
mustExportStyles()
Tells whether any styles are to be exported. |
boolean |
mustUseElementIDs()
Tells whether CM element UUIDs are to be used in the output element XML. |
void |
selectAllCategories(boolean selectAll)
Selects all categories for export. |
void |
selectAllDoctypes(boolean selectAll)
Selects all document types for export. |
void |
selectAllDocuments(boolean selectAll)
Selects all documents for export. |
void |
selectAllElements(boolean selectAll)
Selects all CM elements for export. |
void |
selectAllFields(boolean selectAll)
Selects all fields for export. |
void |
selectAllFolders(boolean selectAll)
Selects all folders for export. |
void |
selectAllLinks(boolean selectAll)
Selects all document links for export. |
void |
selectAllStyles(boolean selectAll)
Selects all layout styles for export. |
void |
selectCategories(EbiDocCategory[] categories)
Selects a set of categories to be exported. |
void |
selectCategory(EbiDocCategory category,
boolean recursive)
Selects a specific category for export. |
void |
selectContentAdmin(boolean select)
Selects the Content Admin element for export. |
void |
selectDoctype(EbiDocType doctype)
Selects a specific doctype for export. |
void |
selectDoctypes(EbiDocType[] doctypes)
Selects a set of doctypes to be exported. |
void |
selectDocument(EbiDocument document)
Selects a specific document for export. |
void |
selectDocuments(EbiDocument[] documents)
Selects a set of documents for export. |
void |
selectDocuments(EbiQueryBase query)
Selects documents for export by providing a query that is to be run in order to determine the scope of documents to be exported |
void |
selectElement(EbiContext context,
String elSpec,
boolean elSpecIsUUID,
String elType,
boolean includeSuppStructs,
boolean includeDependencies)
Selects a specific CM element for export. |
void |
selectField(EbiDocField field)
Selects a specific field for export. |
void |
selectFields(EbiDocField[] fields)
Selects a set of fields for export. |
void |
selectFolder(EbiDocFolder folder,
boolean recursive)
Selects a specific folder for export. |
void |
selectFolders(EbiDocFolder[] folders)
Selects a set of folders for export. |
void |
selectLinks(EbiDocLink[] links)
Selects a set of document links for export. |
void |
selectLinks(EbiQueryBase query,
boolean asLinkChildren)
Selects a set of document links for export. |
void |
selectStyle(EbiDocLayoutStyle style)
Selects a specific layout style for export. |
void |
selectStyles(EbiDocLayoutStyle[] styles)
Selects a set of document layout styles for export. |
void |
setOutputStream(OutputStream os)
Sets the output stream to write the export data into. |
void |
setUseElementIDs(boolean useIDs)
Sets the option for whether CM element UUIDs are to be used in the output element XML. |
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_EXPORT_LOG
Method Detail |
public void selectAllFields(boolean selectAll)
selectAll
- if true, all fields are selected for export, otherwise
the option 'select all fields' is turned offpublic boolean mustExportAllFields()
public boolean mustExportFields()
public void selectFields(EbiDocField[] fields) throws EboUnrecoverableSystemException, EboSecurityException
fields
- the list of fields to exportpublic void selectField(EbiDocField field) throws EboUnrecoverableSystemException, EboSecurityException
field
- the field to exportpublic EbiDocField[] getSelectedFields()
public void selectAllDoctypes(boolean selectAll)
selectAll
- if true, all document types are selected for export,
otherwise the option 'select all document types' is turned offpublic void selectDoctype(EbiDocType doctype) throws EboUnrecoverableSystemException, EboSecurityException
doctype
- the doctype to exportpublic boolean mustExportAllDoctypes()
public boolean mustExportDoctypes()
public void selectDoctypes(EbiDocType[] doctypes) throws EboUnrecoverableSystemException, EboSecurityException
doctypes
- the doctypes to be exportedpublic EbiDocType[] getSelectedDoctypes()
public void selectAllStyles(boolean selectAll)
selectAll
- if true, all layout styles are selected for export,
otherwise the option 'select all layout styles' is turned offpublic void selectStyle(EbiDocLayoutStyle style) throws EboUnrecoverableSystemException, EboSecurityException
style
- the style to exportpublic boolean mustExportAllStyles()
public boolean mustExportStyles()
public void selectStyles(EbiDocLayoutStyle[] styles) throws EboUnrecoverableSystemException, EboSecurityException
styles
- the styles to exportpublic EbiDocLayoutStyle[] getSelectedStyles()
public void selectAllFolders(boolean selectAll)
selectAll
- if true, all folders are selected for export, otherwise
the option 'select all folders' is turned offpublic boolean mustExportAllFolders()
public void selectFolder(EbiDocFolder folder, boolean recursive) throws EboUnrecoverableSystemException, EboSecurityException
folder
- the folder to exportrecursive
- if true, all the descendant folders are exported
as wellpublic boolean mustExportFolders()
public void selectFolders(EbiDocFolder[] folders) throws EboUnrecoverableSystemException, EboSecurityException
folders
- the list of folders to exportpublic EbiDocFolder[] getSelectedFolders()
public void selectAllCategories(boolean selectAll)
selectAll
- if true, all categories are selected for export,
otherwise the 'select all categories' option is turned offpublic void selectCategory(EbiDocCategory category, boolean recursive) throws EboUnrecoverableSystemException, EboSecurityException
category
- the category to exportrecursive
- if true, all descendant categories are exported as wellpublic boolean mustExportAllCategories()
public boolean mustExportCategories()
public void selectCategories(EbiDocCategory[] categories) throws EboUnrecoverableSystemException, EboSecurityException
categories
- the list of categories to be exportedpublic EbiDocCategory[] getSelectedCategories()
public void selectAllDocuments(boolean selectAll)
selectAll
- if true, all documents are selected for export,
otherwise the option 'select all documents' is turned offpublic void selectDocument(EbiDocument document) throws EboUnrecoverableSystemException, EboSecurityException
document
- the document to exportpublic boolean mustExportAllDocuments()
public boolean mustExportDocuments()
public void selectDocuments(EbiDocument[] documents) throws EboUnrecoverableSystemException, EboSecurityException
documents
- the list of documents to be exportedpublic EbiDocument[] getSelectedDocuments()
public void selectDocuments(EbiQueryBase query)
query
- the query to run (scope)public EbiQueryBase getDocumentQuery()
selectDocuments
method.public void selectContentAdmin(boolean select) throws EboUnrecoverableSystemException, EboSecurityException
select
- if true, the Content Admin element is selected for export;
otherwise it is deselected (the default is 'not selected')public boolean mustExportContentAdmin()
public void selectAllLinks(boolean selectAll)
selectAll
- if true, all document links are selected for export,
otherwise the option 'select all document links for export' is turned offpublic boolean mustExportAllLinks()
public void selectLinks(EbiDocLink[] links) throws EboUnrecoverableSystemException, EboSecurityException
links
- the list of links to exportpublic EbiDocLink[] getSelectedLinks()
public void selectLinks(EbiQueryBase query, boolean asLinkChildren)
query
- the query to define the set of documents for which
the links are to be exportedasLinkChildren
- if true, the documents scoped by the query
parameter, are assumed to be link-children, otherwise
link-parents for the selected linkspublic EbiQueryBase getLinkQuery()
selectLinks
method.public void selectAllElements(boolean selectAll) throws EboUnrecoverableSystemException, EboSecurityException
selectAll
- if true, all elements are selected; if false, the
"select all elements" option is turned offpublic boolean mustExportAll()
public void selectElement(EbiContext context, String elSpec, boolean elSpecIsUUID, String elType, boolean includeSuppStructs, boolean includeDependencies) throws EboUnrecoverableSystemException, EboSecurityException
context
- the contextelSpec
- the element specifierelSpecIsUUID
- if true, the element specifier is assumed to be
the element's UUID, otherwise it's assumed to be its name or URLelType
- the element type (see
com.sssw.fw.api.EbiElement.getType()
)includeSuppStructs
- if true, all the supporting structures are
includedincludeDependencies
- if true, all the dependent structures are
includedpublic void setOutputStream(OutputStream os)
os
- the output stream to write the export data intopublic OutputStream getOutputStream()
public void setUseElementIDs(boolean useIDs)
useIDs
- if true, element UUIDs are used in the output element XML,
otherwise, only element names/URLs, as appropriate, are used to
identify elementspublic boolean mustUseElementIDs()
|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |