|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NamedDao<T extends DalObject>
Method Summary | |
---|---|
java.util.Collection<T> |
getAllOrdered()
retrieves all objects order by name |
java.util.Collection<T> |
getByName(java.lang.String name)
retrieves objects from the database by thier name |
T |
getUniqueByName(java.lang.String name)
retrieves a unique instance of the object in the database |
java.util.Collection<T> |
matchByName(java.lang.String name)
retrieves objects from the database based on their name with the "like" operator |
Methods inherited from interface net.sf.shineframework.server.dal.dao.Dao |
---|
delete, getAll, getByBusinessKey, getByPk, getByProperties, getByUniqueProperties, merge, save |
Method Detail |
---|
java.util.Collection<T> getByName(java.lang.String name) throws org.springframework.dao.DataAccessException
name
- object name
org.springframework.dao.DataAccessException
java.util.Collection<T> matchByName(java.lang.String name) throws org.springframework.dao.DataAccessException
name
- object name
org.springframework.dao.DataAccessException
T getUniqueByName(java.lang.String name) throws org.springframework.dao.DataAccessException
name
- object name
org.springframework.dao.DataAccessException
- when there's an error and where the result is non-uniquejava.util.Collection<T> getAllOrdered() throws org.springframework.dao.DataAccessException
org.springframework.dao.DataAccessException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |