|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Facade that models the service of party management
| Method Summary | |
ContactInfo |
createContactInfo(ContactInfo contactInfo)
Create a contact info |
Party |
createParty(Party party)
Create a party, calls createParty(party, true) |
Party |
createParty(Party party,
boolean ignoreExisting)
Create a party If ignoreExisting is false and a similar Party already exists then a ExistingInstanceException will be thrown with the similar parties |
void |
deleteContactInfo(java.lang.Long id)
Delete a contact info |
void |
deleteParty(java.lang.Long id)
Delete a party |
net.sf.oness.common.model.util.PaginatedList |
findContactInfo(ContactInfo contactInfo,
int firstElement,
int maxElements)
Retrieves a list of contact infos, filtering with properties on a contact info object |
ContactInfo |
findContactInfo(java.lang.Long id)
View a contact info |
Party |
findParty(java.lang.Long id)
Retrieve a party without related entities. |
net.sf.oness.common.model.util.PaginatedList |
findParty(Party party,
int firstElement,
int maxElements)
Retrieves a list of parties, filtering with properties on a party object |
Party |
findPartyWithDetails(java.lang.Long id)
Retrieve a party and all related entities by its identifier. |
ContactInfo |
updateContactInfo(ContactInfo contactInfo)
Update a contact info |
Party |
updateParty(Party party)
Update a party |
| Method Detail |
public Party createParty(Party party)
throws net.sf.oness.common.model.exceptions.ExistingInstanceException
party -
org.springframework.dao.DataAccessException
net.sf.oness.common.model.exceptions.ExistingInstanceException
public Party createParty(Party party,
boolean ignoreExisting)
throws net.sf.oness.common.model.exceptions.ExistingInstanceException
party - ignoreExisting -
net.sf.oness.common.model.exceptions.ExistingInstanceException
org.springframework.dao.DataAccessExceptionpublic Party updateParty(Party party)
party -
org.springframework.dao.DataAccessException
public net.sf.oness.common.model.util.PaginatedList findParty(Party party,
int firstElement,
int maxElements)
party - properties to filter onfirstElement - maxElements -
org.springframework.dao.DataAccessExceptionpublic Party findParty(java.lang.Long id)
id - Party identifier
org.springframework.dao.DataRetrievalFailureException
org.springframework.dao.DataAccessExceptionpublic Party findPartyWithDetails(java.lang.Long id)
id - Party identifier
org.springframework.dao.DataRetrievalFailureException
org.springframework.dao.DataAccessExceptionpublic void deleteParty(java.lang.Long id)
id - Party identifier
org.springframework.dao.DataRetrievalFailureException
org.springframework.dao.DataAccessExceptionpublic ContactInfo createContactInfo(ContactInfo contactInfo)
contactInfo -
org.springframework.dao.DataAccessExceptionpublic ContactInfo updateContactInfo(ContactInfo contactInfo)
contactInfo -
org.springframework.dao.DataAccessException
public net.sf.oness.common.model.util.PaginatedList findContactInfo(ContactInfo contactInfo,
int firstElement,
int maxElements)
contactInfo - properties to filter onfirstElement - maxElements -
org.springframework.dao.DataAccessExceptionpublic ContactInfo findContactInfo(java.lang.Long id)
id - Contact info identifier
org.springframework.dao.DataRetrievalFailureException
org.springframework.dao.DataAccessExceptionpublic void deleteContactInfo(java.lang.Long id)
id - Contact info identifier
org.springframework.dao.DataRetrievalFailureException
org.springframework.dao.DataAccessException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||