Package com.axelor.meta.db.repo
Class MetaJsonModelRepository
java.lang.Object
com.axelor.db.JpaRepository<MetaJsonModel>
com.axelor.meta.db.repo.AbstractMetaJsonModelRepository
com.axelor.meta.db.repo.MetaJsonModelRepository
- All Implemented Interfaces:
Repository<MetaJsonModel>
-
Field Summary
Fields inherited from class com.axelor.db.JpaRepository
modelClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindNameField(MetaJsonModel jsonModel) voidremove(MetaJsonModel entity) Remove the given entity.save(MetaJsonModel entity) Save the given entity.Methods inherited from class com.axelor.meta.db.repo.AbstractMetaJsonModelRepository
findByName
-
Constructor Details
-
MetaJsonModelRepository
public MetaJsonModelRepository()
-
-
Method Details
-
findNameField
-
save
Description copied from interface:RepositorySave the given entity.Depending on the implementation, it may return same entity or a copy of it. For example JPA implementation may return a copy if the given entity can't be managed.
- Specified by:
savein interfaceRepository<MetaJsonModel>- Overrides:
savein classJpaRepository<MetaJsonModel>- Parameters:
entity- the entity object to save- Returns:
- an instance of the entity with saved state
-
remove
Description copied from interface:RepositoryRemove the given entity.- Specified by:
removein interfaceRepository<MetaJsonModel>- Overrides:
removein classJpaRepository<MetaJsonModel>- Parameters:
entity- the entity object
-