Class DirectoryPanel<T extends Serializable,W extends Serializable,DP extends DirectoryDataProvider<T>,E extends RestClient>
java.lang.Object
org.apache.wicket.Component
org.apache.wicket.MarkupContainer
org.apache.wicket.markup.html.WebMarkupContainer
org.apache.wicket.markup.html.panel.Panel
org.apache.syncope.client.ui.commons.wizards.AbstractWizardMgtPanel<W>
org.apache.syncope.client.console.wizards.WizardMgtPanel<W>
org.apache.syncope.client.console.panels.DirectoryPanel<T,W,DP,E>
- All Implemented Interfaces:
Serializable
,Iterable<Component>
,IEventSink
,IEventSource
,IFeedbackContributor
,IConverterLocator
,IMetadataContext<Serializable,
,Component> IQueueRegion
,IHeaderContributor
,IRequestableComponent
,IHierarchical<Component>
,IClusterable
- Direct Known Subclasses:
AccessTokenDirectoryPanel
,AMSessionDirectoryPanel
,AnyDirectoryPanel
,AnyStatusDirectoryPanel
,ApplicationDirectoryPanel
,AttrListDirectoryPanel
,AttrRepoDirectoryPanel
,AuthModuleDirectoryPanel
,AuthProfileDirectoryPanel
,AuthProfileItemDirectoryPanel
,BpmnProcessDirectoryPanel
,ClientAppDirectoryPanel
,CommandComposeDirectoryPanel
,CommandDirectoryPanel
,ConnectorDirectoryPanel
,ConnidLocations
,DelegationDirectoryPanel
,DomainDirectoryPanel
,DynRealmDirectoryPanel
,ExecutionsDirectoryPanel
,FIQLQueryDirectoryPanel
,ImplementationDirectoryPanel
,JobWidget.AvailableJobsPanel
,MailTemplateDirectoryPanel
,MergeLinkedAccountsResourcesPanel.ResourceSelectionDirectoryPanel
,MergeLinkedAccountsReviewPanel.LinkedAccountsReviewDirectoryPanel
,NetworkServiceDirectoryPanel
,NotificationDirectoryPanel
,OIDCProvidersDirectoryPanel
,ParametersDirectoryPanel
,PolicyDirectoryPanel
,PolicyRuleDirectoryPanel
,PrivilegeDirectoryPanel
,RemediationDirectoryPanel
,ReportDirectoryPanel
,ResourceDirectoryPanel
,ResourceStatusDirectoryPanel
,RoleDirectoryPanel
,SAML2IdPEntityDirectoryPanel
,SAML2IdPsDirectoryPanel
,SAML2SPEntityDirectoryPanel
,SecurityQuestionsPanel
,SRARouteDirectoryPanel
,TaskDirectoryPanel
,TypeExtensionDirectoryPanel
,TypesDirectoryPanel
,UserRequestDirectoryPanel
,UserRequestFormDirectoryPanel
public abstract class DirectoryPanel<T extends Serializable,W extends Serializable,DP extends DirectoryDataProvider<T>,E extends RestClient>
extends WizardMgtPanel<W>
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
DirectoryPanel.Builder<T extends Serializable,
W extends Serializable, E extends RestClient> static class
Nested classes/interfaces inherited from class org.apache.syncope.client.console.wizards.WizardMgtPanel
WizardMgtPanel.ExitEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected final ActionLinksTogglePanel
<T> protected final WebMarkupContainer
Container used to refresh table.protected DP
Data provider used to search for entities.protected final boolean
Specify if results are about a filtered search or not.protected String
protected static final Logger
protected static final JsonMapper
protected final BasePage
Owner page.protected E
protected AjaxDataTablePanel
<T, String> Result table.protected Integer
Number of rows per page.Fields inherited from class org.apache.syncope.client.console.wizards.WizardMgtPanel
actualId, addAjaxLink, footerVisibility, initialFragment, modal, newItemPanelBuilder, notificationPanel, pageRef, showResultPanel, utilityAjaxLink, utilityIcon, wizardInModal
Fields inherited from class org.apache.syncope.client.ui.commons.wizards.AbstractWizardMgtPanel
WIZARD_ID
Fields inherited from class org.apache.wicket.Component
ENABLE, FLAG_INITIALIZED, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER, RFLAG_CONTAINER_DEQUEING, RFLAG_CONTAINER_HAS_REMOVALS
-
Constructor Summary
ModifierConstructorDescriptionDirectoryPanel
(String id, E restClient, PageReference pageRef) Create simple unfiltered search result panel.DirectoryPanel
(String id, E restClient, PageReference pageRef, boolean wizardInModal) DirectoryPanel
(String id, E restClient, PageReference pageRef, boolean showPaginator, boolean wizardInModal) protected
DirectoryPanel
(String id, DirectoryPanel.Builder<T, W, E> builder) protected
DirectoryPanel
(String id, DirectoryPanel.Builder<T, W, E> builder, boolean wizardInModal) -
Method Summary
Modifier and TypeMethodDescriptionprotected ActionLinksTogglePanel
<T> protected void
Custom action to perform on close callback on finish event.protected abstract DP
DirectoryPanel
<T, W, DP, E> protected ActionsPanel
<T> getActions
(IModel<T> model) protected abstract Collection
<ActionLink.ActionType> protected ActionsPanel
<Serializable> protected ActionLinksTogglePanel
<T> protected void
protected BiConsumer
<AjaxRequestTarget, IModel<T>> void
protected abstract String
protected void
resultTableCustomChanges
(AjaxDataTablePanel.Builder<T, String> resultTableBuilder) Called before build.void
search
(AjaxRequestTarget target) protected void
updateResultTable
(boolean create) protected void
updateResultTable
(boolean create, int rows) void
updateResultTable
(AjaxRequestTarget target) Methods inherited from class org.apache.syncope.client.console.wizards.WizardMgtPanel
addInnerObject, addNewItemPanelBuilder, addNotificationPanel, addOrReplaceInnerObject, addOuterObject, customActionCallback, customActionOnCancelCallback, customResultBody, disableContainerAutoRefresh, enableUtilityButton, getActualId, isReadOnly, setFooterVisibility, setPageRef, setReadOnly, setShowResultPanel, setWindowClosedReloadCallback
Methods inherited from class org.apache.wicket.markup.html.panel.Panel
getRegionMarkup, newMarkupSourcingStrategy
Methods inherited from class org.apache.wicket.markup.html.WebMarkupContainer
getWebApplication, getWebPage, getWebRequest, getWebResponse, getWebSession
Methods inherited from class org.apache.wicket.MarkupContainer
add, addDequeuedComponent, addOrReplace, autoAdd, canDequeueTag, contains, dequeue, dequeue, dequeuePreamble, findChildComponent, findComponentToDequeue, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, newDequeueContext, onComponentTagBody, onDetach, onInitialize, onRender, queue, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, stream, streamChildren, toString, toString, visitChildren, visitChildren
Methods inherited from class org.apache.wicket.Component
add, addStateChange, beforeRender, canCallListener, canCallListenerAfterExpiry, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, createConverter, debug, detach, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMarkupTag, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, internalRenderComponent, internalRenderHead, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isInitialized, isRenderAllowed, isRendering, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, onAfterRender, onBeforeRender, onComponentTag, onConfigure, onModelChanged, onModelChanging, onReAdd, onRemove, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderPart, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlForListener, urlForListener, visitParents, visitParents, warn, wrap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.wicket.event.IEventSource
send
Methods inherited from interface org.apache.wicket.IQueueRegion
dequeue, newDequeueContext
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
LOG
-
MAPPER
-
restClient
-
rows
Number of rows per page. -
container
Container used to refresh table. -
filtered
protected final boolean filteredSpecify if results are about a filtered search or not. Using this attribute it is possible to use this panel to show results about entity list and search. -
resultTable
Result table. -
dataProvider
Data provider used to search for entities. -
page
Owner page. -
itemKeyFieldName
-
altDefaultModal
-
displayAttributeModal
-
actionTogglePanel
-
-
Constructor Details
-
DirectoryPanel
Create simple unfiltered search result panel. Use the available builder for powerful configuration options.- Parameters:
id
- panel id.restClient
- REST clientpageRef
- page reference.
-
DirectoryPanel
-
DirectoryPanel
public DirectoryPanel(String id, E restClient, PageReference pageRef, boolean showPaginator, boolean wizardInModal) -
DirectoryPanel
-
DirectoryPanel
-
-
Method Details
-
dataProvider
-
paginatorRowsKey
-
getColumns
-
initResultTable
protected void initResultTable() -
getHeader
-
search
-
updateResultTable
-
updateResultTable
protected void updateResultTable(boolean create) -
updateResultTable
protected void updateResultTable(boolean create, int rows) -
resultTableCustomChanges
Called before build. Override it to customize result table.- Parameters:
resultTableBuilder
- result table builder.
-
disableCheckBoxes
-
onEvent
- Specified by:
onEvent
in interfaceIEventSink
- Overrides:
onEvent
in classWizardMgtPanel<W extends Serializable>
-
customActionOnFinishCallback
Description copied from class:WizardMgtPanel
Custom action to perform on close callback on finish event.- Overrides:
customActionOnFinishCallback
in classWizardMgtPanel<W extends Serializable>
- Parameters:
target
- Ajax request target.
-
getActions
-
actionTogglePanel
-
getTogglePanel
-
onDoubleClick
-
getBatches
-