public class HSqlDbCalendarHandler extends DbCalendarHandlerImpl
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_ENTRY_BEGIN |
static String |
FIELD_ENTRY_END |
static String |
FIELD_ENTRY_ICAL |
static String |
FIELD_ENTRY_ID |
static String |
FIELD_ENTRY_NOTES |
static String |
FIELD_ENTRY_STATUS |
static String |
FIELD_ENTRY_TITLE |
static String |
FIELD_ENTRY_TYPE |
static String |
FIELD_ENTRY_UID |
static String |
FIELD_GROUP_AUTH_METHOD |
static String |
FIELD_GROUP_AUTH_PASS |
static String |
FIELD_GROUP_AUTH_USER |
static String |
FIELD_GROUP_ID |
static String |
FIELD_GROUP_NAME |
static String |
FIELD_GROUP_NOTES |
static String |
FIELD_GROUP_TYPE |
static String |
FIELD_GROUP_URL |
static String |
PROC_REMOVE_ENTRIES |
static String |
PROC_REMOVE_GROUPS |
static String |
PROC_SAVE_ENTRIES |
static String |
PROC_SAVE_GROUPS |
static String |
TABLE_ENTRIES |
static String |
TABLE_GROUPS |
static String |
VIEW_ENTRIES |
static String |
VIEW_GROUPS |
Constructor and Description |
---|
HSqlDbCalendarHandler() |
Modifier and Type | Method and Description |
---|---|
DbCalendarEntry[] |
getEntries(Connection c,
long[] ids) |
DbCalendarEntry[] |
getEntries(Connection c,
long groupId,
String[] uids) |
DbCalendarEntry[] |
getEntries(Connection c,
net.fortuna.ical4j.model.property.Status[] status,
DbCalendarEntry.Type[] types,
long[] groupIds) |
DbCalendarEntry[] |
getEntries(Connection c,
String keyword,
long[] groupIds,
int limit) |
long[] |
getEntryIds(Connection c,
long[] groupIds) |
long[] |
getGroupIds(Connection c) |
DbCalendarGroup[] |
getGroups(Connection c,
long[] ids) |
void |
removeEntries(Connection c,
long[] ids) |
void |
removeGroups(Connection c,
long[] ids) |
void |
saveEntry(Connection c,
DbCalendarEntry entry) |
void |
saveGroup(Connection c,
DbCalendarGroup group) |
getEntries, getEntries, getEntries, getEntry, getEntry, getEntryIds, getGroup, getGroupEntries, getGroupEntries, getGroups, removeEntry, removeGroup
public static final String PROC_REMOVE_GROUPS
public static final String PROC_REMOVE_ENTRIES
public static final String PROC_SAVE_GROUPS
public static final String PROC_SAVE_ENTRIES
public static final String VIEW_GROUPS
public static final String VIEW_ENTRIES
public static final String TABLE_GROUPS
public static final String FIELD_GROUP_ID
public static final String FIELD_GROUP_NAME
public static final String FIELD_GROUP_NOTES
public static final String FIELD_GROUP_URL
public static final String FIELD_GROUP_TYPE
public static final String FIELD_GROUP_AUTH_METHOD
public static final String FIELD_GROUP_AUTH_USER
public static final String FIELD_GROUP_AUTH_PASS
public static final String TABLE_ENTRIES
public static final String FIELD_ENTRY_ID
public static final String FIELD_ENTRY_UID
public static final String FIELD_ENTRY_TITLE
public static final String FIELD_ENTRY_TYPE
public static final String FIELD_ENTRY_STATUS
public static final String FIELD_ENTRY_BEGIN
public static final String FIELD_ENTRY_END
public static final String FIELD_ENTRY_NOTES
public static final String FIELD_ENTRY_ICAL
public DbCalendarEntry[] getEntries(Connection c, long[] ids) throws SQLException
getEntries
in interface DbCalendarHandler
getEntries
in class DbCalendarHandlerImpl
SQLException
public DbCalendarEntry[] getEntries(Connection c, long groupId, String[] uids) throws SQLException
getEntries
in interface DbCalendarHandler
getEntries
in class DbCalendarHandlerImpl
SQLException
public DbCalendarEntry[] getEntries(Connection c, net.fortuna.ical4j.model.property.Status[] status, DbCalendarEntry.Type[] types, long[] groupIds) throws SQLException
getEntries
in interface DbCalendarHandler
getEntries
in class DbCalendarHandlerImpl
SQLException
public DbCalendarEntry[] getEntries(Connection c, String keyword, long[] groupIds, int limit) throws SQLException
getEntries
in interface DbCalendarHandler
getEntries
in class DbCalendarHandlerImpl
SQLException
public long[] getEntryIds(Connection c, long[] groupIds) throws SQLException
getEntryIds
in interface DbCalendarHandler
getEntryIds
in class DbCalendarHandlerImpl
SQLException
public DbCalendarGroup[] getGroups(Connection c, long[] ids) throws SQLException
getGroups
in interface DbCalendarHandler
getGroups
in class DbCalendarHandlerImpl
SQLException
public long[] getGroupIds(Connection c) throws SQLException
getGroupIds
in interface DbCalendarHandler
getGroupIds
in class DbCalendarHandlerImpl
SQLException
public void removeEntries(Connection c, long[] ids) throws SQLException
removeEntries
in interface DbCalendarHandler
removeEntries
in class DbCalendarHandlerImpl
SQLException
public void removeGroups(Connection c, long[] ids) throws SQLException
removeGroups
in interface DbCalendarHandler
removeGroups
in class DbCalendarHandlerImpl
SQLException
public void saveEntry(Connection c, DbCalendarEntry entry) throws SQLException
saveEntry
in interface DbCalendarHandler
saveEntry
in class DbCalendarHandlerImpl
SQLException
public void saveGroup(Connection c, DbCalendarGroup group) throws SQLException
saveGroup
in interface DbCalendarHandler
saveGroup
in class DbCalendarHandlerImpl
SQLException
Copyright © 2015 OpenEstate. All rights reserved.