Interface OwnerDAO
-
- All Known Implementing Classes:
JPAOwnerDAO
public interface OwnerDAO
-
-
Field Summary
Fields Modifier and Type Field Description static String
GET_OWNERS_QUERY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Owner
createOwner(Owner owner)
List<Owner>
findOwners(String queryName, Map<String,Object> params, int index, int count)
List<Owner>
getAccountOwners(Account account)
Owner
getOwnerById(long id)
Owner
removeOwner(Owner owner)
-
-
-
Field Detail
-
GET_OWNERS_QUERY
static final String GET_OWNERS_QUERY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getOwnerById
Owner getOwnerById(long id) throws DAOException
- Throws:
DAOException
-
getAccountOwners
List<Owner> getAccountOwners(Account account) throws DAOException
- Throws:
DAOException
-
createOwner
Owner createOwner(Owner owner) throws DAOException
- Throws:
DAOException
-
removeOwner
Owner removeOwner(Owner owner) throws DAOException
- Throws:
DAOException
-
findOwners
List<Owner> findOwners(String queryName, Map<String,Object> params, int index, int count) throws DAOException
- Throws:
DAOException
-
-