Class AbstractAssignmentTypePanel
- 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<C>
-
- com.evolveum.midpoint.gui.impl.component.ContainerableListPanel<C,PrismContainerValueWrapper<C>>
-
- com.evolveum.midpoint.gui.impl.component.MultivalueContainerListPanel<C>
-
- com.evolveum.midpoint.gui.impl.component.MultivalueContainerListPanelWithDetailsPanel<AssignmentType>
-
- com.evolveum.midpoint.gui.impl.page.admin.assignmentholder.component.assignmentType.AbstractAssignmentTypePanel
-
- 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
- Direct Known Subclasses:
AbstractAssignmentPanel
,AbstractInducementPanel
public abstract class AbstractAssignmentTypePanel extends MultivalueContainerListPanelWithDetailsPanel<AssignmentType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected int
assignmentsRequestsLimit
protected static String
OPERATION_LOAD_ASSIGNMENT_TARGET_RELATIONS
protected static String
OPERATION_LOAD_ASSIGNMENTS_LIMIT
protected static String
OPERATION_LOAD_ASSIGNMENTS_TARGET_OBJ
protected static String
OPERATION_LOAD_FULLTEXT_SEARCH_CONFIGURATION
-
Fields inherited from class com.evolveum.midpoint.gui.impl.component.MultivalueContainerListPanelWithDetailsPanel
ID_DETAILS, ID_ITEM_DETAILS, ID_ITEMS_DETAILS
-
Fields inherited from class com.evolveum.midpoint.gui.impl.component.ContainerableListPanel
OPERATION_EVALUATE_EXPRESSION
-
-
Constructor Summary
Constructors Constructor Description AbstractAssignmentTypePanel(String id, org.apache.wicket.model.IModel<PrismContainerWrapper<AssignmentType>> model, ContainerPanelConfigurationType config, Class<? extends Objectable> type, String oid)
-
Method Summary
-
Methods inherited from class com.evolveum.midpoint.gui.impl.component.MultivalueContainerListPanelWithDetailsPanel
editItemPerformed, getDetailsPanelContainer, getDetailsPanelItemsList, initDetailsPanel, isButtonPanelVisible, isListPanelVisible, itemDetailsPerformed, itemDetailsPerformed, newItemPerformed, setItemDetailsVisible
-
Methods inherited from class com.evolveum.midpoint.gui.impl.component.MultivalueContainerListPanel
createDeleteColumnAction, createEditColumnAction, createNewItemContainerValueWrapper, createStyleClassModelForNewObjectIcon, getDefaultMenuActions, getDefaultSearchItem, getFocusObject, getKeyOfTitleForNewObjectButton, getPerformedSelectedItems, getRowRealValue, getSelectedItems, getSelectedRealObjects
-
Methods inherited from class com.evolveum.midpoint.gui.impl.component.ContainerableListPanel
addCustomActions, addPerformed, clearCache, createCustomExportableColumn, createHeader, createNewButtonDescription, createOptions, createReportPerformed, createSearchModel, createStringResource, customProcessNewRowItem, defaultCollectionExists, enableSavePageSize, evaluateExpression, getAdditionalBoxCssClasses, getAutoRefreshInterval, getCurrentTablePaging, getDataProvider, getDefaultType, getDefaultView, getExportableColumnDataModel, getFeedbackPanel, getObjectCollectionView, getOptions, getPageStorage, getPanelConfiguration, getPreselectedObjectList, getSearchByNameParameterValue, getSearchModel, getSelectedObjects, getSelectedObjectsCount, getStorageKey, getStringValueForObject, getTable, getType, getViewColumnsTransformed, getViewColumnsTransformed, hideFooterIfSinglePage, initItemTable, initSearch, isCollectionViewPanel, isCollectionViewPanelForCompiledView, isCollectionViewPanelForWidget, isHeaderVisible, isNewObjectButtonEnabled, isPagingVisible, isPreview, isRefreshEnabled, loadExportableColumnDataModel, notContainsNameColumn, refreshTable, resetSearchModel, resetTable, saveSearchModel, setAdditionalBoxCssClasses, setDefaultSorting, setManualRefreshEnabled
-
Methods inherited from class com.evolveum.midpoint.gui.api.component.BasePanel
createComponentPath, createModel, createStringResource, createStringResource, createStringResource, createStringResource, createStringResource, createStringResource, getModel, getModelObject, getPageBase, getPrismContext, getSchemaService, getSession, getString, getString, getWebApplicationConfiguration
-
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, 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, 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, wrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
OPERATION_LOAD_ASSIGNMENTS_LIMIT
protected static final String OPERATION_LOAD_ASSIGNMENTS_LIMIT
-
OPERATION_LOAD_ASSIGNMENTS_TARGET_OBJ
protected static final String OPERATION_LOAD_ASSIGNMENTS_TARGET_OBJ
-
OPERATION_LOAD_ASSIGNMENT_TARGET_RELATIONS
protected static final String OPERATION_LOAD_ASSIGNMENT_TARGET_RELATIONS
-
OPERATION_LOAD_FULLTEXT_SEARCH_CONFIGURATION
protected static final String OPERATION_LOAD_FULLTEXT_SEARCH_CONFIGURATION
-
assignmentsRequestsLimit
protected int assignmentsRequestsLimit
-
-
Constructor Detail
-
AbstractAssignmentTypePanel
public AbstractAssignmentTypePanel(String id, org.apache.wicket.model.IModel<PrismContainerWrapper<AssignmentType>> model, ContainerPanelConfigurationType config, Class<? extends Objectable> type, String oid)
-
-
Method Detail
-
setModel
protected void setModel(org.apache.wicket.model.IModel<PrismContainerWrapper<AssignmentType>> model)
-
onInitialize
protected void onInitialize()
- Overrides:
onInitialize
in classMultivalueContainerListPanelWithDetailsPanel<AssignmentType>
-
isCreateNewObjectVisible
protected boolean isCreateNewObjectVisible()
- Specified by:
isCreateNewObjectVisible
in classMultivalueContainerListPanel<AssignmentType>
-
isRepositorySearchEnabled
protected boolean isRepositorySearchEnabled()
-
getContainerModel
protected org.apache.wicket.model.IModel<PrismContainerWrapper<AssignmentType>> getContainerModel()
- Specified by:
getContainerModel
in classMultivalueContainerListPanel<AssignmentType>
-
cancelItemDetailsPerformed
protected void cancelItemDetailsPerformed(org.apache.wicket.ajax.AjaxRequestTarget target)
- Overrides:
cancelItemDetailsPerformed
in classMultivalueContainerListPanelWithDetailsPanel<AssignmentType>
-
createDefaultColumns
protected List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<PrismContainerValueWrapper<AssignmentType>,String>> createDefaultColumns()
- Specified by:
createDefaultColumns
in classContainerableListPanel<AssignmentType,PrismContainerValueWrapper<AssignmentType>>
-
createCheckboxColumn
protected org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<PrismContainerValueWrapper<AssignmentType>,String> createCheckboxColumn()
- Overrides:
createCheckboxColumn
in classMultivalueContainerListPanel<AssignmentType>
-
createIconColumn
protected org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<PrismContainerValueWrapper<AssignmentType>,String> createIconColumn()
- Overrides:
createIconColumn
in classMultivalueContainerListPanel<AssignmentType>
-
createNameColumn
protected org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<PrismContainerValueWrapper<AssignmentType>,String> createNameColumn(org.apache.wicket.model.IModel<String> displayModel, GuiObjectColumnType customColumn, ItemPath itemPath, ExpressionType expression)
- Overrides:
createNameColumn
in classContainerableListPanel<AssignmentType,PrismContainerValueWrapper<AssignmentType>>
-
getPageStorage
protected PageStorage getPageStorage(String storageKey)
- Overrides:
getPageStorage
in classContainerableListPanel<AssignmentType,PrismContainerValueWrapper<AssignmentType>>
-
createInlineMenu
protected List<InlineMenuItem> createInlineMenu()
- Overrides:
createInlineMenu
in classContainerableListPanel<AssignmentType,PrismContainerValueWrapper<AssignmentType>>
-
isMenuItemVisible
protected boolean isMenuItemVisible(org.apache.wicket.model.IModel<PrismContainerValueWrapper<AssignmentType>> rowModel)
- Overrides:
isMenuItemVisible
in classContainerableListPanel<AssignmentType,PrismContainerValueWrapper<AssignmentType>>
-
initColumns
protected abstract List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<PrismContainerValueWrapper<AssignmentType>,String>> initColumns()
-
loadTargetObject
protected <F extends FocusType> PrismObject<F> loadTargetObject(AssignmentType assignmentType)
-
createToolbarButtonsList
protected List<org.apache.wicket.Component> createToolbarButtonsList(String idButton)
- Overrides:
createToolbarButtonsList
in classMultivalueContainerListPanel<AssignmentType>
-
newAssignmentClickPerformed
protected void newAssignmentClickPerformed(org.apache.wicket.ajax.AjaxRequestTarget target)
-
getObjectTypesList
protected List<ObjectTypes> getObjectTypesList()
-
getTargetTypeFilter
protected RefFilter getTargetTypeFilter()
-
getSubtypeFilter
protected ObjectFilter getSubtypeFilter()
-
createAssignmentPopupModel
protected abstract org.apache.wicket.model.IModel<AssignmentPopupDto> createAssignmentPopupModel()
-
getAssignmentType
protected abstract QName getAssignmentType()
-
addSelectedAssignmentsPerformed
protected void addSelectedAssignmentsPerformed(org.apache.wicket.ajax.AjaxRequestTarget target, List<AssignmentType> newAssignmentsList)
-
deleteItemPerformed
public void deleteItemPerformed(org.apache.wicket.ajax.AjaxRequestTarget target, List<PrismContainerValueWrapper<AssignmentType>> toDeleteList)
- Overrides:
deleteItemPerformed
in classMultivalueContainerListPanel<AssignmentType>
-
providerFactory
protected ContainerValueDataProviderFactory<AssignmentType,?> providerFactory()
-
createProvider
protected ISelectableDataProvider<PrismContainerValueWrapper<AssignmentType>> createProvider()
- Overrides:
createProvider
in classMultivalueContainerListPanel<AssignmentType>
-
loadValuesModel
protected org.apache.wicket.model.IModel<List<PrismContainerValueWrapper<AssignmentType>>> loadValuesModel()
-
customPostSearch
protected List<PrismContainerValueWrapper<AssignmentType>> customPostSearch(List<PrismContainerValueWrapper<AssignmentType>> assignments)
-
getCustomizeQuery
protected abstract ObjectQuery getCustomizeQuery()
-
prefilterUsingQuery
protected List<PrismContainerValueWrapper<AssignmentType>> prefilterUsingQuery(List<PrismContainerValueWrapper<AssignmentType>> list, ObjectQuery query)
-
getMultivalueContainerDetailsPanel
protected MultivalueContainerDetailsPanel<AssignmentType> getMultivalueContainerDetailsPanel(org.apache.wicket.markup.html.list.ListItem<PrismContainerValueWrapper<AssignmentType>> item)
- Specified by:
getMultivalueContainerDetailsPanel
in classMultivalueContainerListPanelWithDetailsPanel<AssignmentType>
-
isEntitlementAssignment
protected boolean isEntitlementAssignment()
-
getTableId
protected abstract UserProfileStorage.TableId getTableId()
- Specified by:
getTableId
in classContainerableListPanel<AssignmentType,PrismContainerValueWrapper<AssignmentType>>
-
createSearch
protected Search createSearch(Class<AssignmentType> type)
- Overrides:
createSearch
in classMultivalueContainerListPanel<AssignmentType>
-
initSearchableItems
protected List<SearchItemDefinition> initSearchableItems(PrismContainerDefinition<AssignmentType> containerDef)
- Overrides:
initSearchableItems
in classMultivalueContainerListPanel<AssignmentType>
-
initSearchableItemWrappers
protected List<? super AbstractSearchItemWrapper> initSearchableItemWrappers(PrismContainerDefinition<AssignmentType> containerDef)
- Overrides:
initSearchableItemWrappers
in classMultivalueContainerListPanel<AssignmentType>
-
createSearchableItems
@Deprecated protected List<SearchItemDefinition> createSearchableItems(PrismContainerDefinition<AssignmentType> containerDef)
Deprecated.
-
createSearchableItemWrappers
protected List<? super AbstractSearchItemWrapper> createSearchableItemWrappers(PrismContainerDefinition<AssignmentType> containerDef)
-
getTypeDefinitionForSearch
protected PrismContainerDefinition<AssignmentType> getTypeDefinitionForSearch()
- Overrides:
getTypeDefinitionForSearch
in classMultivalueContainerListPanel<AssignmentType>
-
getContainerDefinitionForColumns
protected PrismContainerDefinition<AssignmentType> getContainerDefinitionForColumns()
- Overrides:
getContainerDefinitionForColumns
in classContainerableListPanel<AssignmentType,PrismContainerValueWrapper<AssignmentType>>
-
addSpecificSearchableItems
@Deprecated protected abstract void addSpecificSearchableItems(PrismContainerDefinition<AssignmentType> containerDef, List<SearchItemDefinition> defs)
Deprecated.
-
addSpecificSearchableItemWrappers
protected abstract void addSpecificSearchableItemWrappers(PrismContainerDefinition<AssignmentType> containerDef, List<? super AbstractSearchItemWrapper> defs)
-
isNewObjectButtonVisible
protected <AH extends AssignmentHolderType> boolean isNewObjectButtonVisible(PrismObject<AH> focusObject)
-
-