Interface CrudService<T extends Modifiable>
- Type Parameters:
T- Item type
public interface CrudService<T extends Modifiable>
Service for CRUD operations on
Modifiable children items.
- Get list of modifiable items
- Saves modified item
- Delete modified item
- Author:
- Daniel MaĊĦek
-
Method Summary
-
Method Details
-
list
Get list of items to display in Master view table.- Returns:
- List of items
- Throws:
CrudException- Exception reading data
-
save
Saves created/updated item from edit dialog or detail view.- Parameters:
item- Item to save- Returns:
- Saved item
- Throws:
CrudException- Exception saving data
-
delete
Deletes item.- Parameters:
item- Item to delete- Throws:
CrudException- Exception deleting data
-