ilog.rules.teamserver.web.components.renderers

Interface IlrScenarioSuiteResourcesRenderer

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void decode(ilog.rules.dvs.common.descriptors.IlrScenarioFormatDescriptor formatDescriptor, java.util.Map<java.lang.String,byte[]> resources, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
      Decodes, validates, and stores any new state in the specified resources.
      void encodeAsEditor(ilog.rules.dvs.common.descriptors.IlrScenarioFormatDescriptor formatDescriptor, java.util.Map<java.lang.String,byte[]> resources, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
      Renders the current state of the specified resources as an editor.
      void encodeAsViewer(ilog.rules.dvs.common.descriptors.IlrScenarioFormatDescriptor formatDescriptor, java.util.Map<java.lang.String,byte[]> resources, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
      Renders the current state of the specified resources as a viewer.
    • Method Detail

      • decode

        void decode(ilog.rules.dvs.common.descriptors.IlrScenarioFormatDescriptor formatDescriptor,
                  java.util.Map<java.lang.String,byte[]> resources,
                  javax.faces.context.FacesContext context,
                  javax.faces.component.UIComponent component)
        Decodes, validates, and stores any new state in the specified resources.
        Throws:
        java.lang.IllegalArgumentException - if a decoded form field is not valid. When this happens, the exception message is displayed in the page.
        Parameters:
        formatDescriptor - The scenario file format description.
        resources - The resources to be decoded. The run and download archive actions will be available only if this map is not empty.
        context - The faces context for the request being processed.
        component - The current UI component.
      • encodeAsEditor

        void encodeAsEditor(ilog.rules.dvs.common.descriptors.IlrScenarioFormatDescriptor formatDescriptor,
                          java.util.Map<java.lang.String,byte[]> resources,
                          javax.faces.context.FacesContext context,
                          javax.faces.component.UIComponent component)
                            throws java.io.IOException
        Renders the current state of the specified resources as an editor.
        Throws:
        java.io.IOException - if an input/output error occurs.
        Parameters:
        formatDescriptor - The scenario file format description.
        resources - The resources to be rendered.
        context - The faces context for the request being processed.
        component - The current UI component.
      • encodeAsViewer

        void encodeAsViewer(ilog.rules.dvs.common.descriptors.IlrScenarioFormatDescriptor formatDescriptor,
                          java.util.Map<java.lang.String,byte[]> resources,
                          javax.faces.context.FacesContext context,
                          javax.faces.component.UIComponent component)
                            throws java.io.IOException
        Renders the current state of the specified resources as a viewer.
        Throws:
        java.io.IOException - if an input/output error occurs.
        Parameters:
        formatDescriptor - The scenario file format description.
        resources - The resources to be rendered.
        context - The faces context for the request being processed.
        component - The current UI component.

© Copyright IBM Corp. 1987, 2015