|
Daisy Open Source CMS | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SchemaLoadListener
| Method Summary | |
|---|---|
void |
conflictingFieldType(String fieldTypeName,
ValueType requiredType,
ValueType foundType)
|
void |
conflictingHierarchical(String fieldTypeName,
boolean needHierarchical,
boolean foundHierarchical)
|
void |
conflictingMultiValue(String fieldTypeName,
boolean needMultivalue,
boolean foundMultivalue)
Reports that a conflict is found between the multivalue setting of the currently existing field type and the field type in the import definition with the same name. |
void |
documentTypeLoaded(String documentTypeName,
SchemaLoadResult result)
|
void |
done()
|
void |
fieldTypeLoaded(String fieldTypeName,
SchemaLoadResult result)
|
boolean |
isInterrupted()
If this method returns true, the import will be interrupted by throwing an exception. |
void |
partTypeLoaded(String partTypeName,
SchemaLoadResult result)
|
| Method Detail |
|---|
void conflictingFieldType(String fieldTypeName,
ValueType requiredType,
ValueType foundType)
throws Exception
Exception
void conflictingMultiValue(String fieldTypeName,
boolean needMultivalue,
boolean foundMultivalue)
throws Exception
The implementation may choose to simply log this error and continue, or throw an exception to interrupt the schema import process.
Exception
void conflictingHierarchical(String fieldTypeName,
boolean needHierarchical,
boolean foundHierarchical)
throws Exception
Exception
void fieldTypeLoaded(String fieldTypeName,
SchemaLoadResult result)
void partTypeLoaded(String partTypeName,
SchemaLoadResult result)
void documentTypeLoaded(String documentTypeName,
SchemaLoadResult result)
void done()
boolean isInterrupted()
|
Daisy Open Source CMS | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||