Class DbAgencyInterestsHandlerImpl
- java.lang.Object
-
- com.openindex.openestate.tool.agency.addons.contacts.db.DbAgencyInterestsHandlerImpl
-
- All Implemented Interfaces:
DbAgencyInterestsHandler
- Direct Known Subclasses:
HSqlDbAgencyInterestsHandler
public abstract class DbAgencyInterestsHandlerImpl extends Object implements DbAgencyInterestsHandler
DbAgencyInterestsHandlerImpl.- Author:
- Andreas Rudolph
-
-
Constructor Summary
Constructors Constructor Description DbAgencyInterestsHandlerImpl()
-
Method Summary
-
-
-
Method Detail
-
buildInterest
protected DbAgencyInterest buildInterest()
-
buildInterestOffer
protected DbAgencyInterestOffer buildInterestOffer()
-
getInterests
public final DbAgencyInterest[] getInterests(Connection c) throws SQLException
- Specified by:
getInterestsin interfaceDbAgencyInterestsHandler- Throws:
SQLException
-
getInterests
public abstract DbAgencyInterest[] getInterests(Connection c, long[] ids) throws SQLException
- Specified by:
getInterestsin interfaceDbAgencyInterestsHandler- Throws:
SQLException
-
getInterests
public abstract DbAgencyInterest[] getInterests(Connection c, DbAgencyInterest.Status status) throws SQLException
- Specified by:
getInterestsin interfaceDbAgencyInterestsHandler- Throws:
SQLException
-
getInterestsForContact
public final DbAgencyInterest[] getInterestsForContact(Connection c, long contactEntryId) throws SQLException
- Specified by:
getInterestsForContactin interfaceDbAgencyInterestsHandler- Throws:
SQLException
-
getInterestsForContact
public abstract DbAgencyInterest[] getInterestsForContact(Connection c, long[] contactEntryIds) throws SQLException
- Specified by:
getInterestsForContactin interfaceDbAgencyInterestsHandler- Throws:
SQLException
-
getInterestsForEstate
public final DbAgencyInterest[] getInterestsForEstate(Connection c, long agencyObjectId) throws SQLException
- Specified by:
getInterestsForEstatein interfaceDbAgencyInterestsHandler- Throws:
SQLException
-
getInterestsForEstate
public abstract DbAgencyInterest[] getInterestsForEstate(Connection c, long[] agencyObjectIds) throws SQLException
- Specified by:
getInterestsForEstatein interfaceDbAgencyInterestsHandler- Throws:
SQLException
-
getInterest
public final DbAgencyInterest getInterest(Connection c, long id) throws SQLException
- Specified by:
getInterestin interfaceDbAgencyInterestsHandler- Throws:
SQLException
-
getInterestIds
public final long[] getInterestIds(Connection c) throws SQLException
- Specified by:
getInterestIdsin interfaceDbAgencyInterestsHandler- Throws:
SQLException
-
getInterestIds
public abstract long[] getInterestIds(Connection c, DbAgencyInterest.Status status) throws SQLException
- Specified by:
getInterestIdsin interfaceDbAgencyInterestsHandler- Throws:
SQLException
-
getInterestIdsForContact
public final long[] getInterestIdsForContact(Connection c, long contactEntryId) throws SQLException
- Specified by:
getInterestIdsForContactin interfaceDbAgencyInterestsHandler- Throws:
SQLException
-
getInterestIdsForContact
public abstract long[] getInterestIdsForContact(Connection c, long[] contactEntryIds) throws SQLException
- Specified by:
getInterestIdsForContactin interfaceDbAgencyInterestsHandler- Throws:
SQLException
-
getInterestIdsForEstate
public final long[] getInterestIdsForEstate(Connection c, long agencyObjectId) throws SQLException
- Specified by:
getInterestIdsForEstatein interfaceDbAgencyInterestsHandler- Throws:
SQLException
-
getInterestIdsForEstate
public abstract long[] getInterestIdsForEstate(Connection c, long[] agencyObjectIds) throws SQLException
- Specified by:
getInterestIdsForEstatein interfaceDbAgencyInterestsHandler- Throws:
SQLException
-
loadInterestOffers
public final void loadInterestOffers(Connection c, DbAgencyInterest interests) throws SQLException
- Specified by:
loadInterestOffersin interfaceDbAgencyInterestsHandler- Throws:
SQLException
-
loadInterestOffers
public abstract void loadInterestOffers(Connection c, DbAgencyInterest[] interests) throws SQLException
- Specified by:
loadInterestOffersin interfaceDbAgencyInterestsHandler- Throws:
SQLException
-
removeInterest
public final void removeInterest(Connection c, long id) throws SQLException
- Specified by:
removeInterestin interfaceDbAgencyInterestsHandler- Throws:
SQLException
-
removeInterests
public abstract void removeInterests(Connection c, long[] ids) throws SQLException
- Specified by:
removeInterestsin interfaceDbAgencyInterestsHandler- Throws:
SQLException
-
removeInterestOffer
public final void removeInterestOffer(Connection c, long interestId, long agencyObjectId) throws SQLException
- Specified by:
removeInterestOfferin interfaceDbAgencyInterestsHandler- Throws:
SQLException
-
removeInterestOffers
public abstract void removeInterestOffers(Connection c, long interestId, long[] agencyObjectIds) throws SQLException
- Specified by:
removeInterestOffersin interfaceDbAgencyInterestsHandler- Throws:
SQLException
-
saveInterest
public abstract void saveInterest(Connection c, DbAgencyInterest interest) throws SQLException
- Specified by:
saveInterestin interfaceDbAgencyInterestsHandler- Throws:
SQLException
-
saveInterestOffer
public final void saveInterestOffer(Connection c, DbAgencyInterestOffer offer) throws SQLException
- Specified by:
saveInterestOfferin interfaceDbAgencyInterestsHandler- Throws:
SQLException
-
saveInterestOffers
public abstract void saveInterestOffers(Connection c, DbAgencyInterestOffer[] offers) throws SQLException
- Specified by:
saveInterestOffersin interfaceDbAgencyInterestsHandler- Throws:
SQLException
-
-