Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.forum.watches
Class WatchSettingsManagerImpl

java.lang.Object
  extended by com.jivesoftware.forum.watches.WatchSettingsManagerImpl
All Implemented Interfaces:
JiveManager, WatchSettingsManager

public class WatchSettingsManagerImpl
extends java.lang.Object
implements WatchSettingsManager, JiveManager


Constructor Summary
WatchSettingsManagerImpl()
           
 
Method Summary
 void deleteSettings(User user)
          Delete the watch settings for a user
 void destroy()
          Notifies the manager to release any resources that may be holding on too.
 void emailUsersWhoNeedBatchEmails()
           
 WatchSettings getSettings(User user)
          Retrieve a watch settings for the given user
 void initialize()
          Initialize the manager.
 boolean isDefaultAutoWatchReplies()
           
 boolean isDefaultAutoWatchTopics()
           
 void saveSettings(User user, WatchSettings settings)
          Save the watch settings for a user
 void setBatchWatchEmailer(BatchWatchEmailer batchWatchEmail)
           
 void setDefaultAutoWatchReplies(boolean defaultAutoWatchReplies)
           
 void setDefaultAutoWatchTopics(boolean defaultAutoWatchTopics)
           
 void setUserManager(UserManager userManager)
           
 void setWatchManager(WatchManager watchManager)
           
 void setWatchSettingsDAO(WatchSettingsDAO dao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WatchSettingsManagerImpl

public WatchSettingsManagerImpl()
Method Detail

initialize

public void initialize()
Description copied from interface: JiveManager
Initialize the manager. It is within this method that it is ok to create, access and/or otherwise use external classes (including caches). Until this method is called implementation should not access any external classes that could possibly either access one of the main Factory classes or any caches since doing so can cause deadlocks and possible clustering issues during startup.

This method is used internally by Jive during application startup and should not be called during normal usage of the class.

Specified by:
initialize in interface JiveManager

destroy

public void destroy()
Description copied from interface: JiveManager
Notifies the manager to release any resources that may be holding on too. This could also be used to clear out the managers caches, etc.

This method is used internally by Jive during application startup and should not be called during normal usage of the class.

Specified by:
destroy in interface JiveManager

isDefaultAutoWatchTopics

public boolean isDefaultAutoWatchTopics()

setDefaultAutoWatchTopics

public void setDefaultAutoWatchTopics(boolean defaultAutoWatchTopics)

isDefaultAutoWatchReplies

public boolean isDefaultAutoWatchReplies()

setDefaultAutoWatchReplies

public void setDefaultAutoWatchReplies(boolean defaultAutoWatchReplies)

getSettings

public WatchSettings getSettings(User user)
Description copied from interface: WatchSettingsManager
Retrieve a watch settings for the given user

Specified by:
getSettings in interface WatchSettingsManager
Parameters:
user - the user to return a watch settings object for
Returns:
a WatchSettings object for the given user

saveSettings

public void saveSettings(User user,
                         WatchSettings settings)
Description copied from interface: WatchSettingsManager
Save the watch settings for a user

Specified by:
saveSettings in interface WatchSettingsManager
Parameters:
user - the user to save the watch settings for
settings - the watch settings to save

deleteSettings

public void deleteSettings(User user)
Description copied from interface: WatchSettingsManager
Delete the watch settings for a user

Specified by:
deleteSettings in interface WatchSettingsManager
Parameters:
user - the user to delete the watch settings for

emailUsersWhoNeedBatchEmails

public void emailUsersWhoNeedBatchEmails()

setUserManager

public void setUserManager(UserManager userManager)

setWatchSettingsDAO

public void setWatchSettingsDAO(WatchSettingsDAO dao)

setWatchManager

public void setWatchManager(WatchManager watchManager)

setBatchWatchEmailer

public void setBatchWatchEmailer(BatchWatchEmailer batchWatchEmail)

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.