lumis.service.forum
Class ForumMessageListPostLoadProcessor

Package class diagram package ForumMessageListPostLoadProcessor
java.lang.Object
  extended by lumis.service.forum.ForumMessageListPostLoadProcessor
All Implemented Interfaces:
IPostLoadProcessor

public class ForumMessageListPostLoadProcessor
extends Object
implements IPostLoadProcessor

Post processor responsible for building the message action buttons

Since:
4.0.5

Field Summary
protected  ControlContainer controlContainer
           
protected  String currentUserId
           
protected  DouiContext douiContext
           
protected  boolean isLocked
           
protected  boolean isModerator
           
 
Constructor Summary
ForumMessageListPostLoadProcessor()
           
 
Method Summary
protected  String getDeleteButtonScript(String pkFieldName, ISourceData row, boolean isModerator)
           
protected  String getEditButtonScript(String pkFieldName, ISourceData row, IServiceInterfaceUrl baseUrl)
           
protected  String getQuoteButtonScript(String pkFieldName, ISourceData row, IServiceInterfaceUrl baseUrl)
           
 void processSource(SessionConfig sessionConfig, Source source, Node parametersNode, ITransaction transaction)
           
protected  String transformMessage(String message, IResource resource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

douiContext

protected DouiContext douiContext

controlContainer

protected ControlContainer controlContainer

currentUserId

protected String currentUserId

isModerator

protected boolean isModerator

isLocked

protected boolean isLocked
Constructor Detail

ForumMessageListPostLoadProcessor

public ForumMessageListPostLoadProcessor()
Method Detail

processSource

public void processSource(SessionConfig sessionConfig,
                          Source source,
                          Node parametersNode,
                          ITransaction transaction)
                   throws PortalException
Specified by:
processSource in interface IPostLoadProcessor
Throws:
PortalException

transformMessage

protected String transformMessage(String message,
                                  IResource resource)
                           throws PortalException
Throws:
PortalException

getQuoteButtonScript

protected String getQuoteButtonScript(String pkFieldName,
                                      ISourceData row,
                                      IServiceInterfaceUrl baseUrl)
                               throws PortalException
Throws:
PortalException

getEditButtonScript

protected String getEditButtonScript(String pkFieldName,
                                     ISourceData row,
                                     IServiceInterfaceUrl baseUrl)
                              throws PortalException
Throws:
PortalException

getDeleteButtonScript

protected String getDeleteButtonScript(String pkFieldName,
                                       ISourceData row,
                                       boolean isModerator)


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.