Class HSqlDbAgencyBrokeringsHandler
- java.lang.Object
-
- com.openindex.openestate.tool.agency.addons.contacts.db.DbAgencyBrokeringsHandlerImpl
-
- com.openindex.openestate.tool.agency.addons.contacts.db.hsql.HSqlDbAgencyBrokeringsHandler
-
- All Implemented Interfaces:
DbAgencyBrokeringsHandler
public class HSqlDbAgencyBrokeringsHandler extends DbAgencyBrokeringsHandlerImpl
HSqlDbAgencyBrokeringsHandler.- Author:
- Andreas Rudolph
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROC_REMOVE_BROKERINGSstatic StringPROC_SAVE_BROKERINGSstatic StringVIEW_BROKERINGS
-
Constructor Summary
Constructors Constructor Description HSqlDbAgencyBrokeringsHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long[]getBrokeringIds(Connection c, DbAgencyObject.Status status, long[] contactEntryIds, long[] agencyObjectIds)DbAgencyBrokering[]getBrokerings(Connection c, long[] ids)DbAgencyBrokering[]getBrokeringsForContact(Connection c, long[] contactEntryIds)DbAgencyBrokering[]getBrokeringsForObject(Connection c, long[] agencyObjectIds)long[]getUnBrokeredObjectIds(Connection c)voidremoveBrokerings(Connection c, long[] ids)voidsaveBrokering(Connection c, DbAgencyBrokering brokering)-
Methods inherited from class com.openindex.openestate.tool.agency.addons.contacts.db.DbAgencyBrokeringsHandlerImpl
buildBrokering, getBrokering, getBrokeringForObject, getBrokeringIds, getBrokerings, getBrokeringsForContact, removeBrokering
-
-
-
-
Field Detail
-
VIEW_BROKERINGS
public static final String VIEW_BROKERINGS
- See Also:
- Constant Field Values
-
PROC_REMOVE_BROKERINGS
public static final String PROC_REMOVE_BROKERINGS
- See Also:
- Constant Field Values
-
PROC_SAVE_BROKERINGS
public static final String PROC_SAVE_BROKERINGS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBrokerings
public DbAgencyBrokering[] getBrokerings(Connection c, long[] ids) throws SQLException
- Specified by:
getBrokeringsin interfaceDbAgencyBrokeringsHandler- Specified by:
getBrokeringsin classDbAgencyBrokeringsHandlerImpl- Throws:
SQLException
-
getBrokeringsForContact
public DbAgencyBrokering[] getBrokeringsForContact(Connection c, long[] contactEntryIds) throws SQLException
- Specified by:
getBrokeringsForContactin interfaceDbAgencyBrokeringsHandler- Specified by:
getBrokeringsForContactin classDbAgencyBrokeringsHandlerImpl- Throws:
SQLException
-
getBrokeringsForObject
public DbAgencyBrokering[] getBrokeringsForObject(Connection c, long[] agencyObjectIds) throws SQLException
- Specified by:
getBrokeringsForObjectin interfaceDbAgencyBrokeringsHandler- Specified by:
getBrokeringsForObjectin classDbAgencyBrokeringsHandlerImpl- Throws:
SQLException
-
getBrokeringIds
public long[] getBrokeringIds(Connection c, DbAgencyObject.Status status, long[] contactEntryIds, long[] agencyObjectIds) throws SQLException
- Specified by:
getBrokeringIdsin interfaceDbAgencyBrokeringsHandler- Specified by:
getBrokeringIdsin classDbAgencyBrokeringsHandlerImpl- Throws:
SQLException
-
getUnBrokeredObjectIds
public long[] getUnBrokeredObjectIds(Connection c) throws SQLException
- Specified by:
getUnBrokeredObjectIdsin interfaceDbAgencyBrokeringsHandler- Specified by:
getUnBrokeredObjectIdsin classDbAgencyBrokeringsHandlerImpl- Throws:
SQLException
-
removeBrokerings
public void removeBrokerings(Connection c, long[] ids) throws SQLException
- Specified by:
removeBrokeringsin interfaceDbAgencyBrokeringsHandler- Specified by:
removeBrokeringsin classDbAgencyBrokeringsHandlerImpl- Throws:
SQLException
-
saveBrokering
public void saveBrokering(Connection c, DbAgencyBrokering brokering) throws SQLException
- Specified by:
saveBrokeringin interfaceDbAgencyBrokeringsHandler- Specified by:
saveBrokeringin classDbAgencyBrokeringsHandlerImpl- Throws:
SQLException
-
-