|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.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 PartyFacadeDelegate
party
-
net.sf.oness.common.model.exceptions.ExistingInstanceException
PartyFacadeDelegate.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 PartyFacadeDelegate
party
- ignoreExisting
-
net.sf.oness.common.model.exceptions.ExistingInstanceException
PartyFacadeDelegate.createParty(net.sf.oness.party.model.party.bo.Party,
boolean)
public Party updateParty(Party party)
PartyFacadeDelegate
updateParty
in interface PartyFacadeDelegate
party
-
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 PartyFacadeDelegate
party
- properties to filter onfirstElement
- maxElements
-
PartyFacadeDelegate.findParty(Party,
int, int)
public Party findParty(java.lang.Long id)
PartyFacadeDelegate
findParty
in interface PartyFacadeDelegate
id
- Party identifier
PartyFacadeDelegate.findParty(java.lang.Long)
public Party findPartyWithDetails(java.lang.Long id)
PartyFacadeDelegate
findPartyWithDetails
in interface PartyFacadeDelegate
id
- Party identifier
PartyFacadeDelegate.findPartyWithDetails(java.lang.Long)
public void deleteParty(java.lang.Long id)
PartyFacadeDelegate
deleteParty
in interface PartyFacadeDelegate
id
- Party identifierPartyFacadeDelegate.deleteParty(java.lang.Long)
public ContactInfo createContactInfo(ContactInfo contactInfo)
PartyFacadeDelegate
createContactInfo
in interface PartyFacadeDelegate
contactInfo
-
PartyFacadeDelegate.createContactInfo(net.sf.oness.party.model.contact.bo.ContactInfo)
public ContactInfo updateContactInfo(ContactInfo contactInfo)
PartyFacadeDelegate
updateContactInfo
in interface PartyFacadeDelegate
contactInfo
-
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 PartyFacadeDelegate
contactInfo
- 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 PartyFacadeDelegate
id
- Contact info identifier
PartyFacadeDelegate.findContactInfo(java.lang.Long)
public void deleteContactInfo(java.lang.Long id)
PartyFacadeDelegate
deleteContactInfo
in interface PartyFacadeDelegate
id
- Contact info identifierPartyFacadeDelegate.deleteContactInfo(java.lang.Long)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |