com.ibm.tivoli.maximo.weather.miniapp

Class WeatherViewBean

    • Field Detail

      • SCHEDULER_MSG_GROUP

        public static final java.lang.String SCHEDULER_MSG_GROUP
        See Also:
        Constant Field Values
    • Constructor Detail

      • WeatherViewBean

        public WeatherViewBean()
    • Method Detail

      • label

        public java.lang.String label(java.lang.String key)
      • getBaseImageUrl

        public java.lang.String getBaseImageUrl()
      • getPresentationOptions

        public com.ibm.json.java.JSONObject getPresentationOptions()
        Returns the "options" attribute, parsed as JSON from the presentation element.
        Returns:
      • discoverWeather

        public com.ibm.json.java.JSONObject discoverWeather()
      • discoverWeatherWithOptions

        public com.ibm.json.java.JSONObject discoverWeatherWithOptions(com.ibm.json.java.JSONObject options)
      • jsonError

        public com.ibm.json.java.JSONObject jsonError(int code,
                                                      java.lang.String text)
      • jsonError

        public com.ibm.json.java.JSONObject jsonError(int code,
                                                      java.lang.String text,
                                                      java.lang.Throwable t)
      • getCurrentWeather

        public com.ibm.json.java.JSONObject getCurrentWeather(double lat,
                                                              double lng)
      • getDailyWeather

        public com.ibm.json.java.JSONObject getDailyWeather(double lat,
                                                            double lng)
      • getHourlyWeather

        public com.ibm.json.java.JSONObject getHourlyWeather(double lat,
                                                             double lng)
      • getAppName

        public java.lang.String getAppName()
        Return the configure AppName for the Scheduler MiniApp, as configured in the presenation xml file
        Returns: