|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
OrganizationDaoGeneric
public interface OrganizationDao
Used to create, save, retrieve, update and delete Organization objects from persistent storage
Method Summary | |
---|---|
Organization |
findByCode(String code)
Deprecated. Returns a possibly lightweight representation of the corresponding Organization, which may not contain all associated objects, or null if the Organization is not found. |
Organization |
load(Integer id)
Deprecated. loads a Organization object from persistence using its id; we include this for completeness, but we anticipate that most hotels will be loaded via a unique business code that is assigned to the hotel at the time that its record is first created in the database |
List |
loadAll()
Deprecated. 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)
Deprecated. Deep loads an Organization object, or throws exception if Organization with that code is not found |
Methods inherited from interface org.janux.bus.persistence.DataAccessObject |
---|
delete, merge, refresh, save, saveOrUpdate, update |
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 OrganizationOrganization load(Integer id) throws EntityNotFoundException
EntityNotFoundException
- if a Organization object with that id is not found
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |