We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.spring.data.
Package com.vaadin.flow.spring.data
Interface FormService<T,ID>
Type Parameters:
T
- the type of object to manage
ID
- the type of the object's identifier
All Known Subinterfaces:
CrudService<T,
All Known Implementing Classes:
public interface FormService<T,ID>
A service that can update and delete a given type of object.
-
Method Summary
-
Method Details
-
save
Saves the given object and returns the (potentially) updated object.
If you store the object in a SQL database, the returned object might have a new id or updated consistency version.
Parameters:
value
- the object to saveReturns:
the fresh object; will never be null.
-
delete
Deletes the object with the given id.
Parameters:
id
- the id of the object to delete
-