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,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,RemediationDirectoryPanel,ReportDirectoryPanel,ResourceDirectoryPanel,ResourceStatusDirectoryPanel,RoleDirectoryPanel,SAML2IdPEntityDirectoryPanel,SAML2IdPsDirectoryPanel,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
Nested ClassesModifier and TypeClassDescriptionstatic classDirectoryPanel.Builder<T extends Serializable,W extends Serializable, E extends RestClient> static classNested classes/interfaces inherited from class org.apache.syncope.client.console.wizards.WizardMgtPanel
WizardMgtPanel.ExitEvent -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ActionLinksTogglePanel<T> protected final WebMarkupContainerContainer used to refresh table.protected DPData provider used to search for entities.protected final booleanSpecify if results are about a filtered search or not.protected Stringprotected static final Loggerprotected static final com.fasterxml.jackson.databind.json.JsonMapperprotected final BasePageOwner page.protected Eprotected AjaxDataTablePanel<T, String> Result table.protected IntegerNumber 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, wizardInModalFields inherited from class org.apache.syncope.client.ui.commons.wizards.AbstractWizardMgtPanel
WIZARD_IDFields 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
ConstructorsModifierConstructorDescriptionDirectoryPanel(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) protectedDirectoryPanel(String id, DirectoryPanel.Builder<T, W, E> builder) protectedDirectoryPanel(String id, DirectoryPanel.Builder<T, W, E> builder, boolean wizardInModal) -
Method Summary
Modifier and TypeMethodDescriptionprotected ActionLinksTogglePanel<T> protected voidCustom action to perform on close callback on finish event.protected abstract DPDirectoryPanel<T, W, DP, E> protected ActionsPanel<T> getActions(IModel<T> model) protected abstract Collection<ActionLink.ActionType> protected ActionsPanel<Serializable> protected ActionLinksTogglePanel<T> protected voidprotected BiConsumer<AjaxRequestTarget, IModel<T>> voidprotected abstract Stringprotected voidresultTableCustomChanges(AjaxDataTablePanel.Builder<T, String> resultTableBuilder) Called before build.voidsearch(AjaxRequestTarget target) protected voidupdateResultTable(boolean create) protected voidupdateResultTable(boolean create, int rows) voidupdateResultTable(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, setWindowClosedReloadCallbackMethods inherited from class org.apache.wicket.markup.html.panel.Panel
getRegionMarkup, newMarkupSourcingStrategyMethods inherited from class org.apache.wicket.markup.html.WebMarkupContainer
getWebApplication, getWebPage, getWebRequest, getWebResponse, getWebSessionMethods 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, visitChildrenMethods 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, wrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.wicket.event.IEventSource
sendMethods inherited from interface org.apache.wicket.IQueueRegion
dequeue, newDequeueContextMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
LOG
-
MAPPER
protected static final com.fasterxml.jackson.databind.json.JsonMapper 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:
onEventin interfaceIEventSink- Overrides:
onEventin classWizardMgtPanel<W extends Serializable>
-
customActionOnFinishCallback
Description copied from class:WizardMgtPanelCustom action to perform on close callback on finish event.- Overrides:
customActionOnFinishCallbackin classWizardMgtPanel<W extends Serializable>- Parameters:
target- Ajax request target.
-
getActions
-
actionTogglePanel
-
getTogglePanel
-
onDoubleClick
-
getBatches
-