lumis.service.vote
Class VotePercentCalculatorPostLoadProcessor

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

public class VotePercentCalculatorPostLoadProcessor
extends Object
implements IPostLoadProcessor

Fills the fields votePercentValue and votePercentDisplay with the percent value. This value is calculated obtaining information from the source fields numberOfVotes and totalVotes.

Since:
4.0.2

Constructor Summary
VotePercentCalculatorPostLoadProcessor()
           
 
Method Summary
 void processSource(SessionConfig sessionConfig, Source source, Node parametersNode, ITransaction transaction)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VotePercentCalculatorPostLoadProcessor

public VotePercentCalculatorPostLoadProcessor()
Method Detail

processSource

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


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