Class SupervisorMessageFilterMenuItem<T extends MessageInfo>
- java.lang.Object
-
- com.novomind.ecom.api.imail.common.frontend.menu.AbstractMessageFilterMenuItem<T>
-
- com.novomind.ecom.api.imail.routing.frontend.menu.SupervisorMessageFilterMenuItem<T>
-
- All Implemented Interfaces:
MessageFilterMenuItem<T>
,com.novomind.ecom.common.api.attribute.DisplayNamed
,com.novomind.ecom.common.api.attribute.Named
- Direct Known Subclasses:
SupervisorBacklogMessageFilterMenuItem
,SupervisorOutgoingMessageFilterMenuItem
public abstract class SupervisorMessageFilterMenuItem<T extends MessageInfo> extends AbstractMessageFilterMenuItem<T>
This class is used to display a custom message filter menu in the novomind iAGENT Supervisor frontend. It also provides functionality to filter the entries to be displayed in the filter view.- Since:
- 12.0
-
-
Constructor Summary
Constructors Constructor Description SupervisorMessageFilterMenuItem(java.lang.String name)
Constructs aSupervisorMessageFilterMenuItem
with the given name.SupervisorMessageFilterMenuItem(java.lang.String name, Privilege privilege)
Constructs aSupervisorMessageFilterMenuItem
with the given name and privilege.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<Privilege>
getPrivilege()
Returns thePrivilege
of thisSupervisorMessageFilterMenuItem
, if present-
Methods inherited from class com.novomind.ecom.api.imail.common.frontend.menu.AbstractMessageFilterMenuItem
addSubMenuItem, getDisplayName, getFilter, getIgnoreVisibility, getName, getSubMenuItems, setDisplayName, setFilter, setIgnoreVisibility
-
-
-
-
Constructor Detail
-
SupervisorMessageFilterMenuItem
public SupervisorMessageFilterMenuItem(java.lang.String name)
Constructs aSupervisorMessageFilterMenuItem
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 theAbstractMessageFilterMenuItem.setDisplayName(String)
method.- Parameters:
name
- the unique name to identify this instance ofSupervisorMessageFilterMenuItem
- Since:
- 12.0
-
SupervisorMessageFilterMenuItem
public SupervisorMessageFilterMenuItem(java.lang.String name, Privilege privilege)
Constructs aSupervisorMessageFilterMenuItem
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 theAbstractMessageFilterMenuItem.setDisplayName(String)
method.- Parameters:
name
- the unique name to identify this instance ofSupervisorMessageFilterMenuItem
privilege
- the privilege for thisSupervisorMessageFilterMenuItem
- Since:
- 12.0
-
-