|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OrganizationDaoGeneric<T extends Organization>
Used to create, save, retrieve, update and delete Organization objects from persistent storage
Method Summary | |
---|---|
Organization |
findByCode(String code)
Returns a possibly lightweight representation of the corresponding Organization, which may not contain all associated objects, or null if the Organization is not found. |
List |
loadAll()
Returns a list of all Organizations in the system; the organization objects returned should have at least their id, code and name fields initialized (retrieved from persistence) but need not be fully initialized; that is, the full object graph that includes the main organization object and its associated associations (Contact Methods, associations, etc....) may not have been fully retrieved. |
Organization |
loadByCode(String code)
Deep loads an Organization object, or throws exception if Organization with that code is not found |
Methods inherited from interface org.janux.bus.persistence.GenericDaoWrite |
---|
attachClean, clear, delete, evict, flush, merge, refresh, save, saveOrUpdate, update |
Methods inherited from interface org.janux.bus.persistence.GenericDaoReadOnlyWithFacets |
---|
getDefaultFacetSetOnLoad, initialize, initialize, load, setDefaultFacetSetOnLoad |
Methods inherited from interface org.janux.bus.persistence.GenericDaoReadOnly |
---|
count, findByCriteria, load |
Method Detail |
---|
List loadAll()
Organization loadByCode(String code) throws EntityNotFoundException
code
- a business code that uniquely identifies this Organization
EntityNotFoundException
- if a Organization object with that id is not foundOrganization findByCode(String code)
null
if the Organization is not found.
code
- a business code that uniquely identifies this Organization
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |