Package com.suncode.pwfl.util
Class EditableServiceImpl<T,PK extends Serializable,Dao extends EditableDao<T,PK>>
java.lang.Object
com.suncode.pwfl.util.BaseFinderImpl<T,PK,Dao>
com.suncode.pwfl.util.EditableServiceImpl<T,PK,Dao>
- All Implemented Interfaces:
BaseFinder<T,
,PK> EditableService<T,
PK>
public abstract class EditableServiceImpl<T,PK extends Serializable,Dao extends EditableDao<T,PK>>
extends BaseFinderImpl<T,PK,Dao>
implements EditableService<T,PK>
-
Field Summary
Fields inherited from class com.suncode.pwfl.util.BaseFinderImpl
dao, type
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.suncode.pwfl.util.BaseFinderImpl
addLike, count, countAll, findByCriteria, findByCriteria, findByProperty, findOne, findOneByProperty, get, get, getAll, getAll, getCountedResult, getCountedResult, scrollByCriteria, scrollByCriteria
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.suncode.pwfl.support.BaseFinder
count, countAll, findByCriteria, findByCriteria, findByProperty, findOne, findOneByProperty, get, get, getAll, getAll, getCountedResult, getCountedResult, scrollByCriteria, scrollByCriteria
-
Constructor Details
-
EditableServiceImpl
public EditableServiceImpl()
-
-
Method Details
-
delete
Description copied from interface:EditableService
Usuwa obiekt z bazy danych.- Specified by:
delete
in interfaceEditableService<T,
PK extends Serializable> - Parameters:
entity
- - Obiekt, który chcemy usunąć.
-
update
Description copied from interface:EditableService
Modyfikuje obiekt z bazie z danych.- Specified by:
update
in interfaceEditableService<T,
PK extends Serializable> - Parameters:
entity
- - Obiekt, który chcemy zmodyfikować.
-
save
Description copied from interface:EditableService
Zapisuje obiekt w bazie danych.- Specified by:
save
in interfaceEditableService<T,
PK extends Serializable> - Returns:
Zwraca id zapisanego w bazie obiektu.
-