Package com.axelor.meta.db
Class MetaMenu
java.lang.Object
com.axelor.db.Model
com.axelor.auth.db.AuditableModel
com.axelor.meta.db.MetaMenu
This object stores the menus.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Add the givenGroup
item to thegroups
collection.void
Add the givenRole
item to theroles
collection.void
Clear thegroups
collection.void
Clear theroles
collection.boolean
Only use this menu-item if the given expression is true (ie `if` condition).getIcon()
getId()
getLeft()
getLink()
Only use this menu-item if the given module is installed (ie `if-module` condition).getName()
getOrder()
getRoles()
getTag()
getTitle()
getUser()
getXmlId()
int
hashCode()
void
removeGroup
(Group item) Remove the givenGroup
item from thegroups
collection.void
removeRole
(Role item) Remove the givenRole
item from theroles
collection.void
setAction
(MetaAction action) void
setConditionToCheck
(String conditionToCheck) void
void
void
void
setIconBackground
(String iconBackground) void
void
void
void
void
void
setModuleToCheck
(String moduleToCheck) void
void
void
void
setPriority
(Integer priority) void
void
void
setTagCount
(Boolean tagCount) void
void
setTagStyle
(String tagStyle) void
void
void
toString()
Methods inherited from class com.axelor.auth.db.AuditableModel
getCreatedBy, getCreatedOn, getUpdatedBy, getUpdatedOn
Methods inherited from class com.axelor.db.Model
getArchived, getCid, getVersion, isSelected, setArchived, setCid, setSelected, setVersion
-
Constructor Details
-
MetaMenu
public MetaMenu() -
MetaMenu
-
-
Method Details
-
getId
-
setId
-
getPriority
-
setPriority
-
getOrder
-
setOrder
-
getXmlId
-
setXmlId
-
getName
-
setName
-
getTitle
-
setTitle
-
getIcon
-
setIcon
-
getIconBackground
-
setIconBackground
-
getModule
-
setModule
-
getTag
-
setTag
-
getTagGet
-
setTagGet
-
getTagCount
-
setTagCount
-
getTagStyle
-
setTagStyle
-
getLeft
-
setLeft
-
getMobile
-
setMobile
-
getHidden
-
setHidden
-
getLink
-
setLink
-
getParent
-
setParent
-
getAction
-
setAction
-
getUser
-
setUser
-
getGroups
-
setGroups
-
addGroup
Add the givenGroup
item to thegroups
collection.- Parameters:
item
- the item to add
-
removeGroup
Remove the givenGroup
item from thegroups
collection.- Parameters:
item
- the item to remove
-
clearGroups
public void clearGroups()Clear thegroups
collection. -
getRoles
-
setRoles
-
addRole
Add the givenRole
item to theroles
collection.- Parameters:
item
- the item to add
-
removeRole
Remove the givenRole
item from theroles
collection.- Parameters:
item
- the item to remove
-
clearRoles
public void clearRoles()Clear theroles
collection. -
getConditionToCheck
Only use this menu-item if the given expression is true (ie `if` condition).- Returns:
- the property value
-
setConditionToCheck
-
getModuleToCheck
Only use this menu-item if the given module is installed (ie `if-module` condition).- Returns:
- the property value
-
setModuleToCheck
-
equals
-
hashCode
public int hashCode() -
toString
-