|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface is only for internal usage
| Field Summary | |
static String |
EXPORT_EMPTY_SUB_QUERY_ERROR
|
static String |
EXPORT_FATAL_ERROR
|
static String |
EXPORT_INITIAL_STATE
|
static String |
EXPORT_MISSING_CLOSING_BRACKET_ERROR
|
static String |
EXPORT_MISSING_OPENING_BRACKET_ERROR
|
static String |
EXPORT_MISSING_OPERATOR_IN_COMPLEX_QUERY_ERROR
|
static String |
EXPORT_MISSING_SIMPLE_QUERY_ERROR
|
static String |
EXPORT_OK
|
static String |
EXPORT_UNMODELLED_ATTRIBUTE_ERROR
|
static String |
EXPORT_WRONG_OPERATOR_FOR_CONTENT_QUERY_ERROR
|
static String |
EXPORT_WRONG_OPERATOR_FOR_OTHER_QUERY_ERROR
|
static String |
EXPORT_WRONG_OPERATOR_FOR_TEXT_QUERY_ERROR
|
static String |
IMPORT_ATTRIBUTE_NOT_MODELLED_ERROR
|
static String |
IMPORT_ATTRIBUTE_TYPE_ERROR
|
static String |
IMPORT_DTD_ERROR
|
static String |
IMPORT_FATAL_ERROR
|
static String |
IMPORT_INITIAL_STATE
|
static String |
IMPORT_OK
|
static String |
IMPORT_PARSING_ERROR
|
static String |
IMPORT_QUERY_FOR_EB_TAX_ERROR
|
static String |
IMPORT_TAX_ALREADY_EXISTS_ERROR
|
static String |
IMPORT_TAXONOMY_CREATION_ERROR
|
| Method Summary | |
IResource |
exportDTD(ICollection exportColl)
|
void |
exportTaxonomy(ICollection collection,
String outputResource,
IClassificationIndex index,
String taxname)
Exports a taxonomy to a resource. |
String |
getDuration()
Returns the duration of the last import or export operation in the following format hh:mm:ss |
String |
getErrorMessage()
Returns a more detailed message about what happend during ex- or import. |
int |
getNumberOfCategories()
Returns the number of categories of the last import or export operation. |
String |
getState()
After an ex- or import of a taxonomy, you could check the success or problems of this opertation by looking at the state. |
String |
getTaxonomyName()
|
void |
importTaxonomy(IResource taxDocument,
IClassificationIndex index)
Imports a taxonomy. |
| Field Detail |
public static final String IMPORT_INITIAL_STATE
public static final String IMPORT_PARSING_ERROR
public static final String IMPORT_TAX_ALREADY_EXISTS_ERROR
public static final String IMPORT_FATAL_ERROR
public static final String IMPORT_TAXONOMY_CREATION_ERROR
public static final String IMPORT_ATTRIBUTE_NOT_MODELLED_ERROR
public static final String IMPORT_ATTRIBUTE_TYPE_ERROR
public static final String IMPORT_QUERY_FOR_EB_TAX_ERROR
public static final String IMPORT_DTD_ERROR
public static final String IMPORT_OK
public static final String EXPORT_INITIAL_STATE
public static final String EXPORT_FATAL_ERROR
public static final String EXPORT_MISSING_OPENING_BRACKET_ERROR
public static final String EXPORT_MISSING_CLOSING_BRACKET_ERROR
public static final String EXPORT_MISSING_SIMPLE_QUERY_ERROR
public static final String EXPORT_UNMODELLED_ATTRIBUTE_ERROR
public static final String EXPORT_WRONG_OPERATOR_FOR_TEXT_QUERY_ERROR
public static final String EXPORT_WRONG_OPERATOR_FOR_CONTENT_QUERY_ERROR
public static final String EXPORT_WRONG_OPERATOR_FOR_OTHER_QUERY_ERROR
public static final String EXPORT_EMPTY_SUB_QUERY_ERROR
public static final String EXPORT_MISSING_OPERATOR_IN_COMPLEX_QUERY_ERROR
public static final String EXPORT_OK
| Method Detail |
public void importTaxonomy(IResource taxDocument,
IClassificationIndex index)
throws Exception
taxDocument - XML resource describing the taxonomy to importindex - index to which the new taxonomy is attached
Exception
public void exportTaxonomy(ICollection collection,
String outputResource,
IClassificationIndex index,
String taxname)
throws Exception
collection - Collection where the resource with the exported taxonomjy is stored.outputResource - Resource where the exported taxonomy is storedindex - taxname - Name of the taxonomy to export
Exceptionpublic String getState()
public String getErrorMessage()
public IResource exportDTD(ICollection exportColl)
throws NotSupportedException,
AccessDeniedException,
ResourceException
exportColl -
NotSupportedException
AccessDeniedException
ResourceExceptionpublic String getDuration()
public int getNumberOfCategories()
public String getTaxonomyName()
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||