Class AssociationTablePanel
java.lang.Object
org.apache.wicket.Component
org.apache.wicket.MarkupContainer
org.apache.wicket.markup.html.WebMarkupContainer
org.apache.wicket.markup.html.panel.Panel
com.evolveum.midpoint.gui.api.component.BasePanel<O>
com.evolveum.midpoint.gui.impl.component.tile.TileTablePanel<T,O>
com.evolveum.midpoint.gui.impl.component.tile.SingleSelectTileTablePanel<O,T>
com.evolveum.midpoint.gui.impl.component.tile.MultiSelectTileTablePanel<E,PrismContainerValueWrapper<C>,T>
com.evolveum.midpoint.gui.impl.component.tile.MultiSelectContainerActionTileTablePanel<PrismContainerValueWrapper<ShadowAssociationTypeDefinitionType>,ShadowAssociationTypeDefinitionType,SmartAssociationTileModel>
com.evolveum.midpoint.gui.impl.page.admin.resource.component.AssociationTablePanel
- All Implemented Interfaces:
Serializable,Iterable<org.apache.wicket.Component>,org.apache.wicket.event.IEventSink,org.apache.wicket.event.IEventSource,org.apache.wicket.feedback.IFeedbackContributor,org.apache.wicket.IConverterLocator,org.apache.wicket.IMetadataContext<Serializable,,org.apache.wicket.Component> org.apache.wicket.IQueueRegion,org.apache.wicket.markup.html.IHeaderContributor,org.apache.wicket.request.component.IRequestableComponent,org.apache.wicket.util.IHierarchical<org.apache.wicket.Component>,org.apache.wicket.util.io.IClusterable
public abstract class AssociationTablePanel
extends MultiSelectContainerActionTileTablePanel<PrismContainerValueWrapper<ShadowAssociationTypeDefinitionType>,ShadowAssociationTypeDefinitionType,SmartAssociationTileModel>
- See Also:
-
Field Summary
Fields inherited from class com.evolveum.midpoint.gui.impl.component.tile.MultiSelectTileTablePanel
ID_SELECTED_ITEMS_CONTAINERFields inherited from class com.evolveum.midpoint.gui.impl.component.tile.TileTablePanel
ID_TABLE, ID_TILE, ID_TILES, ID_TILES_FRAGMENTFields inherited from class org.apache.wicket.markup.html.panel.Panel
PANELFields 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
ConstructorsConstructorDescriptionAssociationTablePanel(String id, UserProfileStorage.TableId tableId, org.apache.wicket.model.IModel<ViewToggle> toggleView, org.apache.wicket.model.IModel<Boolean> switchModel) -
Method Summary
Modifier and TypeMethodDescriptionprotected AjaxIconButtonprotected AjaxIconButtoncreateAcceptDiscardBulkActionButton(String id, org.apache.wicket.model.IModel<String> iconCss, String labelKey, String cssClass, boolean isAccept) @NotNull org.apache.wicket.ComponentcreateDetailsPanel(String id, PrismContainerValueWrapper<ShadowAssociationTypeDefinitionType> value, @NotNull org.apache.wicket.model.IModel<Boolean> isDetailedView) protected AjaxIconButtonprotected List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<PrismContainerValueWrapper<ShadowAssociationTypeDefinitionType>,String>> Subclasses provide the domain columns only.protected org.apache.wicket.markup.html.WebMarkupContainercreateTablePanel(String idTable, org.apache.wicket.extensions.markup.html.repeater.data.table.ISortableDataProvider<PrismContainerValueWrapper<ShadowAssociationTypeDefinitionType>, String> provider, UserProfileStorage.TableId tableId) protected org.apache.wicket.ComponentcreateTile(String id, org.apache.wicket.model.IModel<SmartAssociationTileModel> model) protected SmartAssociationTileModelprotected List<org.apache.wicket.Component>createToolbarButtonsList(String idButton) voiddeleteItemPerformed(org.apache.wicket.ajax.AjaxRequestTarget target, List<PrismContainerValueWrapper<ShadowAssociationTypeDefinitionType>> toDelete, boolean refresh) protected voidprotected org.apache.wicket.model.IModel<String>protected org.apache.wicket.model.IModel<String>protected abstract ResourceTypeprotected org.apache.wicket.model.IModel<List<PrismContainerValueWrapper<ShadowAssociationTypeDefinitionType>>>protected StatusAwareDataProvider<?>protected abstract StatusAwareDataFactory.SuggestionsModelDto<ShadowAssociationTypeDefinitionType>protected Stringprotected Stringprotected Stringprotected Class<? extends Containerable>getType()protected booleanprotected voidnewItemPerformed(PrismContainerValue<ShadowAssociationTypeDefinitionType> value, org.apache.wicket.ajax.AjaxRequestTarget target, AssignmentObjectRelation relationSpec, boolean isDuplicate, StatusInfo<?> statusInfo) abstract voidnewItemPerformedAction(PrismContainerValue<ShadowAssociationTypeDefinitionType> value, org.apache.wicket.ajax.AjaxRequestTarget target, AssignmentObjectRelation relationSpec, boolean isDuplicate, StatusInfo<?> statusInfo) protected abstract voidonReviewValue(@NotNull org.apache.wicket.model.IModel<PrismContainerValueWrapper<ShadowAssociationTypeDefinitionType>> valueModel, org.apache.wicket.ajax.AjaxRequestTarget target, StatusInfo<?> statusInfo, @Nullable SerializableConsumer<org.apache.wicket.ajax.AjaxRequestTarget> postSaveHandler) abstract voidperformAcceptOperationAction(@NotNull org.apache.wicket.ajax.AjaxRequestTarget target, PrismContainerValueWrapper<ShadowAssociationTypeDefinitionType> value) abstract voidperformEditOperationAction(@NotNull org.apache.wicket.ajax.AjaxRequestTarget target, PrismContainerValueWrapper<ShadowAssociationTypeDefinitionType> value) protected booleanperformOnDeleteSuggestion(@NotNull PageBase pageBase, org.apache.wicket.ajax.AjaxRequestTarget target, PrismContainerValueWrapper<ShadowAssociationTypeDefinitionType> valueWrapper, @Nullable StatusInfo<?> statusInfo) Methods inherited from class com.evolveum.midpoint.gui.impl.component.tile.MultiSelectContainerActionTileTablePanel
createAcceptButton, createColumns, createDeleteColumnAction, createDeleteItemMenu, createDiscardButton, createDuplicateInlineMenu, createEditColumnAction, createEditInlineMenu, createHeaderContainer, createNewItemContainerValueWrapper, createNewObjectPerformButton, createNewValue, createProvider, createSuggestObjectButton, createTableActionToolbar, createToggleSuggestionButton, customizeNewRowItem, customizeTileItemCss, deleteConfirmationTitle, displayNoValuePanel, editItemPerformed, getAcceptButtonCssClass, getAdditionalBoxCssClasses, getAdditionalFooterCss, getAdditionalHeaderContainerCssClasses, getAdditionalTableCssClasses, getComponentToFocusAfterAiToggle, getContainerModel, getContainerModel, getDefaultMenuActions, getDiscardButtonCssClass, getInlineMenuItems, getMultiTableModel, getSelectedContainerItemsModel, getStatusInfoObject, getStatusInfoToken, getSwitchToggleModel, getTilesContainerAdditionalClass, getTilesFooterCssClasses, isDuplicationSupported, isSelectedItemsPanelVisible, isShowSuggestionsButtonVisible, isSuggestButtonVisible, isTableRowSelectable, isTogglePanelVisible, isToggleSuggestionVisible, noSelectedItemsWarn, onAcceptPerformed, onCreateNewObjectPerform, onSuggestNewPerformed, refreshAndDetach, resolveDeletedItem, setDefaultPagingSize, showActionsColumn, showCheckboxColumn, suggestionConfirmationOptions, togglePanelItemSelectPerformed, updateRowCssBasedValueStatusMethods inherited from class com.evolveum.midpoint.gui.impl.component.tile.MultiSelectTileTablePanel
createHeaderFragment, createToolbarButtons, getSelectedItemPanel, idToolbarButtonsVisible, processSelectOrDeselectItem, refreshMethods inherited from class com.evolveum.midpoint.gui.impl.component.tile.SingleSelectTileTablePanel
createSearchModel, getAdditionalSearchContext, getCompiledCollectionViewFromPanelConfiguration, getContainerConfiguration, getCustomQuery, getPageStorage, getSearchOptions, isFullTextSearchEnabledMethods inherited from class com.evolveum.midpoint.gui.impl.component.tile.TileTablePanel
adjustPagingIfEmpty, adjustPagingIfEmpty, createHeader, createNoValueButtonToolbar, createPanelForNoValue, createTableButtonToolbar, createTilesButtonToolbar, createTilesContainer, createTilesPanel, getAllItems, getBoxedTablePanelComponent, getCurrentPageItems, getCurrentPageItems, getHeaderFragmentVisibility, getNoValuePanelAdditionalCssClass, getProvider, getSearchModel, getTableId, getTileRole, getTiles, getTilesContainerRole, getTilesHeaderCssClasses, getTilesModel, getTilesNavigation, getTileTableComponent, getViewToggleModel, initHeaderFragment, initTable, isNavigatorPanelVisible, isTableVisible, isTileViewVisible, navigateToLastPage, onInitialize, setCurrentPage, showFooter, updateTileViewMethods inherited from class com.evolveum.midpoint.gui.api.component.BasePanel
createComponentPath, createModel, createStringResource, createStringResource, createStringResource, createStringResource, createStringResource, createStringResource, createStringResource, getBrowserTabSessionStorage, getFeedbackPanel, getMidpointConfiguration, getModel, getModelObject, getPageBase, getParentPage, getPrismContext, getRegistry, getSchemaService, getSession, getSessionStorage, getString, getString, getSubscriptionState, getWebApplicationConfiguration, showResultMethods 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, 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, 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, onEvent, 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.IQueueRegion
dequeue, newDequeueContextMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
AssociationTablePanel
public AssociationTablePanel(String id, UserProfileStorage.TableId tableId, org.apache.wicket.model.IModel<ViewToggle> toggleView, org.apache.wicket.model.IModel<Boolean> switchModel)
-
-
Method Details
-
getType
-
getTileCssStyle
-
getTileCssClasses
-
getTileContainerCssClass
-
getNewObjectButtonLabel
-
newItemPerformed
protected void newItemPerformed(PrismContainerValue<ShadowAssociationTypeDefinitionType> value, org.apache.wicket.ajax.AjaxRequestTarget target, AssignmentObjectRelation relationSpec, boolean isDuplicate, StatusInfo<?> statusInfo) -
createTileObject
protected SmartAssociationTileModel createTileObject(PrismContainerValueWrapper<ShadowAssociationTypeDefinitionType> object) -
createTile
protected org.apache.wicket.Component createTile(String id, org.apache.wicket.model.IModel<SmartAssociationTileModel> model) -
createDataProvider
protected MultivalueContainerListDataProvider<ShadowAssociationTypeDefinitionType> createDataProvider() -
createDomainColumns
protected List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<PrismContainerValueWrapper<ShadowAssociationTypeDefinitionType>,String>> createDomainColumns()Description copied from class:MultiSelectContainerActionTileTablePanelSubclasses provide the domain columns only. -
deselectItem
-
getItemLabelModel
protected org.apache.wicket.model.IModel<String> getItemLabelModel(PrismContainerValueWrapper<ShadowAssociationTypeDefinitionType> entry) -
getSelectedItemsModel
protected org.apache.wicket.model.IModel<List<PrismContainerValueWrapper<ShadowAssociationTypeDefinitionType>>> getSelectedItemsModel() -
createToolbarButtonsList
-
createTablePanel
protected org.apache.wicket.markup.html.WebMarkupContainer createTablePanel(String idTable, org.apache.wicket.extensions.markup.html.repeater.data.table.ISortableDataProvider<PrismContainerValueWrapper<ShadowAssociationTypeDefinitionType>, String> provider, UserProfileStorage.TableId tableId) -
createDetailsPanel
@NotNull public @NotNull org.apache.wicket.Component createDetailsPanel(String id, PrismContainerValueWrapper<ShadowAssociationTypeDefinitionType> value, @NotNull @NotNull org.apache.wicket.model.IModel<Boolean> isDetailedView) -
performOnDeleteSuggestion
protected boolean performOnDeleteSuggestion(@NotNull @NotNull PageBase pageBase, org.apache.wicket.ajax.AjaxRequestTarget target, PrismContainerValueWrapper<ShadowAssociationTypeDefinitionType> valueWrapper, @Nullable @Nullable StatusInfo<?> statusInfo) -
deleteItemPerformed
public void deleteItemPerformed(org.apache.wicket.ajax.AjaxRequestTarget target, List<PrismContainerValueWrapper<ShadowAssociationTypeDefinitionType>> toDelete, boolean refresh) -
newItemPerformedAction
public abstract void newItemPerformedAction(PrismContainerValue<ShadowAssociationTypeDefinitionType> value, org.apache.wicket.ajax.AjaxRequestTarget target, AssignmentObjectRelation relationSpec, boolean isDuplicate, StatusInfo<?> statusInfo) -
performAcceptOperationAction
public abstract void performAcceptOperationAction(@NotNull @NotNull org.apache.wicket.ajax.AjaxRequestTarget target, PrismContainerValueWrapper<ShadowAssociationTypeDefinitionType> value) -
performEditOperationAction
public abstract void performEditOperationAction(@NotNull @NotNull org.apache.wicket.ajax.AjaxRequestTarget target, PrismContainerValueWrapper<ShadowAssociationTypeDefinitionType> value) -
createDiscardAllButton
-
createAcceptAllButton
-
createAcceptDiscardBulkActionButton
protected AjaxIconButton createAcceptDiscardBulkActionButton(String id, org.apache.wicket.model.IModel<String> iconCss, String labelKey, String cssClass, boolean isAccept) -
getStatusAwareDataProvider
-
onReviewValue
protected abstract void onReviewValue(@NotNull @NotNull org.apache.wicket.model.IModel<PrismContainerValueWrapper<ShadowAssociationTypeDefinitionType>> valueModel, org.apache.wicket.ajax.AjaxRequestTarget target, StatusInfo<?> statusInfo, @Nullable @Nullable SerializableConsumer<org.apache.wicket.ajax.AjaxRequestTarget> postSaveHandler) -
getSuggestionsModelDto
protected abstract StatusAwareDataFactory.SuggestionsModelDto<ShadowAssociationTypeDefinitionType> getSuggestionsModelDto() -
getResourceType
-
isHeaderPanelHeaderVisible
protected boolean isHeaderPanelHeaderVisible()
-