com.jivesoftware.forum.watches
Class WatchSettingsDAOImpl
java.lang.Object
com.jivesoftware.forum.watches.WatchSettingsDAOImpl
- All Implemented Interfaces:
- WatchSettingsDAO
public class WatchSettingsDAOImpl
- extends java.lang.Object
- implements WatchSettingsDAO
DDL:
CREATE TABLE jiveWatchSettings (
userID bigint primary key references jiveUser(userID),
autoWatchNewTopics bigint not null,
autoWatchReplies bigint not null,
receiveEmails bigint not null,
batchFrequency bigint not null,
lastBatchEmail bigint null);
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WatchSettingsDAOImpl
public WatchSettingsDAOImpl()
getSettings
public WatchSettings getSettings(long userID)
- Specified by:
getSettings
in interface WatchSettingsDAO
putSettings
public void putSettings(long userID,
WatchSettings settings)
- Specified by:
putSettings
in interface WatchSettingsDAO
deleteSettings
public void deleteSettings(long userID)
- Specified by:
deleteSettings
in interface WatchSettingsDAO
getUsersNotUpdatedAfter
public long[] getUsersNotUpdatedAfter(int batchFrequency,
java.util.Date updatedAfter)
- Specified by:
getUsersNotUpdatedAfter
in interface WatchSettingsDAO
updateUserWithBatchEmailDate
public void updateUserWithBatchEmailDate(long userID,
int batchFrequency,
java.util.Date updatedAfter,
java.util.Date newDate)
- Specified by:
updateUserWithBatchEmailDate
in interface WatchSettingsDAO
updateUsersWithBatchEmailDate
public int updateUsersWithBatchEmailDate(int batchFrequency,
java.util.Date updatedAfter,
java.util.Date newDate)
- Specified by:
updateUsersWithBatchEmailDate
in interface WatchSettingsDAO
Copyright © 1999-2006 Jive Software.