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:
getInterests
in interfaceDbAgencyInterestsHandler
- Throws:
SQLException
-
getInterests
public abstract DbAgencyInterest[] getInterests(Connection c, long[] ids) throws SQLException
- Specified by:
getInterests
in interfaceDbAgencyInterestsHandler
- Throws:
SQLException
-
getInterests
public abstract DbAgencyInterest[] getInterests(Connection c, DbAgencyInterest.Status status) throws SQLException
- Specified by:
getInterests
in interfaceDbAgencyInterestsHandler
- Throws:
SQLException
-
getInterestsForContact
public final DbAgencyInterest[] getInterestsForContact(Connection c, long contactEntryId) throws SQLException
- Specified by:
getInterestsForContact
in interfaceDbAgencyInterestsHandler
- Throws:
SQLException
-
getInterestsForContact
public abstract DbAgencyInterest[] getInterestsForContact(Connection c, long[] contactEntryIds) throws SQLException
- Specified by:
getInterestsForContact
in interfaceDbAgencyInterestsHandler
- Throws:
SQLException
-
getInterestsForEstate
public final DbAgencyInterest[] getInterestsForEstate(Connection c, long agencyObjectId) throws SQLException
- Specified by:
getInterestsForEstate
in interfaceDbAgencyInterestsHandler
- Throws:
SQLException
-
getInterestsForEstate
public abstract DbAgencyInterest[] getInterestsForEstate(Connection c, long[] agencyObjectIds) throws SQLException
- Specified by:
getInterestsForEstate
in interfaceDbAgencyInterestsHandler
- Throws:
SQLException
-
getInterest
public final DbAgencyInterest getInterest(Connection c, long id) throws SQLException
- Specified by:
getInterest
in interfaceDbAgencyInterestsHandler
- Throws:
SQLException
-
getInterestIds
public final long[] getInterestIds(Connection c) throws SQLException
- Specified by:
getInterestIds
in interfaceDbAgencyInterestsHandler
- Throws:
SQLException
-
getInterestIds
public abstract long[] getInterestIds(Connection c, DbAgencyInterest.Status status) throws SQLException
- Specified by:
getInterestIds
in interfaceDbAgencyInterestsHandler
- Throws:
SQLException
-
getInterestIdsForContact
public final long[] getInterestIdsForContact(Connection c, long contactEntryId) throws SQLException
- Specified by:
getInterestIdsForContact
in interfaceDbAgencyInterestsHandler
- Throws:
SQLException
-
getInterestIdsForContact
public abstract long[] getInterestIdsForContact(Connection c, long[] contactEntryIds) throws SQLException
- Specified by:
getInterestIdsForContact
in interfaceDbAgencyInterestsHandler
- Throws:
SQLException
-
getInterestIdsForEstate
public final long[] getInterestIdsForEstate(Connection c, long agencyObjectId) throws SQLException
- Specified by:
getInterestIdsForEstate
in interfaceDbAgencyInterestsHandler
- Throws:
SQLException
-
getInterestIdsForEstate
public abstract long[] getInterestIdsForEstate(Connection c, long[] agencyObjectIds) throws SQLException
- Specified by:
getInterestIdsForEstate
in interfaceDbAgencyInterestsHandler
- Throws:
SQLException
-
loadInterestOffers
public final void loadInterestOffers(Connection c, DbAgencyInterest interests) throws SQLException
- Specified by:
loadInterestOffers
in interfaceDbAgencyInterestsHandler
- Throws:
SQLException
-
loadInterestOffers
public abstract void loadInterestOffers(Connection c, DbAgencyInterest[] interests) throws SQLException
- Specified by:
loadInterestOffers
in interfaceDbAgencyInterestsHandler
- Throws:
SQLException
-
removeInterest
public final void removeInterest(Connection c, long id) throws SQLException
- Specified by:
removeInterest
in interfaceDbAgencyInterestsHandler
- Throws:
SQLException
-
removeInterests
public abstract void removeInterests(Connection c, long[] ids) throws SQLException
- Specified by:
removeInterests
in interfaceDbAgencyInterestsHandler
- Throws:
SQLException
-
removeInterestOffer
public final void removeInterestOffer(Connection c, long interestId, long agencyObjectId) throws SQLException
- Specified by:
removeInterestOffer
in interfaceDbAgencyInterestsHandler
- Throws:
SQLException
-
removeInterestOffers
public abstract void removeInterestOffers(Connection c, long interestId, long[] agencyObjectIds) throws SQLException
- Specified by:
removeInterestOffers
in interfaceDbAgencyInterestsHandler
- Throws:
SQLException
-
saveInterest
public abstract void saveInterest(Connection c, DbAgencyInterest interest) throws SQLException
- Specified by:
saveInterest
in interfaceDbAgencyInterestsHandler
- Throws:
SQLException
-
saveInterestOffer
public final void saveInterestOffer(Connection c, DbAgencyInterestOffer offer) throws SQLException
- Specified by:
saveInterestOffer
in interfaceDbAgencyInterestsHandler
- Throws:
SQLException
-
saveInterestOffers
public abstract void saveInterestOffers(Connection c, DbAgencyInterestOffer[] offers) throws SQLException
- Specified by:
saveInterestOffers
in interfaceDbAgencyInterestsHandler
- Throws:
SQLException
-
-