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
public class GovernanceCardsPanel<AR extends AbstractRoleType> extends AbstractRoleMemberPanel<AR>
- See Also:
- Serialized Form
-
-
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
-
-
Constructor Summary
Constructors Constructor Description GovernanceCardsPanel(String id, FocusDetailsModels<AR> model, ContainerPanelConfigurationType config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.wicket.behavior.Behavior
createCardDetailsButtonBehaviour()
protected List<InlineMenuItem>
createCardHeaderMenuActions()
protected List<InlineMenuItem>
createToolbarMenuActions()
protected void
createUnselectAllAction(List<InlineMenuItem> menu)
protected void
executeSimpleUnassignedOperation(org.apache.wicket.model.IModel<?> rowModel, QName relation, org.apache.wicket.model.StringResourceModel confirmModel, org.apache.wicket.ajax.AjaxRequestTarget target)
protected void
executeUnassign(AssignmentHolderType object, QName relation, org.apache.wicket.ajax.AjaxRequestTarget target)
protected String
getCssForCardUnassignButton(String defaultCss)
protected TileTablePanel<TemplateTile<SelectableBean<FocusType>>,SelectableBean<FocusType>>
getMemberTileTable()
protected CompiledObjectCollectionView
getObjectCollectionView()
protected Class<? extends FocusType>
getSearchableType()
protected Collection<SelectorOptions<GetOperationOptions>>
getSearchOptions()
protected int
getSelectedObjectsCount()
protected List<? extends ObjectType>
getSelectedRealObjects()
protected List<QName>
getSupportedRelations()
protected UserProfileStorage.TableId
getTableId(QName complexType)
protected String
getTileCssClasses()
QName
getType()
protected void
initLayout()
protected <AH extends AssignmentHolderType>
voidinitMemberTable(org.apache.wicket.markup.html.form.Form<?> form)
protected void
onInitialize()
protected void
processTaskAfterOperation(Task task, org.apache.wicket.ajax.AjaxRequestTarget target)
protected void
refreshTable(org.apache.wicket.ajax.AjaxRequestTarget target)
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, createFocusMemberPerformed, createFocusMemberPerformed, createPlayPauseButton, createRecomputeMemberRowAction, createRefreshBehaviour, createRefreshButton, createRowActions, createToolbarButtonList, createUnassignButton, createUnassignMemberRowAction, deleteMembersPerformed, executeDelete, executeRecompute, getActionQuery, getActionQuery, getAuthorizations, getButtonTranslationPrefix, getComplexTypeQName, getCustomizedQuery, getDefaultMemberSearchBoxConfig, getDefaultNewMemberRelations, getFeedback, getForm, getMemberContainer, getMemberPanelStorage, getMemberTable, getModelObject, getNewMemberObjectTypes, getPanelType, getQueryScope, getRelationsForRecomputeTask, getRelationValue, getScopeValue, getSearchType, getStorageKeyTabSuffix, isSubtreeScope, loadMultiFunctionalButtonModel, reloadPageOnRefresh, showMessageWithoutLinkForTask, 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, 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 java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
GovernanceCardsPanel
public GovernanceCardsPanel(String id, FocusDetailsModels<AR> model, ContainerPanelConfigurationType config)
-
-
Method Detail
-
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>
-
getObjectCollectionView
protected CompiledObjectCollectionView getObjectCollectionView()
-
getType
public QName getType()
- Overrides:
getType
in classAbstractObjectMainPanel<AR extends AbstractRoleType,FocusDetailsModels<AR extends AbstractRoleType>>
-
getTableId
protected UserProfileStorage.TableId getTableId(QName complexType)
- Overrides:
getTableId
in classAbstractRoleMemberPanel<AR extends AbstractRoleType>
-
getSearchOptions
protected Collection<SelectorOptions<GetOperationOptions>> 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
protected String getTileCssClasses()
-
createToolbarMenuActions
protected List<InlineMenuItem> createToolbarMenuActions()
-
createCardHeaderMenuActions
protected List<InlineMenuItem> createCardHeaderMenuActions()
-
createCardDetailsButtonBehaviour
protected org.apache.wicket.behavior.Behavior createCardDetailsButtonBehaviour()
-
createUnselectAllAction
protected void createUnselectAllAction(List<InlineMenuItem> menu)
-
getMemberTileTable
protected TileTablePanel<TemplateTile<SelectableBean<FocusType>>,SelectableBean<FocusType>> getMemberTileTable()
-
getSelectedObjectsCount
protected int getSelectedObjectsCount()
- Overrides:
getSelectedObjectsCount
in classAbstractRoleMemberPanel<AR extends AbstractRoleType>
-
getSelectedRealObjects
protected List<? extends ObjectType> 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>
-
processTaskAfterOperation
protected void processTaskAfterOperation(Task task, org.apache.wicket.ajax.AjaxRequestTarget target)
- Overrides:
processTaskAfterOperation
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>
-
executeSimpleUnassignedOperation
protected void executeSimpleUnassignedOperation(org.apache.wicket.model.IModel<?> rowModel, QName relation, org.apache.wicket.model.StringResourceModel confirmModel, org.apache.wicket.ajax.AjaxRequestTarget target)
- Overrides:
executeSimpleUnassignedOperation
in classAbstractRoleMemberPanel<AR extends AbstractRoleType>
-
getSupportedRelations
protected List<QName> getSupportedRelations()
- Overrides:
getSupportedRelations
in classAbstractRoleMemberPanel<AR extends AbstractRoleType>
-
-