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 String
FIELD_EXPOSE_ID
static String
FIELD_EXPOSE_NAME
static String
FIELD_EXPOSE_TYPE
static String
FIELD_FILE_CONTENT
static String
FIELD_FILE_ID
static String
FIELD_FILE_MIMETYPE
static String
FIELD_FILE_NAME
static String
FIELD_SETTING_KEY
static String
FIELD_SETTING_VALUE
static String
PROC_REMOVE_EXPOSES
static String
PROC_REMOVE_EXPOSES_FILES
static String
PROC_REMOVE_EXPOSES_SETTINGS
static String
PROC_SAVE_EXPOSES
static String
PROC_SAVE_EXPOSES_FILES
static String
PROC_SAVE_EXPOSES_SETTINGS
static String
TABLE_EXPOSES
static String
TABLE_EXPOSES_FILES
static String
TABLE_EXPOSES_SETTINGS
static String
VIEW_EXPOSES
static String
VIEW_EXPOSES_FILES
static String
VIEW_EXPOSES_FILES_CONTENT
static String
VIEW_EXPOSES_SETTINGS
-
Constructor Summary
Constructors Constructor Description HSqlDbAgencyExposesHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
downloadExposeFile(Connection c, long fileId, OutputStream output)
DbAgencyExposeFile
getExposeFile(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)
void
loadExposeSettings(Connection c, DbAgencyExpose[] exposes)
void
removeExposeFiles(Connection c, long[] ids)
void
removeExposes(Connection c, long[] ids)
void
saveExpose(Connection c, DbAgencyExpose expose)
void
saveExposeFile(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:
downloadExposeFile
in interfaceDbAgencyExposesHandler
- Specified by:
downloadExposeFile
in classDbAgencyExposesHandlerImpl
- Throws:
SQLException
IOException
-
getExposes
public DbAgencyExpose[] getExposes(Connection c, long[] ids) throws SQLException
- Specified by:
getExposes
in interfaceDbAgencyExposesHandler
- Specified by:
getExposes
in classDbAgencyExposesHandlerImpl
- Throws:
SQLException
-
getExposeFile
public DbAgencyExposeFile getExposeFile(Connection c, long exposeId, String name) throws SQLException
- Specified by:
getExposeFile
in interfaceDbAgencyExposesHandler
- Specified by:
getExposeFile
in classDbAgencyExposesHandlerImpl
- Throws:
SQLException
-
getExposeFiles
public DbAgencyExposeFile[] getExposeFiles(Connection c, long exposeId) throws SQLException
- Specified by:
getExposeFiles
in interfaceDbAgencyExposesHandler
- Specified by:
getExposeFiles
in classDbAgencyExposesHandlerImpl
- Throws:
SQLException
-
getExposeFiles
public DbAgencyExposeFile[] getExposeFiles(Connection c, long[] ids) throws SQLException
- Specified by:
getExposeFiles
in interfaceDbAgencyExposesHandler
- Specified by:
getExposeFiles
in classDbAgencyExposesHandlerImpl
- Throws:
SQLException
-
getExposeFileIds
public long[] getExposeFileIds(Connection c, long exposeId) throws SQLException
- Specified by:
getExposeFileIds
in interfaceDbAgencyExposesHandler
- Specified by:
getExposeFileIds
in classDbAgencyExposesHandlerImpl
- Throws:
SQLException
-
getExposeIds
public long[] getExposeIds(Connection c) throws SQLException
- Specified by:
getExposeIds
in interfaceDbAgencyExposesHandler
- Specified by:
getExposeIds
in classDbAgencyExposesHandlerImpl
- Throws:
SQLException
-
loadExposeSettings
public void loadExposeSettings(Connection c, DbAgencyExpose[] exposes) throws SQLException
- Specified by:
loadExposeSettings
in interfaceDbAgencyExposesHandler
- Specified by:
loadExposeSettings
in classDbAgencyExposesHandlerImpl
- Throws:
SQLException
-
removeExposes
public void removeExposes(Connection c, long[] ids) throws SQLException
- Specified by:
removeExposes
in interfaceDbAgencyExposesHandler
- Specified by:
removeExposes
in classDbAgencyExposesHandlerImpl
- Throws:
SQLException
-
removeExposeFiles
public void removeExposeFiles(Connection c, long[] ids) throws SQLException
- Specified by:
removeExposeFiles
in interfaceDbAgencyExposesHandler
- Specified by:
removeExposeFiles
in classDbAgencyExposesHandlerImpl
- Throws:
SQLException
-
saveExpose
public void saveExpose(Connection c, DbAgencyExpose expose) throws SQLException
- Specified by:
saveExpose
in interfaceDbAgencyExposesHandler
- Specified by:
saveExpose
in classDbAgencyExposesHandlerImpl
- Throws:
SQLException
-
saveExposeFile
public void saveExposeFile(Connection c, DbAgencyExposeFile file) throws SQLException, IOException
- Specified by:
saveExposeFile
in interfaceDbAgencyExposesHandler
- Specified by:
saveExposeFile
in classDbAgencyExposesHandlerImpl
- Throws:
SQLException
IOException
-
-