Class GetESRIKMLConfigurationTask

  • All Implemented Interfaces:
    Task

    public class GetESRIKMLConfigurationTask
    extends AbstractAppTask
    • Constructor Detail

      • GetESRIKMLConfigurationTask

        public GetESRIKMLConfigurationTask()
    • Method Detail

      • getDataStrSHP

        public com.microstrategy.web.app.tasks.GetESRIKMLConfigurationTask.FeatureResult getDataStrSHP​(java.lang.String path,
                                                                                                       java.util.ArrayList<java.lang.String> queryFieldList,
                                                                                                       java.lang.String queryField,
                                                                                                       int reqOffset)
                                                                                                throws TaskException
        Get data string for .shp shape file
        Parameters:
        path - {String} shape file path.
        queryFieldList - {ArrayList} query list from request.
        queryField - {String} query field to search in file.
        reqOffset - {int} offset of the shp objects start to fetch.
        Returns:
        {FeatureResult}
        Throws:
        TaskException
      • getDataStrKML

        public com.microstrategy.web.app.tasks.GetESRIKMLConfigurationTask.FeatureResult getDataStrKML​(ShapeConfigInfo configInfo,
                                                                                                       java.util.ArrayList<java.lang.String> queryFieldList,
                                                                                                       java.lang.String queryField,
                                                                                                       int reqOffset)
                                                                                                throws TaskException
        Get data string for .kml shape file
        Parameters:
        configInfo - {ShapeConfigInfo} config info from plugins
        queryFieldList - {ArrayList} query list from request.
        queryField - {String} query field to search in file.
        reqOffset - {int} offset of the kml objects start to fetch.
        Returns:
        {FeatureResult}
        Throws:
        TaskException
      • generateJSONResult

        public java.lang.StringBuffer generateJSONResult​(com.microstrategy.web.app.tasks.GetESRIKMLConfigurationTask.FeatureResult featureResult)
                                                  throws TaskException
        Generate json result
        Parameters:
        featureResult - {FeatureResult} filtered Feature Result
        Returns:
        Throws:
        TaskException
      • loadQueryStr

        public java.util.ArrayList loadQueryStr​(java.lang.String queryStr)
                                         throws TaskException
        Get query list from query string
        Parameters:
        queryStr - {String} query string from client
        Returns:
        Throws:
        TaskException