|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.oness.party.model.facade.PartySpringFacadeDelegate
Facade that uses the Spring framework
| Constructor Summary | |
PartySpringFacadeDelegate()
|
|
| 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. |
net.sf.oness.common.model.dao.Dao |
getContactInfoDao()
|
CountryDao |
getCountryDao()
|
net.sf.oness.common.model.dao.Dao |
getPartyDao()
|
void |
setContactInfoDao(net.sf.oness.common.model.dao.Dao contactInfoDao)
|
void |
setCountryDao(CountryDao countryDao)
|
void |
setPartyDao(net.sf.oness.common.model.dao.Dao partyDao)
|
ContactInfo |
updateContactInfo(ContactInfo contactInfo)
Update a contact info |
Party |
updateParty(Party party)
Update a party |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PartySpringFacadeDelegate()
| Method Detail |
public void setPartyDao(net.sf.oness.common.model.dao.Dao partyDao)
partyDao - The party DAO to set.public net.sf.oness.common.model.dao.Dao getPartyDao()
public void setContactInfoDao(net.sf.oness.common.model.dao.Dao contactInfoDao)
contactInfoDao - The contactInfo DAO to set.public net.sf.oness.common.model.dao.Dao getContactInfoDao()
public void setCountryDao(CountryDao countryDao)
countryDao - The country DAO to set.public CountryDao getCountryDao()
public Party createParty(Party party)
throws net.sf.oness.common.model.exceptions.ExistingInstanceException
PartyFacadeDelegate
createParty in interface PartyFacadeDelegateparty -
net.sf.oness.common.model.exceptions.ExistingInstanceExceptionPartyFacadeDelegate.createParty(net.sf.oness.party.model.party.bo.Party)
public Party createParty(Party party,
boolean ignoreExisting)
throws net.sf.oness.common.model.exceptions.ExistingInstanceException
PartyFacadeDelegate
createParty in interface PartyFacadeDelegateparty - ignoreExisting -
net.sf.oness.common.model.exceptions.ExistingInstanceExceptionPartyFacadeDelegate.createParty(net.sf.oness.party.model.party.bo.Party,
boolean)public Party updateParty(Party party)
PartyFacadeDelegate
updateParty in interface PartyFacadeDelegateparty -
PartyFacadeDelegate.updateParty(net.sf.oness.party.model.party.bo.Party)
public net.sf.oness.common.model.util.PaginatedList findParty(Party party,
int firstElement,
int maxElements)
PartyFacadeDelegate
findParty in interface PartyFacadeDelegateparty - properties to filter onfirstElement - maxElements -
PartyFacadeDelegate.findParty(Party,
int, int)public Party findParty(java.lang.Long id)
PartyFacadeDelegate
findParty in interface PartyFacadeDelegateid - Party identifier
PartyFacadeDelegate.findParty(java.lang.Long)public Party findPartyWithDetails(java.lang.Long id)
PartyFacadeDelegate
findPartyWithDetails in interface PartyFacadeDelegateid - Party identifier
PartyFacadeDelegate.findPartyWithDetails(java.lang.Long)public void deleteParty(java.lang.Long id)
PartyFacadeDelegate
deleteParty in interface PartyFacadeDelegateid - Party identifierPartyFacadeDelegate.deleteParty(java.lang.Long)public ContactInfo createContactInfo(ContactInfo contactInfo)
PartyFacadeDelegate
createContactInfo in interface PartyFacadeDelegatecontactInfo -
PartyFacadeDelegate.createContactInfo(net.sf.oness.party.model.contact.bo.ContactInfo)public ContactInfo updateContactInfo(ContactInfo contactInfo)
PartyFacadeDelegate
updateContactInfo in interface PartyFacadeDelegatecontactInfo -
PartyFacadeDelegate.updateContactInfo(net.sf.oness.party.model.contact.bo.ContactInfo)
public net.sf.oness.common.model.util.PaginatedList findContactInfo(ContactInfo contactInfo,
int firstElement,
int maxElements)
PartyFacadeDelegate
findContactInfo in interface PartyFacadeDelegatecontactInfo - properties to filter onfirstElement - maxElements -
PartyFacadeDelegate.findContactInfo(net.sf.oness.party.model.contact.bo.ContactInfo,
int, int)public ContactInfo findContactInfo(java.lang.Long id)
PartyFacadeDelegate
findContactInfo in interface PartyFacadeDelegateid - Contact info identifier
PartyFacadeDelegate.findContactInfo(java.lang.Long)public void deleteContactInfo(java.lang.Long id)
PartyFacadeDelegate
deleteContactInfo in interface PartyFacadeDelegateid - Contact info identifierPartyFacadeDelegate.deleteContactInfo(java.lang.Long)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||