public class HSqlDbAgencyInterestsHandler extends DbAgencyInterestsHandlerImpl
Modifier and Type | Field and Description |
---|---|
static String |
PROC_REMOVE_INTERESTS |
static String |
PROC_REMOVE_INTERESTS_OFFERS |
static String |
PROC_SAVE_INTERESTS |
static String |
PROC_SAVE_INTERESTS_OFFERS |
static String |
VIEW_INTERESTS |
static String |
VIEW_INTERESTS_OFFERS |
Constructor and Description |
---|
HSqlDbAgencyInterestsHandler() |
Modifier and Type | Method and Description |
---|---|
long[] |
getInterestIds(Connection c,
DbAgencyInterest.Status status) |
long[] |
getInterestIdsForContact(Connection c,
long[] contactEntryIds) |
long[] |
getInterestIdsForEstate(Connection c,
long[] agencyObjectIds) |
DbAgencyInterest[] |
getInterests(Connection c,
DbAgencyInterest.Status status) |
DbAgencyInterest[] |
getInterests(Connection c,
long[] ids) |
DbAgencyInterest[] |
getInterestsForContact(Connection c,
long[] contactEntryIds) |
DbAgencyInterest[] |
getInterestsForEstate(Connection c,
long[] agencyObjectIds) |
void |
loadInterestOffers(Connection c,
DbAgencyInterest[] interests) |
void |
removeInterestOffers(Connection c,
long interestId,
long[] agencyObjectIds) |
void |
removeInterests(Connection c,
long[] ids) |
void |
saveInterest(Connection c,
DbAgencyInterest interest) |
void |
saveInterestOffers(Connection c,
DbAgencyInterestOffer[] offers) |
buildInterest, buildInterestOffer, getInterest, getInterestIds, getInterestIdsForContact, getInterestIdsForEstate, getInterests, getInterestsForContact, getInterestsForEstate, loadInterestOffers, removeInterest, removeInterestOffer, saveInterestOffer
public static final String VIEW_INTERESTS
public static final String VIEW_INTERESTS_OFFERS
public static final String PROC_REMOVE_INTERESTS
public static final String PROC_REMOVE_INTERESTS_OFFERS
public static final String PROC_SAVE_INTERESTS
public static final String PROC_SAVE_INTERESTS_OFFERS
public DbAgencyInterest[] getInterests(Connection c, long[] ids) throws SQLException
getInterests
in interface DbAgencyInterestsHandler
getInterests
in class DbAgencyInterestsHandlerImpl
SQLException
public DbAgencyInterest[] getInterests(Connection c, DbAgencyInterest.Status status) throws SQLException
getInterests
in interface DbAgencyInterestsHandler
getInterests
in class DbAgencyInterestsHandlerImpl
SQLException
public DbAgencyInterest[] getInterestsForContact(Connection c, long[] contactEntryIds) throws SQLException
getInterestsForContact
in interface DbAgencyInterestsHandler
getInterestsForContact
in class DbAgencyInterestsHandlerImpl
SQLException
public DbAgencyInterest[] getInterestsForEstate(Connection c, long[] agencyObjectIds) throws SQLException
getInterestsForEstate
in interface DbAgencyInterestsHandler
getInterestsForEstate
in class DbAgencyInterestsHandlerImpl
SQLException
public long[] getInterestIds(Connection c, DbAgencyInterest.Status status) throws SQLException
getInterestIds
in interface DbAgencyInterestsHandler
getInterestIds
in class DbAgencyInterestsHandlerImpl
SQLException
public long[] getInterestIdsForContact(Connection c, long[] contactEntryIds) throws SQLException
getInterestIdsForContact
in interface DbAgencyInterestsHandler
getInterestIdsForContact
in class DbAgencyInterestsHandlerImpl
SQLException
public long[] getInterestIdsForEstate(Connection c, long[] agencyObjectIds) throws SQLException
getInterestIdsForEstate
in interface DbAgencyInterestsHandler
getInterestIdsForEstate
in class DbAgencyInterestsHandlerImpl
SQLException
public void loadInterestOffers(Connection c, DbAgencyInterest[] interests) throws SQLException
loadInterestOffers
in interface DbAgencyInterestsHandler
loadInterestOffers
in class DbAgencyInterestsHandlerImpl
SQLException
public void removeInterests(Connection c, long[] ids) throws SQLException
removeInterests
in interface DbAgencyInterestsHandler
removeInterests
in class DbAgencyInterestsHandlerImpl
SQLException
public void removeInterestOffers(Connection c, long interestId, long[] agencyObjectIds) throws SQLException
removeInterestOffers
in interface DbAgencyInterestsHandler
removeInterestOffers
in class DbAgencyInterestsHandlerImpl
SQLException
public void saveInterest(Connection c, DbAgencyInterest interest) throws SQLException
saveInterest
in interface DbAgencyInterestsHandler
saveInterest
in class DbAgencyInterestsHandlerImpl
SQLException
public void saveInterestOffers(Connection c, DbAgencyInterestOffer[] offers) throws SQLException
saveInterestOffers
in interface DbAgencyInterestsHandler
saveInterestOffers
in class DbAgencyInterestsHandlerImpl
SQLException
Copyright © 2015 OpenEstate. All rights reserved.