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.hilla.crud.
Package com.vaadin.hilla.crud
Interface FormService<T,ID>
All Known Subinterfaces:
CrudService<T,
All Known Implementing Classes:
public interface FormService<T,ID>
A browser-callable service that can create, 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 or
null
if no object was found to update -
delete
Deletes the object with the given id.
Parameters:
id
- the id of the object to delete
-