Package logic.data.dao
Class StudentScheduleDAOImpl
- java.lang.Object
-
- logic.data.dao.StudentScheduleDAOImpl
-
- All Implemented Interfaces:
DAO<StudentSchedule>,StudentScheduleDAO
public final class StudentScheduleDAOImpl extends Object implements StudentScheduleDAO
- Author:
- Tomáš Hamsa on 13.10.2017.
-
-
Constructor Summary
Constructors Constructor Description StudentScheduleDAOImpl()
-
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>
-
-