Class EntityAdminMenu<T>

java.lang.Object
com.foreach.across.modules.web.menu.Menu
com.foreach.across.modules.adminweb.menu.EntityAdminMenu<T>
com.foreach.across.modules.entity.views.menu.EntityAdminMenu<T>
Type Parameters:
T - entity type
All Implemented Interfaces:
org.springframework.core.Ordered

public class EntityAdminMenu<T> extends EntityAdminMenu<T>
Event published when an EntityAdminMenu is being generated.

Extends the deprecated EntityAdminMenuEvent for backwards compatibility.

Since:
3.0.0
Author:
Arne Vandamme
  • Field Summary

    Fields inherited from class com.foreach.across.modules.web.menu.Menu

    ROOT_LEVEL, SORT_BY_ORDER_AND_TITLE, SORT_BY_TITLE

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    EntityAdminMenu(Class<T> entityType, String entityName, @NonNull EntityViewContext entityViewContext, T entity)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static EntityAdminMenu<?>
    Create a new instance for a EntityViewContext.
    Name under which the entity configuration is registered.
    The EntityViewContext containing all information of the entity being viewed.

    Methods inherited from class com.foreach.across.modules.adminweb.menu.EntityAdminMenu

    getEntity, getEntityType

    Methods inherited from class com.foreach.across.modules.web.menu.Menu

    addItem, addItem, addItem, addItem, builder, clear, getAttribute, getAttributes, getComparator, getFirstItem, getItem, getItems, getItemWithName, getItemWithPath, getLevel, getLowestSelectedItem, getName, getOrder, getParent, getPath, getRoot, getSelectedItem, getSelectedItemPath, getTitle, getUrl, hasAttribute, hasItems, hasParent, hasTitle, hasUrl, isComparatorInheritable, isDisabled, isEmpty, isGroup, isOrdered, isRoot, isSelected, merge, remove, select, setAttribute, setAttributes, setComparator, setDisabled, setGroup, setName, setOrder, setOrdered, setPath, setSelected, setTitle, setUrl, size, sort, sort, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait