@Dependent public class RolesExplorer extends AbstractEntityExplorer<org.jboss.errai.security.shared.api.Role>
Presenter class for roles explorer widget.
By default, the admin
identifier is constrained.
errorCallback, PAGE_SIZE, SEARCH_PATTERN_ALL, view, viewCallback
Constructor and Description |
---|
RolesExplorer(ClientUserSystemManager userSystemManager,
javax.enterprise.event.Event<OnErrorEvent> errorEvent,
LoadingBox loadingBox,
EntitiesList<org.jboss.errai.security.shared.api.Role> entitiesList,
EntitiesExplorerView view,
javax.enterprise.event.Event<ReadRoleEvent> readRoleEvent) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canCreate() |
protected boolean |
canRead() |
protected boolean |
canSearch() |
protected void |
fireReadEvent(String identifier) |
protected String |
getEmptyText() |
protected String |
getEntityId(org.jboss.errai.security.shared.api.Role entity) |
protected String |
getEntityName(org.jboss.errai.security.shared.api.Role entity) |
protected String |
getEntityType() |
protected String |
getTitle() |
protected void |
showCreate() |
protected void |
showSearch() |
asWidget, attemptToShowSearch, clear, createCallback, createParentContext, getSelectedEntities, hasContext, hideLoadingView, init, nullSafe, setPageSize, show, show, showError, showLoadingView
@Inject public RolesExplorer(ClientUserSystemManager userSystemManager, javax.enterprise.event.Event<OnErrorEvent> errorEvent, LoadingBox loadingBox, EntitiesList<org.jboss.errai.security.shared.api.Role> entitiesList, EntitiesExplorerView view, javax.enterprise.event.Event<ReadRoleEvent> readRoleEvent)
protected String getEmptyText()
getEmptyText
in class AbstractEntityExplorer<org.jboss.errai.security.shared.api.Role>
protected String getEntityType()
getEntityType
in class AbstractEntityExplorer<org.jboss.errai.security.shared.api.Role>
protected String getTitle()
getTitle
in class AbstractEntityExplorer<org.jboss.errai.security.shared.api.Role>
protected String getEntityId(org.jboss.errai.security.shared.api.Role entity)
getEntityId
in class AbstractEntityExplorer<org.jboss.errai.security.shared.api.Role>
protected String getEntityName(org.jboss.errai.security.shared.api.Role entity)
getEntityName
in class AbstractEntityExplorer<org.jboss.errai.security.shared.api.Role>
protected boolean canSearch()
canSearch
in class AbstractEntityExplorer<org.jboss.errai.security.shared.api.Role>
protected boolean canCreate()
canCreate
in class AbstractEntityExplorer<org.jboss.errai.security.shared.api.Role>
protected boolean canRead()
canRead
in class AbstractEntityExplorer<org.jboss.errai.security.shared.api.Role>
protected void fireReadEvent(String identifier)
fireReadEvent
in class AbstractEntityExplorer<org.jboss.errai.security.shared.api.Role>
protected void showCreate()
showCreate
in class AbstractEntityExplorer<org.jboss.errai.security.shared.api.Role>
protected void showSearch()
showSearch
in class AbstractEntityExplorer<org.jboss.errai.security.shared.api.Role>
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.