Package logic.data.dao
Class ScheduleEntryDAOImpl
- java.lang.Object
-
- logic.data.dao.ScheduleEntryDAOImpl
-
- All Implemented Interfaces:
DAO<ScheduleEntry>,ScheduleEntryDAO
public final class ScheduleEntryDAOImpl extends Object implements ScheduleEntryDAO
- Author:
- Tomáš Hamsa on 19.11.2017.
-
-
Constructor Summary
Constructors Constructor Description ScheduleEntryDAOImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(Serializable id)Optional<T>find(Serializable id)List<T>list()Optional<T>save(T entity)Optional<T>update(T entity)
-
-
-
Method Detail
-
list
@Nonnull public List<T> list()
- Specified by:
listin interfaceDAO<T extends Serializable>
-
save
@Nonnull public Optional<T> save(@Nonnull T entity)
- Specified by:
savein interfaceDAO<T extends Serializable>
-
find
@Nonnull public Optional<T> find(@Nonnull Serializable id)
- Specified by:
findin interfaceDAO<T extends Serializable>
-
update
@Nonnull public Optional<T> update(@Nonnull T entity)
- Specified by:
updatein interfaceDAO<T extends Serializable>
-
delete
public void delete(@Nonnull Serializable id)
- Specified by:
deletein interfaceDAO<T extends Serializable>
-
-