Class GovernanceCardsPanel<AR extends AbstractRoleType>
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.impl.page.admin.AbstractObjectMainPanel<R,FocusDetailsModels<R>>
com.evolveum.midpoint.gui.impl.page.admin.abstractrole.component.AbstractRoleMemberPanel<AR>
com.evolveum.midpoint.gui.impl.page.admin.abstractrole.component.GovernanceCardsPanel<AR>
- 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
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.evolveum.midpoint.gui.impl.page.admin.abstractrole.component.AbstractRoleMemberPanel
AbstractRoleMemberPanel.QueryScope
-
Field Summary
Fields inherited from class com.evolveum.midpoint.gui.impl.page.admin.abstractrole.component.AbstractRoleMemberPanel
ID_CONTAINER_MEMBER, ID_FORM, ID_MEMBER_TABLE, OPERATION_LOAD_MEMBER_RELATIONS
Fields inherited from class org.apache.wicket.markup.html.panel.Panel
PANEL
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
ConstructorDescriptionGovernanceCardsPanel
(String id, FocusDetailsModels<AR> model, ContainerPanelConfigurationType config) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.wicket.behavior.Behavior
protected List<InlineMenuItem>
protected List<InlineMenuItem>
protected void
protected void
executeUnassign
(AssignmentHolderType object, QName relation, org.apache.wicket.ajax.AjaxRequestTarget target) protected void
executeUnassignedOperationAfterConfirm
(org.apache.wicket.model.IModel<?> rowModel, QName relation, org.apache.wicket.ajax.AjaxRequestTarget target) protected String
getCssForCardUnassignButton
(String defaultCss) protected TileTablePanel<TemplateTile<SelectableBean<FocusType>>,
SelectableBean<FocusType>> protected CompiledObjectCollectionView
protected Collection<SelectorOptions<GetOperationOptions>>
protected int
protected List<? extends ObjectType>
protected UserProfileStorage.TableId
getTableId
(QName complexType) protected String
getType()
protected void
protected <AH extends AssignmentHolderType>
voidinitMemberTable
(org.apache.wicket.markup.html.form.Form<?> form) protected void
protected void
refreshTable
(org.apache.wicket.ajax.AjaxRequestTarget target) protected boolean
Should the "show task" link be hidden for tasks submitted from this panel? This feature is used in wizards to avoid complexity for users.protected void
unassignMembersPerformed
(org.apache.wicket.model.IModel<?> rowModel, QName relation, org.apache.wicket.ajax.AjaxRequestTarget target) Methods inherited from class com.evolveum.midpoint.gui.impl.page.admin.abstractrole.component.AbstractRoleMemberPanel
createAddMemberRowAction, createAllMemberQuery, createAssignButton, createAssignMemberRowAction, createAssignPopup, createDeleteMemberRowAction, createMemberMenuActionPerformed, createPlayPauseButton, createRecomputeMemberRowAction, createRefreshBehaviour, createRefreshButton, createRowActions, createToolbarButtonList, createUnassignButton, createUnassignMemberRowAction, executeDelete, executeRecompute, getAuthorizations, getButtonTranslationPrefix, getComplexTypeQName, getCustomizedQuery, getDefaultMemberSearchBoxConfig, getDefaultNewMemberRelations, getFeedback, getForm, getMemberContainer, getMemberPanelStorage, getMemberQuery, getMemberQueryScope, getMemberSearchType, getMemberTable, getModelObject, getNewMemberObjectTypes, getPanelType, getRelationsForRecomputeTask, getRelationValue, getScopeValue, getStorageKeyTabSuffix, isSubtreeScope, loadMultiFunctionalButtonModel, newObjectPerformed, reloadPageOnRefresh, unassignMembersPerformed, unassignMembersPerformed
Methods inherited from class com.evolveum.midpoint.gui.impl.page.admin.AbstractObjectMainPanel
addPrismPropertyPanel, createContainerModel, createStringResource, createStringResource, getObjectDetailsModels, getObjectWrapper, getObjectWrapperModel, getObjectWrapperObject, getPageBase, getPanelConfiguration, getPrismContext, getString, getTypeClass
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, 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, 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 org.apache.wicket.IQueueRegion
dequeue, newDequeueContext
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
GovernanceCardsPanel
public GovernanceCardsPanel(String id, FocusDetailsModels<AR> model, ContainerPanelConfigurationType config)
-
-
Method Details
-
onInitialize
protected void onInitialize()- Overrides:
onInitialize
in classAbstractObjectMainPanel<AR extends AbstractRoleType,
FocusDetailsModels<AR extends AbstractRoleType>>
-
initLayout
protected void initLayout()- Overrides:
initLayout
in classAbstractRoleMemberPanel<AR extends AbstractRoleType>
-
getSearchableType
-
getObjectCollectionView
-
getType
- Overrides:
getType
in classAbstractObjectMainPanel<AR extends AbstractRoleType,
FocusDetailsModels<AR extends AbstractRoleType>>
-
getTableId
- Overrides:
getTableId
in classAbstractRoleMemberPanel<AR extends AbstractRoleType>
-
getSearchOptions
- Overrides:
getSearchOptions
in classAbstractRoleMemberPanel<AR extends AbstractRoleType>
-
initMemberTable
protected <AH extends AssignmentHolderType> void initMemberTable(org.apache.wicket.markup.html.form.Form<?> form) - Overrides:
initMemberTable
in classAbstractRoleMemberPanel<AR extends AbstractRoleType>
-
getTileCssClasses
-
createToolbarMenuActions
-
getCssForCardUnassignButton
-
createCardHeaderMenuActions
-
createCardDetailsButtonBehaviour
protected org.apache.wicket.behavior.Behavior createCardDetailsButtonBehaviour() -
createUnselectAllAction
-
getMemberTileTable
protected TileTablePanel<TemplateTile<SelectableBean<FocusType>>,SelectableBean<FocusType>> getMemberTileTable() -
getSelectedObjectsCount
protected int getSelectedObjectsCount()- Overrides:
getSelectedObjectsCount
in classAbstractRoleMemberPanel<AR extends AbstractRoleType>
-
getSelectedRealObjects
- Overrides:
getSelectedRealObjects
in classAbstractRoleMemberPanel<AR extends AbstractRoleType>
-
refreshTable
protected void refreshTable(org.apache.wicket.ajax.AjaxRequestTarget target) - Overrides:
refreshTable
in classAbstractRoleMemberPanel<AR extends AbstractRoleType>
-
shouldHideTaskLink
protected boolean shouldHideTaskLink()Description copied from class:AbstractRoleMemberPanel
Should the "show task" link be hidden for tasks submitted from this panel? This feature is used in wizards to avoid complexity for users. TODO originally, the role wizard showed "AbstractRoleMemberPanel.message.info.created.task" ("Task "{0}" has been created in the background") when there was a background task started. I originally planned to do so for any tasks. But is that really better than simply showing the original operation name with a blue color indicating "in progress" state and a text note "(running in background)"?- Overrides:
shouldHideTaskLink
in classAbstractRoleMemberPanel<AR extends AbstractRoleType>
-
unassignMembersPerformed
protected void unassignMembersPerformed(org.apache.wicket.model.IModel<?> rowModel, QName relation, org.apache.wicket.ajax.AjaxRequestTarget target) - Overrides:
unassignMembersPerformed
in classAbstractRoleMemberPanel<AR extends AbstractRoleType>
-
executeUnassign
protected void executeUnassign(AssignmentHolderType object, QName relation, org.apache.wicket.ajax.AjaxRequestTarget target) - Overrides:
executeUnassign
in classAbstractRoleMemberPanel<AR extends AbstractRoleType>
-
executeUnassignedOperationAfterConfirm
protected void executeUnassignedOperationAfterConfirm(org.apache.wicket.model.IModel<?> rowModel, QName relation, org.apache.wicket.ajax.AjaxRequestTarget target) - Overrides:
executeUnassignedOperationAfterConfirm
in classAbstractRoleMemberPanel<AR extends AbstractRoleType>
-
getSupportedRelations
- Overrides:
getSupportedRelations
in classAbstractRoleMemberPanel<AR extends AbstractRoleType>
-