Class HSqlDbCalendarHandler
- java.lang.Object
-
- com.openindex.openestate.tool.calendar.db.DbCalendarHandlerImpl
-
- com.openindex.openestate.tool.calendar.db.hsql.HSqlDbCalendarHandler
-
- All Implemented Interfaces:
DbCalendarHandler
public class HSqlDbCalendarHandler extends DbCalendarHandlerImpl
HSqlDbCalendarHandler.- Author:
- Andreas Rudolph
-
-
Field Summary
Fields Modifier and Type Field Description static StringFIELD_ENTRY_BEGINstatic StringFIELD_ENTRY_ENDstatic StringFIELD_ENTRY_ICALstatic StringFIELD_ENTRY_IDstatic StringFIELD_ENTRY_NOTESstatic StringFIELD_ENTRY_STATUSstatic StringFIELD_ENTRY_TITLEstatic StringFIELD_ENTRY_TYPEstatic StringFIELD_ENTRY_UIDstatic StringFIELD_GROUP_AUTH_METHODstatic StringFIELD_GROUP_AUTH_PASSstatic StringFIELD_GROUP_AUTH_USERstatic StringFIELD_GROUP_IDstatic StringFIELD_GROUP_NAMEstatic StringFIELD_GROUP_NOTESstatic StringFIELD_GROUP_TYPEstatic StringFIELD_GROUP_URLstatic StringPROC_REMOVE_ENTRIESstatic StringPROC_REMOVE_GROUPSstatic StringPROC_SAVE_ENTRIESstatic StringPROC_SAVE_GROUPSstatic StringTABLE_ENTRIESstatic StringTABLE_GROUPSstatic StringVIEW_ENTRIESstatic StringVIEW_GROUPS
-
Constructor Summary
Constructors Constructor Description HSqlDbCalendarHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DbCalendarEntry[]getEntries(Connection c, long[] ids)DbCalendarEntry[]getEntries(Connection c, long groupId, String[] uids)DbCalendarEntry[]getEntries(Connection c, String keyword, long[] groupIds, int limit)DbCalendarEntry[]getEntries(Connection c, net.fortuna.ical4j.model.property.Status[] status, DbCalendarEntry.Type[] types, long[] groupIds, Date begin, Date end)long[]getEntryIds(Connection c, long[] groupIds)long[]getGroupIds(Connection c)DbCalendarGroup[]getGroups(Connection c, long[] ids)voidremoveEntries(Connection c, long[] ids)voidremoveGroups(Connection c, long[] ids)voidsaveEntry(Connection c, DbCalendarEntry entry)voidsaveGroup(Connection c, DbCalendarGroup group)-
Methods inherited from class com.openindex.openestate.tool.calendar.db.DbCalendarHandlerImpl
getEntries, getEntries, getEntries, getEntry, getEntry, getEntryIds, getGroup, getGroupEntries, getGroupEntries, getGroups, removeEntry, removeGroup
-
-
-
-
Field Detail
-
PROC_REMOVE_GROUPS
public static final String PROC_REMOVE_GROUPS
- See Also:
- Constant Field Values
-
PROC_REMOVE_ENTRIES
public static final String PROC_REMOVE_ENTRIES
- See Also:
- Constant Field Values
-
PROC_SAVE_GROUPS
public static final String PROC_SAVE_GROUPS
- See Also:
- Constant Field Values
-
PROC_SAVE_ENTRIES
public static final String PROC_SAVE_ENTRIES
- See Also:
- Constant Field Values
-
VIEW_GROUPS
public static final String VIEW_GROUPS
- See Also:
- Constant Field Values
-
VIEW_ENTRIES
public static final String VIEW_ENTRIES
- See Also:
- Constant Field Values
-
TABLE_GROUPS
public static final String TABLE_GROUPS
- See Also:
- Constant Field Values
-
FIELD_GROUP_ID
public static final String FIELD_GROUP_ID
- See Also:
- Constant Field Values
-
FIELD_GROUP_NAME
public static final String FIELD_GROUP_NAME
- See Also:
- Constant Field Values
-
FIELD_GROUP_NOTES
public static final String FIELD_GROUP_NOTES
- See Also:
- Constant Field Values
-
FIELD_GROUP_URL
public static final String FIELD_GROUP_URL
- See Also:
- Constant Field Values
-
FIELD_GROUP_TYPE
public static final String FIELD_GROUP_TYPE
- See Also:
- Constant Field Values
-
FIELD_GROUP_AUTH_METHOD
public static final String FIELD_GROUP_AUTH_METHOD
- See Also:
- Constant Field Values
-
FIELD_GROUP_AUTH_USER
public static final String FIELD_GROUP_AUTH_USER
- See Also:
- Constant Field Values
-
FIELD_GROUP_AUTH_PASS
public static final String FIELD_GROUP_AUTH_PASS
- See Also:
- Constant Field Values
-
TABLE_ENTRIES
public static final String TABLE_ENTRIES
- See Also:
- Constant Field Values
-
FIELD_ENTRY_ID
public static final String FIELD_ENTRY_ID
- See Also:
- Constant Field Values
-
FIELD_ENTRY_UID
public static final String FIELD_ENTRY_UID
- See Also:
- Constant Field Values
-
FIELD_ENTRY_TITLE
public static final String FIELD_ENTRY_TITLE
- See Also:
- Constant Field Values
-
FIELD_ENTRY_TYPE
public static final String FIELD_ENTRY_TYPE
- See Also:
- Constant Field Values
-
FIELD_ENTRY_STATUS
public static final String FIELD_ENTRY_STATUS
- See Also:
- Constant Field Values
-
FIELD_ENTRY_BEGIN
public static final String FIELD_ENTRY_BEGIN
- See Also:
- Constant Field Values
-
FIELD_ENTRY_END
public static final String FIELD_ENTRY_END
- See Also:
- Constant Field Values
-
FIELD_ENTRY_NOTES
public static final String FIELD_ENTRY_NOTES
- See Also:
- Constant Field Values
-
FIELD_ENTRY_ICAL
public static final String FIELD_ENTRY_ICAL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getEntries
public DbCalendarEntry[] getEntries(Connection c, long[] ids) throws SQLException
- Specified by:
getEntriesin interfaceDbCalendarHandler- Specified by:
getEntriesin classDbCalendarHandlerImpl- Throws:
SQLException
-
getEntries
public DbCalendarEntry[] getEntries(Connection c, long groupId, String[] uids) throws SQLException
- Specified by:
getEntriesin interfaceDbCalendarHandler- Specified by:
getEntriesin classDbCalendarHandlerImpl- Throws:
SQLException
-
getEntries
public DbCalendarEntry[] getEntries(Connection c, net.fortuna.ical4j.model.property.Status[] status, DbCalendarEntry.Type[] types, long[] groupIds, Date begin, Date end) throws SQLException
- Specified by:
getEntriesin interfaceDbCalendarHandler- Specified by:
getEntriesin classDbCalendarHandlerImpl- Throws:
SQLException
-
getEntries
public DbCalendarEntry[] getEntries(Connection c, String keyword, long[] groupIds, int limit) throws SQLException
- Specified by:
getEntriesin interfaceDbCalendarHandler- Specified by:
getEntriesin classDbCalendarHandlerImpl- Throws:
SQLException
-
getEntryIds
public long[] getEntryIds(Connection c, long[] groupIds) throws SQLException
- Specified by:
getEntryIdsin interfaceDbCalendarHandler- Specified by:
getEntryIdsin classDbCalendarHandlerImpl- Throws:
SQLException
-
getGroups
public DbCalendarGroup[] getGroups(Connection c, long[] ids) throws SQLException
- Specified by:
getGroupsin interfaceDbCalendarHandler- Specified by:
getGroupsin classDbCalendarHandlerImpl- Throws:
SQLException
-
getGroupIds
public long[] getGroupIds(Connection c) throws SQLException
- Specified by:
getGroupIdsin interfaceDbCalendarHandler- Specified by:
getGroupIdsin classDbCalendarHandlerImpl- Throws:
SQLException
-
removeEntries
public void removeEntries(Connection c, long[] ids) throws SQLException
- Specified by:
removeEntriesin interfaceDbCalendarHandler- Specified by:
removeEntriesin classDbCalendarHandlerImpl- Throws:
SQLException
-
removeGroups
public void removeGroups(Connection c, long[] ids) throws SQLException
- Specified by:
removeGroupsin interfaceDbCalendarHandler- Specified by:
removeGroupsin classDbCalendarHandlerImpl- Throws:
SQLException
-
saveEntry
public void saveEntry(Connection c, DbCalendarEntry entry) throws SQLException
- Specified by:
saveEntryin interfaceDbCalendarHandler- Specified by:
saveEntryin classDbCalendarHandlerImpl- Throws:
SQLException
-
saveGroup
public void saveGroup(Connection c, DbCalendarGroup group) throws SQLException
- Specified by:
saveGroupin interfaceDbCalendarHandler- Specified by:
saveGroupin classDbCalendarHandlerImpl- Throws:
SQLException
-
-