com.dotmarketing.util
Class AlertMessagesWebAPI
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlertMessagesWebAPI
public AlertMessagesWebAPI()
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.