public abstract class AbstractClowderDao<T,ID extends Serializable> extends Object implements IDao<T,ID>
Constructor and Description |
---|
AbstractClowderDao() |
Modifier and Type | Method and Description |
---|---|
long |
count(boolean deleted) |
void |
delete(T entity) |
boolean |
exists(ID id) |
List<T> |
findAll() |
List<T> |
findAll(int page,
int size) |
T |
findOne(ID id) |
String |
getKey() |
String |
getServer() |
protected String |
getToken(String userId) |
T |
save(T entity) |
public void delete(T entity)
delete
in interface IDao<T,ID extends Serializable>
public boolean exists(ID id)
exists
in interface IDao<T,ID extends Serializable>
public List<T> findAll(int page, int size)
findAll
in interface IDao<T,ID extends Serializable>
public long count(boolean deleted)
count
in interface IDao<T,ID extends Serializable>
public String getKey()
public String getServer()
Copyright © 2022. All rights reserved.