ilog.rules.teamserver.model.reporting

Class IlrReportContext

  • java.lang.Object
    • ilog.rules.teamserver.model.reporting.IlrReportContext


  • public class IlrReportContext
    extends java.lang.Object
    This class represents the context in which a report is processed.
    • Constructor Summary

      Constructors 
      Constructor and Description
      IlrReportContext(IlrSession session)
      Creates a context with a given session.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void addClientData(java.lang.String property, java.lang.Object value)
      Adds the user object bound to a given property.
      void addProperty(java.lang.String property, java.lang.Object value)
      Adds a given property to the context.
      java.lang.Object getClientData(java.lang.String property)
      Returns the user object bound to a given property.
      java.util.List<java.lang.String> getPropertyNames()
      Returns a list of the properties bound to this context.
      java.lang.Object getPropertyValue(java.lang.String property)
      Returns the object bound to a given property.
      IlrReportFilter getReportFilter()
      Returns an instance of IlrReportFilter to filter the elements used in the report.
      IlrReportSorter getReportSorter()
      Returns an instance of IlrReportSorter to sort the elements used in the report.
      IlrSession getSession()
      Returns the session bound to this context.
      void removeClientData(java.lang.String property)
      Removes the user object bound to a given property.
      void removeProperty(java.lang.String property)
      Removes a given property from the context.
      void setReportFilter(IlrReportFilter reportFilter)
      Sets an instance of IlrReportFilter to filter the elements used in the report.
      void setReportSorter(IlrReportSorter reportSorter)
      Sets an instance of IlrReportSorter to sort the elements used in the report.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IlrReportContext

        public IlrReportContext(IlrSession session)
        Creates a context with a given session.

        Parameters:
        session - The session.
    • Method Detail

      • getSession

        public IlrSession getSession()
        Returns the session bound to this context.
      • addProperty

        public void addProperty(java.lang.String property,
                       java.lang.Object value)
        Adds a given property to the context.

        Parameters:
        property - The name of the property.
        value - The value of the property.
      • removeProperty

        public void removeProperty(java.lang.String property)
        Removes a given property from the context.

        Parameters:
        property - The name of the property.
      • getPropertyValue

        public java.lang.Object getPropertyValue(java.lang.String property)
        Returns the object bound to a given property.

        Parameters:
        property - The property.
      • getPropertyNames

        public java.util.List<java.lang.String> getPropertyNames()
        Returns a list of the properties bound to this context.
      • addClientData

        public void addClientData(java.lang.String property,
                         java.lang.Object value)
        Adds the user object bound to a given property.

        Parameters:
        property - The property.
        value - The object.
      • removeClientData

        public void removeClientData(java.lang.String property)
        Removes the user object bound to a given property.
        Parameters:
        property - The property.
      • getClientData

        public java.lang.Object getClientData(java.lang.String property)
        Returns the user object bound to a given property.

        Parameters:
        property - The property.

© Copyright IBM Corp. 1987, 2017