@Entity public class MetaMenu extends AuditableModel
Modifier and Type | Method and Description |
---|---|
void |
addGroup(Group item)
Add the given
Group item to the groups . |
void |
addRole(Role item)
Add the given
Role item to the roles . |
void |
clearGroups()
Clear the
groups collection. |
void |
clearRoles()
Clear the
roles collection. |
boolean |
equals(Object obj) |
MetaAction |
getAction() |
String |
getConditionToCheck()
Only use this menu-item if the given expression is true (ie `if` condition).
|
Set<Group> |
getGroups() |
Boolean |
getHidden() |
String |
getIcon() |
String |
getIconBackground() |
Long |
getId() |
Boolean |
getLeft() |
String |
getLink() |
Boolean |
getMobile() |
String |
getModule() |
String |
getModuleToCheck()
Only use this menu-item if the given module is installed (ie `if-module` condition).
|
String |
getName() |
Integer |
getOrder() |
MetaMenu |
getParent() |
Integer |
getPriority() |
Set<Role> |
getRoles() |
String |
getTag() |
Boolean |
getTagCount() |
String |
getTagGet() |
String |
getTagStyle() |
String |
getTitle() |
Boolean |
getTop() |
User |
getUser() |
String |
getXmlId() |
int |
hashCode() |
void |
removeGroup(Group item)
Remove the given
Group item from the groups . |
void |
removeRole(Role item)
Remove the given
Role item from the roles . |
void |
setAction(MetaAction action) |
void |
setConditionToCheck(String conditionToCheck) |
void |
setGroups(Set<Group> groups) |
void |
setHidden(Boolean hidden) |
void |
setIcon(String icon) |
void |
setIconBackground(String iconBackground) |
void |
setId(Long id) |
void |
setLeft(Boolean left) |
void |
setLink(String link) |
void |
setMobile(Boolean mobile) |
void |
setModule(String module) |
void |
setModuleToCheck(String moduleToCheck) |
void |
setName(String name) |
void |
setOrder(Integer order) |
void |
setParent(MetaMenu parent) |
void |
setPriority(Integer priority) |
void |
setRoles(Set<Role> roles) |
void |
setTag(String tag) |
void |
setTagCount(Boolean tagCount) |
void |
setTagGet(String tagGet) |
void |
setTagStyle(String tagStyle) |
void |
setTitle(String title) |
void |
setTop(Boolean top) |
void |
setUser(User user) |
void |
setXmlId(String xmlId) |
String |
toString() |
getCreatedBy, getCreatedOn, getUpdatedBy, getUpdatedOn
getArchived, getVersion, isSelected, setArchived, setSelected, setVersion
public MetaMenu()
public MetaMenu(String name)
public Integer getPriority()
public void setPriority(Integer priority)
public Integer getOrder()
public void setOrder(Integer order)
public String getXmlId()
public void setXmlId(String xmlId)
public String getName()
public void setName(String name)
public String getTitle()
public void setTitle(String title)
public String getIcon()
public void setIcon(String icon)
public String getIconBackground()
public void setIconBackground(String iconBackground)
public String getModule()
public void setModule(String module)
public String getTag()
public void setTag(String tag)
public String getTagGet()
public void setTagGet(String tagGet)
public Boolean getTagCount()
public void setTagCount(Boolean tagCount)
public String getTagStyle()
public void setTagStyle(String tagStyle)
public Boolean getTop()
public void setTop(Boolean top)
public Boolean getLeft()
public void setLeft(Boolean left)
public Boolean getMobile()
public void setMobile(Boolean mobile)
public Boolean getHidden()
public void setHidden(Boolean hidden)
public String getLink()
public void setLink(String link)
public MetaMenu getParent()
public void setParent(MetaMenu parent)
public MetaAction getAction()
public void setAction(MetaAction action)
public User getUser()
public void setUser(User user)
public void addGroup(Group item)
Group
item to the groups
.item
- the item to addpublic void removeGroup(Group item)
Group
item from the groups
.item
- the item to removepublic void clearGroups()
groups
collection.public void addRole(Role item)
Role
item to the roles
.item
- the item to addpublic void removeRole(Role item)
Role
item from the roles
.item
- the item to removepublic void clearRoles()
roles
collection.public String getConditionToCheck()
public void setConditionToCheck(String conditionToCheck)
public String getModuleToCheck()
public void setModuleToCheck(String moduleToCheck)