Package io.jmix.datatools.impl
Class EntityRestoreImpl
java.lang.Object
io.jmix.datatools.impl.EntityRestoreImpl
- All Implemented Interfaces:
EntityRestore
@Component("datatl_EntityRestore")
public class EntityRestoreImpl
extends Object
implements EntityRestore
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
fillProperties
(MetaClass metaClass, List<MetaProperty> properties, String annotationName) protected void
restoreDetails
(io.jmix.datatools.impl.EntityRestoreImpl.RestorationContext restorationContext) int
restoreEntities
(Collection<Object> entities) Restore provided entitiesprotected void
restoreEntity
(Object entity, SaveContext saveContext)
-
Field Details
-
metadata
-
metadataTools
-
-
Constructor Details
-
EntityRestoreImpl
public EntityRestoreImpl()
-
-
Method Details
-
restoreEntities
Description copied from interface:EntityRestore
Restore provided entities- Specified by:
restoreEntities
in interfaceEntityRestore
- Parameters:
entities
- entities to restore- Returns:
- Amount of restored entities (initially selected + dependent)
-
restoreEntity
-
restoreDetails
protected void restoreDetails(io.jmix.datatools.impl.EntityRestoreImpl.RestorationContext restorationContext) -
fillProperties
protected void fillProperties(MetaClass metaClass, List<MetaProperty> properties, String annotationName)
-