com.dotmarketing.util
Class AlertMessagesWebAPI

java.lang.Object
  extended by com.dotmarketing.util.AlertMessagesWebAPI
All Implemented Interfaces:
org.apache.velocity.tools.view.tools.ViewTool

public class AlertMessagesWebAPI
extends java.lang.Object
implements org.apache.velocity.tools.view.tools.ViewTool


Constructor Summary
AlertMessagesWebAPI()
           
 
Method Summary
 java.util.List getAlertMessages(java.lang.String userId)
           
 int getAlertMessagesCount(java.lang.String userId)
           
 boolean hasAlertMessages(java.lang.String userId)
           
 void init(java.lang.Object obj)
          Initializes this instance using the given data
 void readAlertMessages(java.lang.String userId)
           
 java.util.List viewReadMessages(java.lang.String userId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlertMessagesWebAPI

public AlertMessagesWebAPI()
Method Detail

init

public void init(java.lang.Object obj)
Description copied from interface: org.apache.velocity.tools.view.tools.ViewTool
Initializes this instance using the given data

Specified by:
init in interface org.apache.velocity.tools.view.tools.ViewTool
Parameters:
obj - the ViewContext that is automatically passed on view tool initialization, either in the request or the application
See Also:
ViewTool, ViewContext

hasAlertMessages

public boolean hasAlertMessages(java.lang.String userId)

getAlertMessages

public java.util.List getAlertMessages(java.lang.String userId)

getAlertMessagesCount

public int getAlertMessagesCount(java.lang.String userId)

readAlertMessages

public void readAlertMessages(java.lang.String userId)

viewReadMessages

public java.util.List viewReadMessages(java.lang.String userId)


Copyright © 2010 dotCMS Inc. All Rights Reserved.