com.day.cq.collab.commons.impl
Class CommentPostProcessor
java.lang.Object
com.day.cq.collab.commons.impl.CommentPostProcessor
- All Implemented Interfaces:
- org.apache.sling.servlets.post.SlingPostProcessor
- Direct Known Subclasses:
- RatingPostProcessor
public class CommentPostProcessor
- extends Object
- implements org.apache.sling.servlets.post.SlingPostProcessor
This processor is invoked by the sling post servlet after all operations
were performed. This processor listens for comments and adds request properties.
|
Method Summary |
protected void |
activate(org.osgi.service.component.ComponentContext context)
Activate this component. |
void |
process(org.apache.sling.api.SlingHttpServletRequest request,
List<org.apache.sling.servlets.post.Modification> changes)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommentPostProcessor
public CommentPostProcessor()
activate
protected void activate(org.osgi.service.component.ComponentContext context)
- Activate this component.
Open the session and register event listeners.
- Parameters:
context - The component context-
process
public void process(org.apache.sling.api.SlingHttpServletRequest request,
List<org.apache.sling.servlets.post.Modification> changes)
throws Exception
- Specified by:
process in interface org.apache.sling.servlets.post.SlingPostProcessor
- Throws:
Exception- See Also:
SlingPostProcessor.process(org.apache.sling.api.SlingHttpServletRequest, java.util.List)
Copyright © 2009 Day Management AG. All Rights Reserved.