Package lumis.service.vote
Class VotePercentCalculatorPostLoadProcessor
- java.lang.Object
-
- lumis.service.vote.VotePercentCalculatorPostLoadProcessor
-
- All Implemented Interfaces:
IPostLoadProcessor
public class VotePercentCalculatorPostLoadProcessor extends java.lang.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
- Version:
- $Revision: 6058 $ $Date: 2007-02-27 11:16:46 -0300 (Tue, 27 Feb 2007) $
-
-
Constructor Summary
Constructors Constructor Description VotePercentCalculatorPostLoadProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
processSource(SessionConfig sessionConfig, Source source, org.w3c.dom.Node parametersNode, ITransaction transaction)
-
-
-
Method Detail
-
processSource
public void processSource(SessionConfig sessionConfig, Source source, org.w3c.dom.Node parametersNode, ITransaction transaction) throws PortalException
- Specified by:
processSource
in interfaceIPostLoadProcessor
- Throws:
PortalException
-
-