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: 23106 $ $Date: 2019-09-04 17:23:01 -0300 (Wed, 04 Sep 2019) $
    • 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