Class RolesExplorer
- java.lang.Object
-
- org.uberfire.ext.security.management.client.widgets.management.explorer.AbstractEntityExplorer<org.jboss.errai.security.shared.api.Role>
-
- org.uberfire.ext.security.management.client.widgets.management.explorer.RolesExplorer
-
- All Implemented Interfaces:
com.google.gwt.user.client.ui.IsWidget
@Dependent public class RolesExplorer extends AbstractEntityExplorer<org.jboss.errai.security.shared.api.Role>
Presenter class for roles explorer widget.
By default, the
adminidentifier is constrained.
-
-
Field Summary
-
Fields inherited from class org.uberfire.ext.security.management.client.widgets.management.explorer.AbstractEntityExplorer
errorCallback, PAGE_SIZE, SEARCH_PATTERN_ALL, view, viewCallback
-
-
Constructor Summary
Constructors Constructor Description RolesExplorer(org.uberfire.ext.security.management.client.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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanCreate()protected booleancanRead()protected booleancanSearch()protected voidfireReadEvent(String identifier)protected StringgetEmptyText()protected StringgetEntityId(org.jboss.errai.security.shared.api.Role entity)protected StringgetEntityName(org.jboss.errai.security.shared.api.Role entity)protected StringgetEntityType()protected StringgetTitle()protected voidshowCreate()protected voidshowSearch()-
Methods inherited from class org.uberfire.ext.security.management.client.widgets.management.explorer.AbstractEntityExplorer
asWidget, attemptToShowSearch, clear, createCallback, createParentContext, getSelectedEntities, hasContext, hideLoadingView, init, nullSafe, setPageSize, show, show, showError, showLoadingView
-
-
-
-
Constructor Detail
-
RolesExplorer
@Inject public RolesExplorer(org.uberfire.ext.security.management.client.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)
-
-
Method Detail
-
getEmptyText
protected String getEmptyText()
- Specified by:
getEmptyTextin classAbstractEntityExplorer<org.jboss.errai.security.shared.api.Role>
-
getEntityType
protected String getEntityType()
- Specified by:
getEntityTypein classAbstractEntityExplorer<org.jboss.errai.security.shared.api.Role>
-
getTitle
protected String getTitle()
- Specified by:
getTitlein classAbstractEntityExplorer<org.jboss.errai.security.shared.api.Role>
-
getEntityId
protected String getEntityId(org.jboss.errai.security.shared.api.Role entity)
- Specified by:
getEntityIdin classAbstractEntityExplorer<org.jboss.errai.security.shared.api.Role>
-
getEntityName
protected String getEntityName(org.jboss.errai.security.shared.api.Role entity)
- Specified by:
getEntityNamein classAbstractEntityExplorer<org.jboss.errai.security.shared.api.Role>
-
canSearch
protected boolean canSearch()
- Specified by:
canSearchin classAbstractEntityExplorer<org.jboss.errai.security.shared.api.Role>
-
canCreate
protected boolean canCreate()
- Specified by:
canCreatein classAbstractEntityExplorer<org.jboss.errai.security.shared.api.Role>
-
canRead
protected boolean canRead()
- Specified by:
canReadin classAbstractEntityExplorer<org.jboss.errai.security.shared.api.Role>
-
fireReadEvent
protected void fireReadEvent(String identifier)
- Overrides:
fireReadEventin classAbstractEntityExplorer<org.jboss.errai.security.shared.api.Role>
-
showCreate
protected void showCreate()
- Specified by:
showCreatein classAbstractEntityExplorer<org.jboss.errai.security.shared.api.Role>
-
showSearch
protected void showSearch()
- Specified by:
showSearchin classAbstractEntityExplorer<org.jboss.errai.security.shared.api.Role>
-
-