public static interface EntitiesExplorerView.ViewContext
The context for the entities explorer view.
The view uses this callback methods for internal features management.
Modifier and Type | Method and Description |
---|---|
boolean |
canCreate()
Allows enabling or disabling the entities creation feature.
|
boolean |
canDelete()
Allows enabling or disabling the entities delete feature.
|
boolean |
canRead()
Allows enabling or disabling the entities read feature.
|
boolean |
canSearch()
Allows enabling or disabling the entities search feature.
|
boolean |
canSelect()
Allows enabling or disabling the entities selection feature.
|
Set<String> |
getConstrainedEntities()
The entity identifiers that cannot be used.
|
Set<String> |
getSelectedEntities()
If
canSelect() is enabled, the entity identifiers specified in the collection values will be mark as selected. |
boolean canSearch()
Allows enabling or disabling the entities search feature.
Two possible values:
true
- The entities explorer widget enables the search feature.false
- The entities explorer widget disables the search feature.boolean canCreate()
Allows enabling or disabling the entities creation feature.
Two possible values:
true
- The entities explorer widget enables the create feature.false
- The entities explorer widget disables the create feature.null
- The entities explorer widget will determine if create is enabled by using the UserSysteManager API.boolean canRead()
Allows enabling or disabling the entities read feature.
Two possible values:
true
- The entities explorer widget enables the read feature.false
- The entities explorer widget disables the read feature.boolean canDelete()
Allows enabling or disabling the entities delete feature.
Two possible values:
true
- The entities explorer widget enables the delete feature.false
- The entities explorer widget disables the delete feature.boolean canSelect()
Allows enabling or disabling the entities selection feature.
Two possible values:
true
- The entities explorer widget enables the selection feature.false
- The entities explorer widget disables the selection feature.Set<String> getSelectedEntities()
If canSelect()
is enabled, the entity identifiers specified in the collection values will be mark as selected.
A collection of the selected entity identifiers present in the entities collection returned by getEntities()
,
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.