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:
getEntries
in interfaceDbCalendarHandler
- Throws:
SQLException
-
getEntries
public abstract DbCalendarEntry[] getEntries(Connection c, long[] ids) throws SQLException
- Specified by:
getEntries
in interfaceDbCalendarHandler
- Throws:
SQLException
-
getEntries
public abstract DbCalendarEntry[] getEntries(Connection c, long groupId, String[] uids) throws SQLException
- Specified by:
getEntries
in 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:
getEntries
in interfaceDbCalendarHandler
- Throws:
SQLException
-
getEntries
public final DbCalendarEntry[] getEntries(Connection c, String keyword, int limit) throws SQLException
- Specified by:
getEntries
in interfaceDbCalendarHandler
- Throws:
SQLException
-
getEntries
public final DbCalendarEntry[] getEntries(Connection c, String keyword, long groupId, int limit) throws SQLException
- Specified by:
getEntries
in interfaceDbCalendarHandler
- Throws:
SQLException
-
getEntries
public abstract DbCalendarEntry[] getEntries(Connection c, String keyword, long[] groupIds, int limit) throws SQLException
- Specified by:
getEntries
in interfaceDbCalendarHandler
- Throws:
SQLException
-
getEntry
public final DbCalendarEntry getEntry(Connection c, long id) throws SQLException
- Specified by:
getEntry
in interfaceDbCalendarHandler
- Throws:
SQLException
-
getEntry
public final DbCalendarEntry getEntry(Connection c, long groupId, String uid) throws SQLException
- Specified by:
getEntry
in interfaceDbCalendarHandler
- Throws:
SQLException
-
getEntryIds
public final long[] getEntryIds(Connection c) throws SQLException
- Specified by:
getEntryIds
in interfaceDbCalendarHandler
- Throws:
SQLException
-
getEntryIds
public abstract long[] getEntryIds(Connection c, long[] groupIds) throws SQLException
- Specified by:
getEntryIds
in interfaceDbCalendarHandler
- Throws:
SQLException
-
getGroup
public final DbCalendarGroup getGroup(Connection c, long id) throws SQLException
- Specified by:
getGroup
in interfaceDbCalendarHandler
- Throws:
SQLException
-
getGroups
public final DbCalendarGroup[] getGroups(Connection c) throws SQLException
- Specified by:
getGroups
in interfaceDbCalendarHandler
- Throws:
SQLException
-
getGroups
public abstract DbCalendarGroup[] getGroups(Connection c, long[] ids) throws SQLException
- Specified by:
getGroups
in interfaceDbCalendarHandler
- Throws:
SQLException
-
getGroupEntries
public final DbCalendarEntry[] getGroupEntries(Connection c, long groupId) throws SQLException
- Specified by:
getGroupEntries
in interfaceDbCalendarHandler
- Throws:
SQLException
-
getGroupEntries
public final DbCalendarEntry[] getGroupEntries(Connection c, long[] groupIds) throws SQLException
- Specified by:
getGroupEntries
in interfaceDbCalendarHandler
- Throws:
SQLException
-
getGroupIds
public abstract long[] getGroupIds(Connection c) throws SQLException
- Specified by:
getGroupIds
in interfaceDbCalendarHandler
- Throws:
SQLException
-
removeEntry
public final void removeEntry(Connection c, long id) throws SQLException
- Specified by:
removeEntry
in interfaceDbCalendarHandler
- Throws:
SQLException
-
removeEntries
public abstract void removeEntries(Connection c, long[] ids) throws SQLException
- Specified by:
removeEntries
in interfaceDbCalendarHandler
- Throws:
SQLException
-
removeGroup
public final void removeGroup(Connection c, long id) throws SQLException
- Specified by:
removeGroup
in interfaceDbCalendarHandler
- Throws:
SQLException
-
removeGroups
public abstract void removeGroups(Connection c, long[] ids) throws SQLException
- Specified by:
removeGroups
in interfaceDbCalendarHandler
- Throws:
SQLException
-
saveEntry
public abstract void saveEntry(Connection c, DbCalendarEntry entry) throws SQLException
- Specified by:
saveEntry
in interfaceDbCalendarHandler
- Throws:
SQLException
-
saveGroup
public abstract void saveGroup(Connection c, DbCalendarGroup group) throws SQLException
- Specified by:
saveGroup
in interfaceDbCalendarHandler
- Throws:
SQLException
-
-