public abstract class DbAgencyInterestsHandlerImpl extends Object implements DbAgencyInterestsHandler
Constructor and Description |
---|
DbAgencyInterestsHandlerImpl() |
protected DbAgencyInterest buildInterest()
protected DbAgencyInterestOffer buildInterestOffer()
public final DbAgencyInterest[] getInterests(Connection c) throws SQLException
getInterests
in interface DbAgencyInterestsHandler
SQLException
public abstract DbAgencyInterest[] getInterests(Connection c, long[] ids) throws SQLException
getInterests
in interface DbAgencyInterestsHandler
SQLException
public abstract DbAgencyInterest[] getInterests(Connection c, DbAgencyInterest.Status status) throws SQLException
getInterests
in interface DbAgencyInterestsHandler
SQLException
public final DbAgencyInterest[] getInterestsForContact(Connection c, long contactEntryId) throws SQLException
getInterestsForContact
in interface DbAgencyInterestsHandler
SQLException
public abstract DbAgencyInterest[] getInterestsForContact(Connection c, long[] contactEntryIds) throws SQLException
getInterestsForContact
in interface DbAgencyInterestsHandler
SQLException
public final DbAgencyInterest[] getInterestsForEstate(Connection c, long agencyObjectId) throws SQLException
getInterestsForEstate
in interface DbAgencyInterestsHandler
SQLException
public abstract DbAgencyInterest[] getInterestsForEstate(Connection c, long[] agencyObjectIds) throws SQLException
getInterestsForEstate
in interface DbAgencyInterestsHandler
SQLException
public final DbAgencyInterest getInterest(Connection c, long id) throws SQLException
getInterest
in interface DbAgencyInterestsHandler
SQLException
public final long[] getInterestIds(Connection c) throws SQLException
getInterestIds
in interface DbAgencyInterestsHandler
SQLException
public abstract long[] getInterestIds(Connection c, DbAgencyInterest.Status status) throws SQLException
getInterestIds
in interface DbAgencyInterestsHandler
SQLException
public final long[] getInterestIdsForContact(Connection c, long contactEntryId) throws SQLException
getInterestIdsForContact
in interface DbAgencyInterestsHandler
SQLException
public abstract long[] getInterestIdsForContact(Connection c, long[] contactEntryIds) throws SQLException
getInterestIdsForContact
in interface DbAgencyInterestsHandler
SQLException
public final long[] getInterestIdsForEstate(Connection c, long agencyObjectId) throws SQLException
getInterestIdsForEstate
in interface DbAgencyInterestsHandler
SQLException
public abstract long[] getInterestIdsForEstate(Connection c, long[] agencyObjectIds) throws SQLException
getInterestIdsForEstate
in interface DbAgencyInterestsHandler
SQLException
public final void loadInterestOffers(Connection c, DbAgencyInterest interests) throws SQLException
loadInterestOffers
in interface DbAgencyInterestsHandler
SQLException
public abstract void loadInterestOffers(Connection c, DbAgencyInterest[] interests) throws SQLException
loadInterestOffers
in interface DbAgencyInterestsHandler
SQLException
public final void removeInterest(Connection c, long id) throws SQLException
removeInterest
in interface DbAgencyInterestsHandler
SQLException
public abstract void removeInterests(Connection c, long[] ids) throws SQLException
removeInterests
in interface DbAgencyInterestsHandler
SQLException
public final void removeInterestOffer(Connection c, long interestId, long agencyObjectId) throws SQLException
removeInterestOffer
in interface DbAgencyInterestsHandler
SQLException
public abstract void removeInterestOffers(Connection c, long interestId, long[] agencyObjectIds) throws SQLException
removeInterestOffers
in interface DbAgencyInterestsHandler
SQLException
public abstract void saveInterest(Connection c, DbAgencyInterest interest) throws SQLException
saveInterest
in interface DbAgencyInterestsHandler
SQLException
public final void saveInterestOffer(Connection c, DbAgencyInterestOffer offer) throws SQLException
saveInterestOffer
in interface DbAgencyInterestsHandler
SQLException
public abstract void saveInterestOffers(Connection c, DbAgencyInterestOffer[] offers) throws SQLException
saveInterestOffers
in interface DbAgencyInterestsHandler
SQLException
Copyright © 2015 OpenEstate. All rights reserved.