public final class PermissionOwner extends Object
Permission
s, making it easier for a PermissionProcessor
to check
those.PermissionProcessor
Constructor and Description |
---|
PermissionOwner(Action action)
Creates a new PermissionOwner from an
Action . |
PermissionOwner(ActionRef actionRef)
Creates a new PermissionOwner from
ActionRef . |
PermissionOwner(Config config)
Creates a new PermissionOwner from a
Config . |
PermissionOwner(Datasource datasource)
Creates a new PermissionOwner from a
Datasource . |
PermissionOwner(DatasourceRef datasourceRef)
Creates a new PermissionOwner from an
DatasourceRef . |
PermissionOwner(Event event)
Creates a new PermissionOwner from an
Event . |
PermissionOwner(Link link)
Creates a new PermissionOwner from a
Link . |
PermissionOwner(Linkpanel linkpanel)
Creates a new PermissionOwner from a
Linkpanel . |
PermissionOwner(OutputFormat outputFormat)
Creates a new PermissionOwner from an
OutputFormat . |
PermissionOwner(OutputType outputType)
Creates a new PermissionOwner from an
OutputType . |
PermissionOwner(PageDefinition page)
Creates a new PermissionOwner from
PageDefinition . |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of this
PermissionOwner |
Collection<Permission> |
getPermissions()
Returns all
Permission s owned by this PermissionOwner . |
String |
toString() |
public PermissionOwner(PageDefinition page)
PageDefinition
.page
- the PageDefinition
public PermissionOwner(Event event)
Event
.event
- the Event
public PermissionOwner(Action action)
Action
.action
- the Action
public PermissionOwner(ActionRef actionRef)
ActionRef
.actionRef
- the ActionRef
public PermissionOwner(Datasource datasource)
Datasource
.datasource
- the Datasource
public PermissionOwner(DatasourceRef datasourceRef)
DatasourceRef
.datasourceRef
- the DatasourceRef
public PermissionOwner(OutputType outputType)
OutputType
.outputType
- the OutputType
public PermissionOwner(OutputFormat outputFormat)
OutputFormat
.outputFormat
- the OutputFormat
public PermissionOwner(Link link)
Link
.link
- the Link
public PermissionOwner(Linkpanel linkpanel)
Linkpanel
.linkpanel
- the Linkpanel
public String getName()
PermissionOwner
PermissionOwner
public Collection<Permission> getPermissions()
Permission
s owned by this PermissionOwner
.Permission
sCopyright © 2011–2019 aiticon GmbH. All rights reserved.