Class IfDisplayMoreTag

  • All Implemented Interfaces:
    java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

    public class IfDisplayMoreTag
    extends AbstractIfTag
    Since:
    MicroStrategy Web 7.3.1 or earlier
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport

        bodyContent
      • Fields inherited from class javax.servlet.jsp.tagext.TagSupport

        id, pageContext
      • Fields inherited from interface javax.servlet.jsp.tagext.BodyTag

        EVAL_BODY_BUFFERED, EVAL_BODY_TAG
      • Fields inherited from interface javax.servlet.jsp.tagext.IterationTag

        EVAL_BODY_AGAIN
      • Fields inherited from interface javax.servlet.jsp.tagext.Tag

        EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      AbstractIfTagHelper getHelper()
      Method for retrieving the helper associated with the tag.
      void release()
      Utility method for cleaning up the properties on the custom tag instance.
      void setBean​(java.lang.String value)
      Indicates the name of the bean to search for, so the number of its children objects can be analyzed according to the limits specified on the maxObjects attribute.
      void setMaxObjects​(java.lang.String value)
      Indicates a set of limits in the number of objects to account for, divided by object type.
      void setName​(java.lang.String value)
      Deprecated.
      Use SetBean Instead.
      • Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport

        doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
      • Methods inherited from class javax.servlet.jsp.tagext.TagSupport

        findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.servlet.jsp.tagext.Tag

        getParent, setPageContext, setParent
    • Constructor Detail

      • IfDisplayMoreTag

        public IfDisplayMoreTag()
    • Method Detail

      • release

        public void release()
        Utility method for cleaning up the properties on the custom tag instance.
        Specified by:
        release in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        release in class javax.servlet.jsp.tagext.BodyTagSupport
      • setName

        public void setName​(java.lang.String value)
        Deprecated.
        Use SetBean Instead.
        Indicates the name of the bean to search for, so the number of its children objects can be analyzed according to the limits specified on the maxObjects attribute.
        Usage:
        The different bean types whose children can be analyzed include FolderBean, InboxBean and SubscriptionFolderBean. Each one of the objects listed inside these beans will be compared against the limits defined.
        Parameters:
        value - String value with the name of the bean to search for.
      • setBean

        public void setBean​(java.lang.String value)
        Indicates the name of the bean to search for, so the number of its children objects can be analyzed according to the limits specified on the maxObjects attribute.
        Usage:
        The different bean types whose children can be analyzed include FolderBean, InboxBean and SubscriptionFolderBean. Each one of the objects listed inside these beans will be compared against the limits defined.
        Parameters:
        value - String value with the name of the bean to search for.
        Since:
        MicroStrategy Web 8.0.0
      • setMaxObjects

        public void setMaxObjects​(java.lang.String value)
        Indicates a set of limits in the number of objects to account for, divided by object type.
        Usage:
        The number of children objects inside the bean specified on the name attribute will be counted and compared against the limits specified on this attribute. The most simple way for setting a limit is listing a single number like "5" as possible value, this will indicate that 5 is the limit (regardless of the object type) and if the number of children exceeds 5, then the tag will evaluate the condition as True.
        Parameters:
        value - String. If the user wants to define limits based on the object type, then a string with this format will have to be defined: "objectType1:count1;objectType2:count2", where the objectType is defined according to the EnumDSSXMLObjectTypes enumeration, and the count is the limit set for that object type. If any of the object types specified exceeds the limit set, the condition will return True.