Class HSqlDbAgencyInterestsHandler
- java.lang.Object
-
- com.openindex.openestate.tool.agency.addons.contacts.db.DbAgencyInterestsHandlerImpl
-
- com.openindex.openestate.tool.agency.addons.contacts.db.hsql.HSqlDbAgencyInterestsHandler
-
- All Implemented Interfaces:
DbAgencyInterestsHandler
public class HSqlDbAgencyInterestsHandler extends DbAgencyInterestsHandlerImpl
HSqlDbAgencyInterestsHandler.- Author:
- Andreas Rudolph
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROC_REMOVE_INTERESTSstatic StringPROC_REMOVE_INTERESTS_OFFERSstatic StringPROC_SAVE_INTERESTSstatic StringPROC_SAVE_INTERESTS_OFFERSstatic StringVIEW_INTERESTSstatic StringVIEW_INTERESTS_OFFERS
-
Constructor Summary
Constructors Constructor Description HSqlDbAgencyInterestsHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long[]getInterestIds(Connection c, DbAgencyInterest.Status status)long[]getInterestIdsForContact(Connection c, long[] contactEntryIds)long[]getInterestIdsForEstate(Connection c, long[] agencyObjectIds)DbAgencyInterest[]getInterests(Connection c, long[] ids)DbAgencyInterest[]getInterests(Connection c, DbAgencyInterest.Status status)DbAgencyInterest[]getInterestsForContact(Connection c, long[] contactEntryIds)DbAgencyInterest[]getInterestsForEstate(Connection c, long[] agencyObjectIds)voidloadInterestOffers(Connection c, DbAgencyInterest[] interests)voidremoveInterestOffers(Connection c, long interestId, long[] agencyObjectIds)voidremoveInterests(Connection c, long[] ids)voidsaveInterest(Connection c, DbAgencyInterest interest)voidsaveInterestOffers(Connection c, DbAgencyInterestOffer[] offers)-
Methods inherited from class com.openindex.openestate.tool.agency.addons.contacts.db.DbAgencyInterestsHandlerImpl
buildInterest, buildInterestOffer, getInterest, getInterestIds, getInterestIdsForContact, getInterestIdsForEstate, getInterests, getInterestsForContact, getInterestsForEstate, loadInterestOffers, removeInterest, removeInterestOffer, saveInterestOffer
-
-
-
-
Field Detail
-
VIEW_INTERESTS
public static final String VIEW_INTERESTS
- See Also:
- Constant Field Values
-
VIEW_INTERESTS_OFFERS
public static final String VIEW_INTERESTS_OFFERS
- See Also:
- Constant Field Values
-
PROC_REMOVE_INTERESTS
public static final String PROC_REMOVE_INTERESTS
- See Also:
- Constant Field Values
-
PROC_REMOVE_INTERESTS_OFFERS
public static final String PROC_REMOVE_INTERESTS_OFFERS
- See Also:
- Constant Field Values
-
PROC_SAVE_INTERESTS
public static final String PROC_SAVE_INTERESTS
- See Also:
- Constant Field Values
-
PROC_SAVE_INTERESTS_OFFERS
public static final String PROC_SAVE_INTERESTS_OFFERS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInterests
public DbAgencyInterest[] getInterests(Connection c, long[] ids) throws SQLException
- Specified by:
getInterestsin interfaceDbAgencyInterestsHandler- Specified by:
getInterestsin classDbAgencyInterestsHandlerImpl- Throws:
SQLException
-
getInterests
public DbAgencyInterest[] getInterests(Connection c, DbAgencyInterest.Status status) throws SQLException
- Specified by:
getInterestsin interfaceDbAgencyInterestsHandler- Specified by:
getInterestsin classDbAgencyInterestsHandlerImpl- Throws:
SQLException
-
getInterestsForContact
public DbAgencyInterest[] getInterestsForContact(Connection c, long[] contactEntryIds) throws SQLException
- Specified by:
getInterestsForContactin interfaceDbAgencyInterestsHandler- Specified by:
getInterestsForContactin classDbAgencyInterestsHandlerImpl- Throws:
SQLException
-
getInterestsForEstate
public DbAgencyInterest[] getInterestsForEstate(Connection c, long[] agencyObjectIds) throws SQLException
- Specified by:
getInterestsForEstatein interfaceDbAgencyInterestsHandler- Specified by:
getInterestsForEstatein classDbAgencyInterestsHandlerImpl- Throws:
SQLException
-
getInterestIds
public long[] getInterestIds(Connection c, DbAgencyInterest.Status status) throws SQLException
- Specified by:
getInterestIdsin interfaceDbAgencyInterestsHandler- Specified by:
getInterestIdsin classDbAgencyInterestsHandlerImpl- Throws:
SQLException
-
getInterestIdsForContact
public long[] getInterestIdsForContact(Connection c, long[] contactEntryIds) throws SQLException
- Specified by:
getInterestIdsForContactin interfaceDbAgencyInterestsHandler- Specified by:
getInterestIdsForContactin classDbAgencyInterestsHandlerImpl- Throws:
SQLException
-
getInterestIdsForEstate
public long[] getInterestIdsForEstate(Connection c, long[] agencyObjectIds) throws SQLException
- Specified by:
getInterestIdsForEstatein interfaceDbAgencyInterestsHandler- Specified by:
getInterestIdsForEstatein classDbAgencyInterestsHandlerImpl- Throws:
SQLException
-
loadInterestOffers
public void loadInterestOffers(Connection c, DbAgencyInterest[] interests) throws SQLException
- Specified by:
loadInterestOffersin interfaceDbAgencyInterestsHandler- Specified by:
loadInterestOffersin classDbAgencyInterestsHandlerImpl- Throws:
SQLException
-
removeInterests
public void removeInterests(Connection c, long[] ids) throws SQLException
- Specified by:
removeInterestsin interfaceDbAgencyInterestsHandler- Specified by:
removeInterestsin classDbAgencyInterestsHandlerImpl- Throws:
SQLException
-
removeInterestOffers
public void removeInterestOffers(Connection c, long interestId, long[] agencyObjectIds) throws SQLException
- Specified by:
removeInterestOffersin interfaceDbAgencyInterestsHandler- Specified by:
removeInterestOffersin classDbAgencyInterestsHandlerImpl- Throws:
SQLException
-
saveInterest
public void saveInterest(Connection c, DbAgencyInterest interest) throws SQLException
- Specified by:
saveInterestin interfaceDbAgencyInterestsHandler- Specified by:
saveInterestin classDbAgencyInterestsHandlerImpl- Throws:
SQLException
-
saveInterestOffers
public void saveInterestOffers(Connection c, DbAgencyInterestOffer[] offers) throws SQLException
- Specified by:
saveInterestOffersin interfaceDbAgencyInterestsHandler- Specified by:
saveInterestOffersin classDbAgencyInterestsHandlerImpl- Throws:
SQLException
-
-