Class GeneralInformationDataProvider

  • All Implemented Interfaces:
    IDataProvider<TabularSource<?>>

    public class GeneralInformationDataProvider
    extends MapDataProvider
    Obtain general information like date, user locale, etc
    Since:
    5.6.0
    Version:
    $Revision$ $Date$
    • Constructor Detail

      • GeneralInformationDataProvider

        public GeneralInformationDataProvider()
    • Method Detail

      • obtainMapData

        protected java.util.Map<java.lang.String,​java.lang.String> obtainMapData​(SessionConfig sessionConfig,
                                                                                       TabularSource<?> source,
                                                                                       ITransaction transaction)
                                                                                throws PortalException
        Description copied from class: MapDataProvider
        Provides the Map data for each specific implementation
        Specified by:
        obtainMapData in class MapDataProvider
        Parameters:
        sessionConfig - an instance of SessionConfig
        source - an instance of TabularSource
        transaction - the current transaction
        Returns:
        an instance of Map with the data to be filled in TabularData
        Throws:
        PortalException - whenever an error occur