public class SectionEntry extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
caption |
protected List<SectionEntry> |
children |
protected org.uberfire.mvp.Command |
onClickCommand |
protected String |
permission |
protected org.uberfire.security.Resource |
resource |
protected org.uberfire.security.ResourceAction |
resourceAction |
| Modifier | Constructor and Description |
|---|---|
protected |
SectionEntry(String caption) |
protected |
SectionEntry(String caption,
org.uberfire.mvp.Command command) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(SectionEntry entry) |
String |
getCaption() |
List<SectionEntry> |
getChildren() |
org.uberfire.mvp.Command |
getOnClickCommand() |
String |
getPermission() |
org.uberfire.security.Resource |
getResource() |
org.uberfire.security.ResourceAction |
getResourceAction() |
void |
setPermission(String permission) |
void |
setResource(org.uberfire.security.Resource resource) |
void |
setResourceAction(org.uberfire.security.ResourceAction resourceAction) |
protected String caption
protected List<SectionEntry> children
protected org.uberfire.mvp.Command onClickCommand
protected String permission
protected org.uberfire.security.Resource resource
protected org.uberfire.security.ResourceAction resourceAction
protected SectionEntry(String caption)
protected SectionEntry(String caption, org.uberfire.mvp.Command command)
public String getCaption()
public org.uberfire.mvp.Command getOnClickCommand()
public String getPermission()
public void setPermission(String permission)
public org.uberfire.security.Resource getResource()
public void setResource(org.uberfire.security.Resource resource)
public org.uberfire.security.ResourceAction getResourceAction()
public void setResourceAction(org.uberfire.security.ResourceAction resourceAction)
public void addChild(SectionEntry entry)
public List<SectionEntry> getChildren()
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.