Class AnyDirectoryPanel<A extends AnyTO,E extends AbstractAnyRestClient<A>>
- 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<T>
-
- org.apache.syncope.client.console.wizards.WizardMgtPanel<W>
-
- org.apache.syncope.client.console.panels.DirectoryPanel<A,AnyWrapper<A>,AnyDataProvider<A>,E>
-
- org.apache.syncope.client.console.panels.AnyDirectoryPanel<A,E>
-
- All Implemented Interfaces:
Serializable
,Iterable<Component>
,IEventSink
,IEventSource
,IFeedbackContributor
,IConverterLocator
,IMetadataContext<Serializable,Component>
,IQueueRegion
,IHeaderContributor
,IRequestableComponent
,IHierarchical<Component>
,IClusterable
- Direct Known Subclasses:
AnyObjectDirectoryPanel
,AnySelectionDirectoryPanel
,GroupDirectoryPanel
,UserDirectoryPanel
public abstract class AnyDirectoryPanel<A extends AnyTO,E extends AbstractAnyRestClient<A>> extends DirectoryPanel<A,AnyWrapper<A>,AnyDataProvider<A>,E>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AnyDirectoryPanel.AnyDirectoryPanelBuilder
static class
AnyDirectoryPanel.Builder<A extends AnyTO,E extends AbstractAnyRestClient<A>>
-
Nested classes/interfaces inherited from class org.apache.syncope.client.console.panels.DirectoryPanel
DirectoryPanel.EventDataWrapper
-
Nested classes/interfaces inherited from class org.apache.syncope.client.console.wizards.WizardMgtPanel
WizardMgtPanel.ExitEvent
-
-
Field Summary
Fields Modifier and Type Field Description protected AuditRestClient
auditRestClient
protected List<DerSchemaTO>
derSchemas
protected String
fiql
Filter used in case of filtered search.protected List<PlainSchemaTO>
plainSchemas
protected String
realm
Realm related to current panel.protected SchemaRestClient
schemaRestClient
protected String
type
Any type related to current panel.protected BaseModal<Serializable>
utilityModal
-
Fields inherited from class org.apache.syncope.client.console.panels.DirectoryPanel
actionTogglePanel, altDefaultModal, container, dataProvider, displayAttributeModal, filtered, itemKeyFieldName, LOG, MAPPER, page, restClient, resultTable, rows
-
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
Constructors Modifier Constructor Description protected
AnyDirectoryPanel(String id, AnyDirectoryPanel.Builder<A,E> builder)
protected
AnyDirectoryPanel(String id, AnyDirectoryPanel.Builder<A,E> builder, boolean wizardInModal)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
addPropertyColumn(String name, Field field, List<IColumn<A,String>> columns)
protected Panel
customResultBody(String panelId, AnyWrapper<A> item, Serializable result)
protected AnyDataProvider<A>
dataProvider()
protected Collection<ActionLink.ActionType>
getBatches()
protected List<IColumn<A,String>>
getColumns()
AnyDataProvider<A>
getDataProvider()
protected abstract String[]
getDefaultAttributeSelection()
void
search(String fiql, AjaxRequestTarget target)
-
Methods inherited from class org.apache.syncope.client.console.panels.DirectoryPanel
actionTogglePanel, customActionOnFinishCallback, disableCheckBoxes, getActions, getHeader, getTogglePanel, initResultTable, onEvent, paginatorRowsKey, resultTableCustomChanges, search, updateResultTable, updateResultTable, updateResultTable
-
Methods inherited from class org.apache.syncope.client.console.wizards.WizardMgtPanel
addInnerObject, addNewItemPanelBuilder, addNotificationPanel, addOrReplaceInnerObject, addOuterObject, customActionCallback, customActionOnCancelCallback, 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, 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 Detail
-
schemaRestClient
@SpringBean protected SchemaRestClient schemaRestClient
-
auditRestClient
@SpringBean protected AuditRestClient auditRestClient
-
plainSchemas
protected final List<PlainSchemaTO> plainSchemas
-
derSchemas
protected final List<DerSchemaTO> derSchemas
-
fiql
protected String fiql
Filter used in case of filtered search.
-
realm
protected final String realm
Realm related to current panel.
-
type
protected final String type
Any type related to current panel.
-
utilityModal
protected final BaseModal<Serializable> utilityModal
-
-
Constructor Detail
-
AnyDirectoryPanel
protected AnyDirectoryPanel(String id, AnyDirectoryPanel.Builder<A,E> builder)
-
AnyDirectoryPanel
protected AnyDirectoryPanel(String id, AnyDirectoryPanel.Builder<A,E> builder, boolean wizardInModal)
-
-
Method Detail
-
getColumns
protected List<IColumn<A,String>> getColumns()
- Specified by:
getColumns
in classDirectoryPanel<A extends AnyTO,AnyWrapper<A extends AnyTO>,AnyDataProvider<A extends AnyTO>,E extends AbstractAnyRestClient<A>>
-
getDefaultAttributeSelection
protected abstract String[] getDefaultAttributeSelection()
-
addPropertyColumn
protected void addPropertyColumn(String name, Field field, List<IColumn<A,String>> columns)
-
dataProvider
protected AnyDataProvider<A> dataProvider()
- Specified by:
dataProvider
in classDirectoryPanel<A extends AnyTO,AnyWrapper<A extends AnyTO>,AnyDataProvider<A extends AnyTO>,E extends AbstractAnyRestClient<A>>
-
getDataProvider
public AnyDataProvider<A> getDataProvider()
-
search
public void search(String fiql, AjaxRequestTarget target)
-
getBatches
protected Collection<ActionLink.ActionType> getBatches()
- Specified by:
getBatches
in classDirectoryPanel<A extends AnyTO,AnyWrapper<A extends AnyTO>,AnyDataProvider<A extends AnyTO>,E extends AbstractAnyRestClient<A>>
-
customResultBody
protected Panel customResultBody(String panelId, AnyWrapper<A> item, Serializable result)
- Overrides:
customResultBody
in classWizardMgtPanel<AnyWrapper<A extends AnyTO>>
-
-