|
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 perform conversions of XML query definitions for content management, into the Document Metadata Query objects.
EbiContentMgmtDelegate.getQueryConverter()
,
EbiDocQuery
Method Summary | |
void |
clearErrors()
Clears out the cache of accumulated errors. |
boolean |
foundErrors()
Checks to see if any errors were found during the execution of queryDefToObjectWithValidation |
Collection |
getErrors()
Gets the errors, if any were detected during the execution of queryDefToObjectWithValidation . |
Collection |
getFatalErrors()
Gets the fatal errors, if any were detected during the execution of queryDefToObjectWithValidation . |
Collection |
getWarnings()
Gets the warnings, if any were generated during the execution of queryDefToObjectWithValidation . |
EbiDocQuery |
queryDefToObject(EbiContext context,
String queryDef)
Converts Query definition XML into a Document Metadata Query object. |
EbiDocQuery |
queryDefToObjectWithValidation(EbiContext context,
String queryDef,
boolean continueAfterFatalError)
Converts Query definition XML into a Document Metadata Query object. |
Method Detail |
public EbiDocQuery queryDefToObject(EbiContext context, String queryDef) throws EboUnrecoverableSystemException
context
- the contextqueryDef
- the XML of the Query definitionpublic EbiDocQuery queryDefToObjectWithValidation(EbiContext context, String queryDef, boolean continueAfterFatalError) throws EboUnrecoverableSystemException
contentmgmt-docmeta-search_4_0.dtd
is used.
Any errors or warnings are accumulated and may be accessed via the
getFatalErrors
, getErrors
, and
getWarnings methods.
- Parameters:
context
- the contextqueryDef
- the XML of the query definitioncontinueAfterFatalError
- if true, the conversion will
continue even if a fatal error is encountered- Returns:
- the Document Metadata Query object
foundErrors
public boolean foundErrors()
- Checks to see if any errors were found during the
execution of
queryDefToObjectWithValidation
- Returns:
- true if any errors were found or warnings
generated as
queryDefToObjectWithValidation
was
executing
getFatalErrors
public Collection getFatalErrors()
- Gets the fatal errors, if any were detected during the
execution of
queryDefToObjectWithValidation
.
- Returns:
- a Collection of exceptions
getErrors
public Collection getErrors()
- Gets the errors, if any were detected during the
execution of
queryDefToObjectWithValidation
.
- Returns:
- a Collection of exceptions
getWarnings
public Collection getWarnings()
- Gets the warnings, if any were generated during the
execution of
queryDefToObjectWithValidation
.
- Returns:
- a Collection of exceptions
clearErrors
public void clearErrors()
- Clears out the cache of accumulated errors.
Overview
Package
Class
Tree
Deprecated
Index
Help
Novell exteNd
Director 5.2 API
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD