Class DbCalendarHandlerImpl
- java.lang.Object
-
- com.openindex.openestate.tool.calendar.db.DbCalendarHandlerImpl
-
- All Implemented Interfaces:
DbCalendarHandler
- Direct Known Subclasses:
HSqlDbCalendarHandler
public abstract class DbCalendarHandlerImpl extends Object implements DbCalendarHandler
DbCalendarHandler.- Author:
- Andreas Rudolph
-
-
Constructor Summary
Constructors Constructor Description DbCalendarHandlerImpl()
-
Method Summary
-
-
-
Method Detail
-
getEntries
public final DbCalendarEntry[] getEntries(Connection c) throws SQLException
- Specified by:
getEntriesin interfaceDbCalendarHandler- Throws:
SQLException
-
getEntries
public abstract DbCalendarEntry[] getEntries(Connection c, long[] ids) throws SQLException
- Specified by:
getEntriesin interfaceDbCalendarHandler- Throws:
SQLException
-
getEntries
public abstract DbCalendarEntry[] getEntries(Connection c, long groupId, String[] uids) throws SQLException
- Specified by:
getEntriesin interfaceDbCalendarHandler- Throws:
SQLException
-
getEntries
public abstract 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- Throws:
SQLException
-
getEntries
public final DbCalendarEntry[] getEntries(Connection c, String keyword, int limit) throws SQLException
- Specified by:
getEntriesin interfaceDbCalendarHandler- Throws:
SQLException
-
getEntries
public final DbCalendarEntry[] getEntries(Connection c, String keyword, long groupId, int limit) throws SQLException
- Specified by:
getEntriesin interfaceDbCalendarHandler- Throws:
SQLException
-
getEntries
public abstract DbCalendarEntry[] getEntries(Connection c, String keyword, long[] groupIds, int limit) throws SQLException
- Specified by:
getEntriesin interfaceDbCalendarHandler- Throws:
SQLException
-
getEntry
public final DbCalendarEntry getEntry(Connection c, long id) throws SQLException
- Specified by:
getEntryin interfaceDbCalendarHandler- Throws:
SQLException
-
getEntry
public final DbCalendarEntry getEntry(Connection c, long groupId, String uid) throws SQLException
- Specified by:
getEntryin interfaceDbCalendarHandler- Throws:
SQLException
-
getEntryIds
public final long[] getEntryIds(Connection c) throws SQLException
- Specified by:
getEntryIdsin interfaceDbCalendarHandler- Throws:
SQLException
-
getEntryIds
public abstract long[] getEntryIds(Connection c, long[] groupIds) throws SQLException
- Specified by:
getEntryIdsin interfaceDbCalendarHandler- Throws:
SQLException
-
getGroup
public final DbCalendarGroup getGroup(Connection c, long id) throws SQLException
- Specified by:
getGroupin interfaceDbCalendarHandler- Throws:
SQLException
-
getGroups
public final DbCalendarGroup[] getGroups(Connection c) throws SQLException
- Specified by:
getGroupsin interfaceDbCalendarHandler- Throws:
SQLException
-
getGroups
public abstract DbCalendarGroup[] getGroups(Connection c, long[] ids) throws SQLException
- Specified by:
getGroupsin interfaceDbCalendarHandler- Throws:
SQLException
-
getGroupEntries
public final DbCalendarEntry[] getGroupEntries(Connection c, long groupId) throws SQLException
- Specified by:
getGroupEntriesin interfaceDbCalendarHandler- Throws:
SQLException
-
getGroupEntries
public final DbCalendarEntry[] getGroupEntries(Connection c, long[] groupIds) throws SQLException
- Specified by:
getGroupEntriesin interfaceDbCalendarHandler- Throws:
SQLException
-
getGroupIds
public abstract long[] getGroupIds(Connection c) throws SQLException
- Specified by:
getGroupIdsin interfaceDbCalendarHandler- Throws:
SQLException
-
removeEntry
public final void removeEntry(Connection c, long id) throws SQLException
- Specified by:
removeEntryin interfaceDbCalendarHandler- Throws:
SQLException
-
removeEntries
public abstract void removeEntries(Connection c, long[] ids) throws SQLException
- Specified by:
removeEntriesin interfaceDbCalendarHandler- Throws:
SQLException
-
removeGroup
public final void removeGroup(Connection c, long id) throws SQLException
- Specified by:
removeGroupin interfaceDbCalendarHandler- Throws:
SQLException
-
removeGroups
public abstract void removeGroups(Connection c, long[] ids) throws SQLException
- Specified by:
removeGroupsin interfaceDbCalendarHandler- Throws:
SQLException
-
saveEntry
public abstract void saveEntry(Connection c, DbCalendarEntry entry) throws SQLException
- Specified by:
saveEntryin interfaceDbCalendarHandler- Throws:
SQLException
-
saveGroup
public abstract void saveGroup(Connection c, DbCalendarGroup group) throws SQLException
- Specified by:
saveGroupin interfaceDbCalendarHandler- Throws:
SQLException
-
-