Class TaskTablePanel
- 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<O,SelectableBean<O>>
-
- com.evolveum.midpoint.gui.api.component.ObjectListPanel<O>
-
- com.evolveum.midpoint.gui.api.component.MainObjectListPanel<TaskType>
-
- com.evolveum.midpoint.web.page.admin.server.TaskTablePanel
-
- 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 TaskTablePanel extends MainObjectListPanel<TaskType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
OPERATION_DELETE_ACTIVITY_STATE_AND_WORKERS
static String
OPERATION_DELETE_ALL_CLOSED_TASKS
static String
OPERATION_DELETE_TASKS
static String
OPERATION_DELETE_WORK_STATE
static String
OPERATION_RECONCILE_WORKERS
static String
OPERATION_RESUME_TASK
static String
OPERATION_SCHEDULE_TASKS
static String
OPERATION_SUSPEND_TASK
static long
WAIT_FOR_TASK_STOP
-
Constructor Summary
Constructors Constructor Description TaskTablePanel(String id, Collection<SelectorOptions<GetOperationOptions>> options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<TaskType>,String>>
createDefaultColumns()
protected List<InlineMenuItem>
createInlineMenu()
protected List<org.apache.wicket.Component>
createToolbarButtonsList(String buttonId)
protected List<CompiledObjectCollectionView>
getAllApplicableArchetypeViews()
protected @NotNull TaskInformation
getAttachedTaskInformation(SelectableBean<TaskType> selectableTaskBean)
CreatesTaskInformationUtil
based on current table row and (in subclasses) the whole activity tree overview.protected @NotNull List<CompiledObjectCollectionView>
getNewObjectInfluencesList()
protected List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<TaskType>,String>>
initCustomTaskColumns()
protected boolean
isCollectionViewWithoutMorePossibleNewType(CompiledObjectCollectionView collectionView)
protected boolean
isObjectDetailsEnabled(org.apache.wicket.model.IModel<SelectableBean<TaskType>> rowModel)
protected void
newObjectPerformed(org.apache.wicket.ajax.AjaxRequestTarget target, AssignmentObjectRelation relation, CompiledObjectCollectionView collectionView)
-
Methods inherited from class com.evolveum.midpoint.gui.api.component.MainObjectListPanel
createCheckboxColumn, createDeleteInlineMenu, createProvider, deleteConfirmedPerformed, getConfirmationMessageModel, getConfirmMessageKeyForMultiObject, getConfirmMessageKeyForSingleObject, getExecuteOptions, getNewObjectReferencesList, getNothingSelectedMessage, getTitleForNewObjectButton, isAnythingSelected, isCreateNewObjectVisible, isImportObjectButtonVisible, isViewForObjectCollectionType, loadButtonDescriptions, objectDetailsPerformed, onInitialize, showNewObjectCreationPopup, startRefreshing
-
Methods inherited from class com.evolveum.midpoint.gui.api.component.ObjectListPanel
addCustomActions, addPerformed, clearCache, createIconColumn, createNameColumn, createSelectableBeanObjectDataProvider, getSearchByNameParameterValue, getSelectedRealObjects, notContainsNameColumn
-
Methods inherited from class com.evolveum.midpoint.gui.impl.component.ContainerableListPanel
createAdditionalSearchContext, createCustomExportableColumn, createDownloadButton, createHeader, createNewButtonDescription, createReportPerformed, createStringResource, customProcessNewRowItem, defaultCollectionExists, enableSavePageSize, getAdditionalBoxCssClasses, getAutoRefreshInterval, getContainerDefinitionForColumns, getCurrentTablePaging, getDataProvider, getDefaultType, getDefaultView, getInlineMenuCssClass, getObjectCollectionView, getOptions, getPageStorage, getPageStorage, getPanelConfiguration, getPreselectedObjectList, getSearchModel, getSelectedObjects, getSelectedObjectsCount, getSortProperty, getStorageKey, getTable, getTableId, getType, getViewColumnsTransformed, getViewColumnsTransformed, hideFooterIfSinglePage, initItemTable, initSearch, isCollectionViewPanel, isCollectionViewPanelForCompiledView, isCollectionViewPanelForWidget, isHeaderVisible, isListPanelVisible, isMenuItemVisible, isNewObjectButtonEnabled, isPagingVisible, isPreview, isRefreshEnabled, isValidFormComponents, isValidFormComponents, isValidFormComponentsOfRow, 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, getFeedbackPanel, getMidpointConfiguration, getModel, getModelObject, getPageBase, getParentPage, getPrismContext, getRegistry, getSchemaService, getSession, getString, getString, getWebApplicationConfiguration, showResult
-
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_SUSPEND_TASK
public static final String OPERATION_SUSPEND_TASK
-
OPERATION_RESUME_TASK
public static final String OPERATION_RESUME_TASK
-
OPERATION_DELETE_TASKS
public static final String OPERATION_DELETE_TASKS
-
OPERATION_RECONCILE_WORKERS
public static final String OPERATION_RECONCILE_WORKERS
-
OPERATION_DELETE_ACTIVITY_STATE_AND_WORKERS
public static final String OPERATION_DELETE_ACTIVITY_STATE_AND_WORKERS
-
OPERATION_DELETE_WORK_STATE
public static final String OPERATION_DELETE_WORK_STATE
-
OPERATION_DELETE_ALL_CLOSED_TASKS
public static final String OPERATION_DELETE_ALL_CLOSED_TASKS
-
OPERATION_SCHEDULE_TASKS
public static final String OPERATION_SCHEDULE_TASKS
-
WAIT_FOR_TASK_STOP
public static final long WAIT_FOR_TASK_STOP
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TaskTablePanel
public TaskTablePanel(String id, Collection<SelectorOptions<GetOperationOptions>> options)
-
-
Method Detail
-
isObjectDetailsEnabled
protected boolean isObjectDetailsEnabled(org.apache.wicket.model.IModel<SelectableBean<TaskType>> rowModel)
- Overrides:
isObjectDetailsEnabled
in classObjectListPanel<TaskType>
-
createDefaultColumns
protected List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<TaskType>,String>> createDefaultColumns()
- Overrides:
createDefaultColumns
in classContainerableListPanel<TaskType,SelectableBean<TaskType>>
-
createInlineMenu
protected List<InlineMenuItem> createInlineMenu()
- Overrides:
createInlineMenu
in classContainerableListPanel<TaskType,SelectableBean<TaskType>>
-
createToolbarButtonsList
protected List<org.apache.wicket.Component> createToolbarButtonsList(String buttonId)
- Overrides:
createToolbarButtonsList
in classMainObjectListPanel<TaskType>
-
newObjectPerformed
protected void newObjectPerformed(org.apache.wicket.ajax.AjaxRequestTarget target, AssignmentObjectRelation relation, CompiledObjectCollectionView collectionView)
- Overrides:
newObjectPerformed
in classMainObjectListPanel<TaskType>
-
isCollectionViewWithoutMorePossibleNewType
protected boolean isCollectionViewWithoutMorePossibleNewType(CompiledObjectCollectionView collectionView)
- Overrides:
isCollectionViewWithoutMorePossibleNewType
in classMainObjectListPanel<TaskType>
-
getNewObjectInfluencesList
@NotNull protected @NotNull List<CompiledObjectCollectionView> getNewObjectInfluencesList()
- Overrides:
getNewObjectInfluencesList
in classMainObjectListPanel<TaskType>
-
getAllApplicableArchetypeViews
protected List<CompiledObjectCollectionView> getAllApplicableArchetypeViews()
- Overrides:
getAllApplicableArchetypeViews
in classObjectListPanel<TaskType>
-
initCustomTaskColumns
protected List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<TaskType>,String>> initCustomTaskColumns()
-
getAttachedTaskInformation
@NotNull protected @NotNull TaskInformation getAttachedTaskInformation(SelectableBean<TaskType> selectableTaskBean)
CreatesTaskInformationUtil
based on current table row and (in subclasses) the whole activity tree overview.
-
-