Class HSqlDbAgencyExposesHandler
- java.lang.Object
-
- com.openindex.openestate.tool.agency.db.DbAgencyExposesHandlerImpl
-
- com.openindex.openestate.tool.agency.db.hsql.HSqlDbAgencyExposesHandler
-
- All Implemented Interfaces:
DbAgencyExposesHandler
public class HSqlDbAgencyExposesHandler extends DbAgencyExposesHandlerImpl
HSqlDbAgencyExposeHandler.- Author:
- Andreas Rudolph
-
-
Field Summary
Fields Modifier and Type Field Description static StringFIELD_EXPOSE_IDstatic StringFIELD_EXPOSE_NAMEstatic StringFIELD_EXPOSE_TYPEstatic StringFIELD_FILE_CONTENTstatic StringFIELD_FILE_IDstatic StringFIELD_FILE_MIMETYPEstatic StringFIELD_FILE_NAMEstatic StringFIELD_SETTING_KEYstatic StringFIELD_SETTING_VALUEstatic StringPROC_REMOVE_EXPOSESstatic StringPROC_REMOVE_EXPOSES_FILESstatic StringPROC_REMOVE_EXPOSES_SETTINGSstatic StringPROC_SAVE_EXPOSESstatic StringPROC_SAVE_EXPOSES_FILESstatic StringPROC_SAVE_EXPOSES_SETTINGSstatic StringTABLE_EXPOSESstatic StringTABLE_EXPOSES_FILESstatic StringTABLE_EXPOSES_SETTINGSstatic StringVIEW_EXPOSESstatic StringVIEW_EXPOSES_FILESstatic StringVIEW_EXPOSES_FILES_CONTENTstatic StringVIEW_EXPOSES_SETTINGS
-
Constructor Summary
Constructors Constructor Description HSqlDbAgencyExposesHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddownloadExposeFile(Connection c, long fileId, OutputStream output)DbAgencyExposeFilegetExposeFile(Connection c, long exposeId, String name)long[]getExposeFileIds(Connection c, long exposeId)DbAgencyExposeFile[]getExposeFiles(Connection c, long exposeId)DbAgencyExposeFile[]getExposeFiles(Connection c, long[] ids)long[]getExposeIds(Connection c)DbAgencyExpose[]getExposes(Connection c, long[] ids)voidloadExposeSettings(Connection c, DbAgencyExpose[] exposes)voidremoveExposeFiles(Connection c, long[] ids)voidremoveExposes(Connection c, long[] ids)voidsaveExpose(Connection c, DbAgencyExpose expose)voidsaveExposeFile(Connection c, DbAgencyExposeFile file)-
Methods inherited from class com.openindex.openestate.tool.agency.db.DbAgencyExposesHandlerImpl
getExpose, getExposeFile, getExposes, loadExposeSettings, removeExpose, removeExposeFile
-
-
-
-
Field Detail
-
PROC_REMOVE_EXPOSES
public static final String PROC_REMOVE_EXPOSES
- See Also:
- Constant Field Values
-
PROC_REMOVE_EXPOSES_FILES
public static final String PROC_REMOVE_EXPOSES_FILES
- See Also:
- Constant Field Values
-
PROC_REMOVE_EXPOSES_SETTINGS
public static final String PROC_REMOVE_EXPOSES_SETTINGS
- See Also:
- Constant Field Values
-
PROC_SAVE_EXPOSES
public static final String PROC_SAVE_EXPOSES
- See Also:
- Constant Field Values
-
PROC_SAVE_EXPOSES_FILES
public static final String PROC_SAVE_EXPOSES_FILES
- See Also:
- Constant Field Values
-
PROC_SAVE_EXPOSES_SETTINGS
public static final String PROC_SAVE_EXPOSES_SETTINGS
- See Also:
- Constant Field Values
-
VIEW_EXPOSES
public static final String VIEW_EXPOSES
- See Also:
- Constant Field Values
-
VIEW_EXPOSES_FILES
public static final String VIEW_EXPOSES_FILES
- See Also:
- Constant Field Values
-
VIEW_EXPOSES_FILES_CONTENT
public static final String VIEW_EXPOSES_FILES_CONTENT
- See Also:
- Constant Field Values
-
VIEW_EXPOSES_SETTINGS
public static final String VIEW_EXPOSES_SETTINGS
- See Also:
- Constant Field Values
-
TABLE_EXPOSES
public static final String TABLE_EXPOSES
- See Also:
- Constant Field Values
-
FIELD_EXPOSE_ID
public static final String FIELD_EXPOSE_ID
- See Also:
- Constant Field Values
-
FIELD_EXPOSE_NAME
public static final String FIELD_EXPOSE_NAME
- See Also:
- Constant Field Values
-
FIELD_EXPOSE_TYPE
public static final String FIELD_EXPOSE_TYPE
- See Also:
- Constant Field Values
-
TABLE_EXPOSES_FILES
public static final String TABLE_EXPOSES_FILES
- See Also:
- Constant Field Values
-
FIELD_FILE_ID
public static final String FIELD_FILE_ID
- See Also:
- Constant Field Values
-
FIELD_FILE_NAME
public static final String FIELD_FILE_NAME
- See Also:
- Constant Field Values
-
FIELD_FILE_MIMETYPE
public static final String FIELD_FILE_MIMETYPE
- See Also:
- Constant Field Values
-
FIELD_FILE_CONTENT
public static final String FIELD_FILE_CONTENT
- See Also:
- Constant Field Values
-
TABLE_EXPOSES_SETTINGS
public static final String TABLE_EXPOSES_SETTINGS
- See Also:
- Constant Field Values
-
FIELD_SETTING_KEY
public static final String FIELD_SETTING_KEY
- See Also:
- Constant Field Values
-
FIELD_SETTING_VALUE
public static final String FIELD_SETTING_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
downloadExposeFile
public void downloadExposeFile(Connection c, long fileId, OutputStream output) throws SQLException, IOException
- Specified by:
downloadExposeFilein interfaceDbAgencyExposesHandler- Specified by:
downloadExposeFilein classDbAgencyExposesHandlerImpl- Throws:
SQLExceptionIOException
-
getExposes
public DbAgencyExpose[] getExposes(Connection c, long[] ids) throws SQLException
- Specified by:
getExposesin interfaceDbAgencyExposesHandler- Specified by:
getExposesin classDbAgencyExposesHandlerImpl- Throws:
SQLException
-
getExposeFile
public DbAgencyExposeFile getExposeFile(Connection c, long exposeId, String name) throws SQLException
- Specified by:
getExposeFilein interfaceDbAgencyExposesHandler- Specified by:
getExposeFilein classDbAgencyExposesHandlerImpl- Throws:
SQLException
-
getExposeFiles
public DbAgencyExposeFile[] getExposeFiles(Connection c, long exposeId) throws SQLException
- Specified by:
getExposeFilesin interfaceDbAgencyExposesHandler- Specified by:
getExposeFilesin classDbAgencyExposesHandlerImpl- Throws:
SQLException
-
getExposeFiles
public DbAgencyExposeFile[] getExposeFiles(Connection c, long[] ids) throws SQLException
- Specified by:
getExposeFilesin interfaceDbAgencyExposesHandler- Specified by:
getExposeFilesin classDbAgencyExposesHandlerImpl- Throws:
SQLException
-
getExposeFileIds
public long[] getExposeFileIds(Connection c, long exposeId) throws SQLException
- Specified by:
getExposeFileIdsin interfaceDbAgencyExposesHandler- Specified by:
getExposeFileIdsin classDbAgencyExposesHandlerImpl- Throws:
SQLException
-
getExposeIds
public long[] getExposeIds(Connection c) throws SQLException
- Specified by:
getExposeIdsin interfaceDbAgencyExposesHandler- Specified by:
getExposeIdsin classDbAgencyExposesHandlerImpl- Throws:
SQLException
-
loadExposeSettings
public void loadExposeSettings(Connection c, DbAgencyExpose[] exposes) throws SQLException
- Specified by:
loadExposeSettingsin interfaceDbAgencyExposesHandler- Specified by:
loadExposeSettingsin classDbAgencyExposesHandlerImpl- Throws:
SQLException
-
removeExposes
public void removeExposes(Connection c, long[] ids) throws SQLException
- Specified by:
removeExposesin interfaceDbAgencyExposesHandler- Specified by:
removeExposesin classDbAgencyExposesHandlerImpl- Throws:
SQLException
-
removeExposeFiles
public void removeExposeFiles(Connection c, long[] ids) throws SQLException
- Specified by:
removeExposeFilesin interfaceDbAgencyExposesHandler- Specified by:
removeExposeFilesin classDbAgencyExposesHandlerImpl- Throws:
SQLException
-
saveExpose
public void saveExpose(Connection c, DbAgencyExpose expose) throws SQLException
- Specified by:
saveExposein interfaceDbAgencyExposesHandler- Specified by:
saveExposein classDbAgencyExposesHandlerImpl- Throws:
SQLException
-
saveExposeFile
public void saveExposeFile(Connection c, DbAgencyExposeFile file) throws SQLException, IOException
- Specified by:
saveExposeFilein interfaceDbAgencyExposesHandler- Specified by:
saveExposeFilein classDbAgencyExposesHandlerImpl- Throws:
SQLExceptionIOException
-
-