Class MacroBean

    • Constructor Detail

      • MacroBean

        public MacroBean()
      • MacroBean

        public MacroBean​(String name,
                         String params)
    • Method Detail

      • setModalSize

        public void setModalSize​(String modalSize)
      • setName

        public void setName​(String name)
      • isAdmin

        public boolean isAdmin()
        Description copied from interface: IMacro
        macro for admin >> return true macro for contributor >> retrun false
        Specified by:
        isAdmin in interface IMacro
        Returns:
      • setAdmin

        public void setAdmin​(boolean admin)
      • isPreview

        public boolean isPreview()
        Description copied from interface: IMacro
        is this macro can be execute in preview mode.
        Specified by:
        isPreview in interface IMacro
        Returns:
      • setPreview

        public void setPreview​(boolean preview)
      • isAdd

        public boolean isAdd()
        Specified by:
        isAdd in interface IMacro
      • setAdd

        public void setAdd​(boolean add)
      • isInterative

        public boolean isInterative()
        Specified by:
        isInterative in interface IMacro
      • setInteractive

        public void setInteractive​(boolean interactive)
      • isActive

        public boolean isActive()
        Description copied from interface: IMacro
        is macro active in current context
        Specified by:
        isActive in interface IMacro
        Returns:
      • setInfo

        public void setInfo​(String info)
      • setIcon

        public void setIcon​(String icon)
      • getUrl

        public String getUrl()
        Description copied from interface: IMacro
        force url of the macro
        Specified by:
        getUrl in interface IMacro
        Returns:
        default null >> url will be generated for default macro modal
      • setUrl

        public void setUrl​(String url)
      • getPriority

        public int getPriority()
        Specified by:
        getPriority in interface IMacro