public interface Exportable extends Persistent
emptyKeys
Modifier and Type | Method and Description |
---|---|
void |
beforeImport(java.util.Map<java.lang.String,Persistent> values)
This method is called by the importer after the object is filled with data.
|
java.util.List<java.lang.reflect.Field> |
exportFields()
Here a class can return the names of fields which should be exported
during an @enterprise export.
|
java.util.List<Exportable> |
getAdditionalObjects(boolean isReference)
return a list of objects that must be exported with this object (after it).
|
java.util.List<Exportable> |
getRequiredObjects(boolean isReference)
This method is called by the exporter before an object is exported.
|
java.util.List<Exportable> |
getRequiredReferences()
Returns a list of references that cannot be found in the persistent fields.
|
afterDelete, afterInsert, afterRead, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, dbFields, getKey, getKeys, getLocalClassName, getLocalObjectName, getOid, getStore, getTableName, getValue, isFilled, isValid, setFilled, setOid, setOid, setStore, toListString
java.util.List<java.lang.reflect.Field> exportFields() throws java.lang.Exception
java.lang.Exception
java.util.List<Exportable> getRequiredObjects(boolean isReference) throws java.lang.Exception
isReference
- is this a reference to an exported objectjava.lang.Exception
java.util.List<Exportable> getRequiredReferences() throws java.lang.Exception
java.lang.Exception
java.util.List<Exportable> getAdditionalObjects(boolean isReference) throws java.lang.Exception
isReference
- is this a reference to an exported objectjava.lang.Exception
void beforeImport(java.util.Map<java.lang.String,Persistent> values)
values
- contains a map of the object identifier (classname:oid) to the new objects.@enterprise 9.0.33982 Copyright © 2001-2023 Groiss Informatics GmbH. All Rights Reserved.