Class SupervisorMessageFilterMenuItem<T extends MessageInfo>

    • Constructor Detail

      • SupervisorMessageFilterMenuItem

        public SupervisorMessageFilterMenuItem​(java.lang.String name)
        Constructs a SupervisorMessageFilterMenuItem with the given name. Please ensure to use a unique name. The name will be used to build the link to the custom filter view. If you would like to use a different name to be displayed in the frontend please use the AbstractMessageFilterMenuItem.setDisplayName(String) method.
        Parameters:
        name - the unique name to identify this instance of SupervisorMessageFilterMenuItem
        Since:
        12.0
      • SupervisorMessageFilterMenuItem

        public SupervisorMessageFilterMenuItem​(java.lang.String name,
                                               Privilege privilege)
        Constructs a SupervisorMessageFilterMenuItem with the given name and privilege. Please ensure to use a unique name. The name will be used to build the link to the custom filter view. If you would like to use a different name to be displayed in the frontend please use the AbstractMessageFilterMenuItem.setDisplayName(String) method.
        Parameters:
        name - the unique name to identify this instance of SupervisorMessageFilterMenuItem
        privilege - the privilege for this SupervisorMessageFilterMenuItem
        Since:
        12.0
    • Method Detail

      • getPrivilege

        public java.util.Optional<Privilege> getPrivilege()
        Returns the Privilege of this SupervisorMessageFilterMenuItem, if present
        Returns:
        the Privilege or empty if no Privilege was set during creation of this SupervisorMessageFilterMenuItem
        Since:
        12.0