Interface WebLimitExpressionHelper

    • Method Detail

      • replaceUnitLimit

        void replaceUnitLimit​(WebNode node)
      • removeUnitLimit

        void removeUnitLimit​(java.lang.String unitId)
      • removeLimits

        void removeLimits()
      • getUnitNode

        WebNode getUnitNode​(WebNode node)
        Gets a root node of the unit limit expression for a given expression node
        Parameters:
        node - expression node
        Returns:
        node
      • findUnitNode

        WebNode findUnitNode​(java.lang.String unitId)
        Finds a root node of the unit limit expression
        Parameters:
        unitId - an ID of the working set unit
        Returns:
        node or null
      • getNodeUnitId

        java.lang.String getNodeUnitId​(WebNode node)
        Returns unit ID of the given node
        Parameters:
        node - node
        Returns:
        unit ID
      • getNodeGroupId

        java.lang.String getNodeGroupId​(WebNode node)
        Returns limit group ID of the given node
        Parameters:
        node - node
        Returns:
        group ID
      • getNodeLimitType

        int getNodeLimitType​(WebNode node)
        Returns limit type EnumWebLimitSummaryFlags of the given node
        Parameters:
        node - node
        Returns:
        limit type
      • hasUnussignedPrompts

        boolean hasUnussignedPrompts​(WebNode node)
        Returns true if the given node contains unresolved prompts. In this case we don't know what unit to ussign this limit to.
        Parameters:
        node -