lumis.service.vote
Class VotePercentCalculatorPostLoadProcessor
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VotePercentCalculatorPostLoadProcessor
public VotePercentCalculatorPostLoadProcessor()
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.