public interface Exportable extends Persistent
emptyKeys
Modifier and Type | Method and Description |
---|---|
default void |
beforeImport(Map<String,Persistent> values)
This method is called by the importer after the object is filled with data.
|
default List<Field> |
exportFields()
Here a class can return the names of fields which should be exported
during an @enterprise export.
|
default List<Exportable> |
getAdditionalObjects(boolean isReference)
return a list of objects that must be exported with this object (after it).
|
default List<Exportable> |
getRequiredObjects(boolean isReference)
This method is called by the exporter before an object is exported.
|
default 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
default List<Field> exportFields() throws Exception
Exception
default List<Exportable> getRequiredObjects(boolean isReference) throws Exception
isReference
- is this a reference to an exported objectException
default List<Exportable> getRequiredReferences() throws Exception
Exception
default List<Exportable> getAdditionalObjects(boolean isReference) throws Exception
isReference
- is this a reference to an exported objectException
default void beforeImport(Map<String,Persistent> values)
values
- contains a map of the object identifier (classname:oid) to the new objects.@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.