org.tigris.scarab.om
Class NotificationFilterManager

java.lang.Object
  extended byorg.apache.torque.manager.AbstractBaseManager
      extended byorg.tigris.scarab.om.BaseNotificationFilterManager
          extended byorg.tigris.scarab.om.NotificationFilterManager
All Implemented Interfaces:
java.io.Serializable

public class NotificationFilterManager
extends BaseNotificationFilterManager

This class manages NotificationFilter objects. The skeleton for this class was autogenerated by Torque * You should add additional methods to this class to meet the application requirements. This class will only be generated as long as it does not already exist in the output directory.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.tigris.scarab.om.BaseNotificationFilterManager
DEFAULT_MANAGER_CLASS, MANAGED_CLASS
 
Fields inherited from class org.apache.torque.manager.AbstractBaseManager
cache, listenersMap, log, mrCache, validFields
 
Constructor Summary
NotificationFilterManager()
          Creates a new NotificationFilterManager instance.
 
Method Summary
static NotificationFilter getNotificationFilter(java.lang.Integer moduleId, java.lang.Integer userId, java.lang.String activityType)
           
static NotificationFilter getNotificationFilter(NotificationStatus notif)
           
static boolean isNotificationEnabledFor(java.lang.Integer moduleId, java.lang.Integer userId, boolean isSelf, java.lang.String activityType)
          determines whether user has enabled notifications for given activityType in given module.
 
Methods inherited from class org.tigris.scarab.om.BaseNotificationFilterManager
addCacheListener, clear, exists, existsImpl, getCachedInstance, getCachedInstanceImpl, getInstance, getInstance, getInstance, getInstanceImpl, getInstanceImpl, getInstanceImpl, getInstances, getInstances, getInstancesImpl, getInstancesImpl, getManager, getMethodResult, putInstance, retrieveStoredOM, retrieveStoredOMs
 
Methods inherited from class org.apache.torque.manager.AbstractBaseManager
addCacheListenerImpl, cacheGet, clearImpl, getClassName, getMethodResultCache, getOMClass, getOMInstance, getOMInstance, getOMInstance, getOMs, getOMs, getOMs, getRegion, notifyListeners, putInstanceImpl, putInstanceImpl, registerAsListener, removeInstanceImpl, setClassName, setOMClass, setRegion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationFilterManager

public NotificationFilterManager()
                          throws org.apache.torque.TorqueException
Creates a new NotificationFilterManager instance.

Throws:
org.apache.torque.TorqueException - if an error occurs
Method Detail

getNotificationFilter

public static NotificationFilter getNotificationFilter(NotificationStatus notif)
                                                throws ScarabException
Throws:
ScarabException

getNotificationFilter

public static NotificationFilter getNotificationFilter(java.lang.Integer moduleId,
                                                       java.lang.Integer userId,
                                                       java.lang.String activityType)
                                                throws ScarabException
Throws:
ScarabException

isNotificationEnabledFor

public static boolean isNotificationEnabledFor(java.lang.Integer moduleId,
                                               java.lang.Integer userId,
                                               boolean isSelf,
                                               java.lang.String activityType)
                                        throws ScarabException
determines whether user has enabled notifications for given activityType in given module.

Returns:
Throws:
ScarabException


Copyright © 2000-2004 Tigris.org. All Rights Reserved.