Package org.openbravo.client.application
Class MenuManager.MenuOption
- java.lang.Object
-
- org.openbravo.client.application.MenuManager.MenuOption
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- MenuManager
public static class MenuManager.MenuOption extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MenuOption()
MenuOption(MenuManager.MenuOption option)
-
Method Summary
-
-
-
Constructor Detail
-
MenuOption
public MenuOption()
-
MenuOption
public MenuOption(MenuManager.MenuOption option)
-
-
Method Detail
-
isSingleRecord
public boolean isSingleRecord()
-
getSingleRecordStringValue
public String getSingleRecordStringValue()
-
isReadOnly
public boolean isReadOnly()
This method returns true if the menu entry is read only. The menu entry will be read only either if the uipattern of its tab is "RO" (Read Only) or if the current role only has read only access to the tab or to its window
-
isTabReadOnlyforRole
public boolean isTabReadOnlyforRole()
Returns true if the tab is not editable by the current role by checking the WindowAccess and TabAccess entities
-
getReadOnlyStringValue
public String getReadOnlyStringValue()
-
isEditOrDeleteOnly
public boolean isEditOrDeleteOnly()
-
getEditOrDeleteOnlyStringValue
public String getEditOrDeleteOnlyStringValue()
-
isReport
public boolean isReport()
-
setReport
public void setReport(boolean isReport)
-
isVisible
public boolean isVisible()
-
isAccessible
public boolean isAccessible()
-
setVisible
public void setVisible(Boolean visible)
-
getLabel
public String getLabel()
-
setLabel
public void setLabel(String label)
-
getType
public MenuManager.MenuEntryType getType()
-
setType
public void setType(MenuManager.MenuEntryType type)
-
getId
public String getId()
-
setId
public void setId(String id)
-
getChildren
public List<MenuManager.MenuOption> getChildren()
-
setChildren
public void setChildren(List<MenuManager.MenuOption> children)
-
getTreeNode
public TreeNode getTreeNode()
-
setTreeNode
public void setTreeNode(TreeNode treeNode)
-
getParentMenuOption
public MenuManager.MenuOption getParentMenuOption()
-
getFormId
public String getFormId()
-
setForm
public void setForm(Form form)
-
setParentMenuOption
public void setParentMenuOption(MenuManager.MenuOption parentMenuOption)
-
setParentMenuOption
public void setParentMenuOption(Map<String,MenuManager.MenuOption> menuOptionsByMenuId)
-
getMenu
public Menu getMenu()
-
isWindow
public boolean isWindow()
-
isProcess
public boolean isProcess()
-
isModal
public boolean isModal()
-
setModal
public void setModal(boolean isModal)
-
isProcessManual
public boolean isProcessManual()
-
isView
public boolean isView()
-
isForm
public boolean isForm()
-
isProcessDefinition
public boolean isProcessDefinition()
-
isExternal
public boolean isExternal()
-
getTab
public Tab getTab()
-
setTab
public void setTab(Tab tab)
-
getParameters
public List<MenuParameter> getParameters()
-
getDbId
public String getDbId()
-
setDbId
public void setDbId(String dbId)
-
setAccessGranted
public void setAccessGranted(boolean accessGranted)
-
setObjectId
public void setObjectId(String objectId)
-
setIsReadOnlyForRole
public void setIsReadOnlyForRole(Boolean isReadOnlyForRole)
-
-