Class AbstractRoleMemberPanel<R 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<R>
- 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:
ArchetypeMembersPanel
,GovernanceCardsPanel
,OrgMemberPanel
public class AbstractRoleMemberPanel<R extends AbstractRoleType>
extends AbstractObjectMainPanel<R,FocusDetailsModels<R>>
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected static final String
protected static final String
protected static final String
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
ConstructorDescriptionAbstractRoleMemberPanel
(String id, FocusDetailsModels<R> model, ContainerPanelConfigurationType config) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected ObjectQuery
createAllMemberQuery
(Collection<QName> relations) protected AjaxIconButton
createAssignButton
(String buttonId) protected void
protected Popupable
createAssignPopup
(QName stableRelation) protected void
protected void
createMemberMenuActionPerformed
(org.apache.wicket.ajax.AjaxRequestTarget target) protected AjaxIconButton
createPlayPauseButton
(String buttonId) protected void
protected org.apache.wicket.ajax.AjaxSelfUpdatingTimerBehavior
protected AjaxIconButton
createRefreshButton
(String buttonId) protected List<InlineMenuItem>
protected List<org.apache.wicket.Component>
createToolbarButtonList
(String buttonId, List<org.apache.wicket.Component> defaultToolbarList) protected AjaxIconButton
createUnassignButton
(String buttonId) protected <AH extends AssignmentHolderType>
voidprotected void
executeDelete
(AssignmentHolderType object, org.apache.wicket.ajax.AjaxRequestTarget target) protected void
executeRecompute
(AssignmentHolderType object, org.apache.wicket.ajax.AjaxRequestTarget target) 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) getAuthorizations
(QName complexType) protected String
protected QName
protected ObjectQuery
getCustomizedQuery
(Search search) protected SearchContext
protected List<AssignmentObjectRelation>
protected org.apache.wicket.Component
protected org.apache.wicket.markup.html.form.Form<?>
getForm()
protected org.apache.wicket.markup.html.WebMarkupContainer
protected MemberPanelStorage
protected ObjectQuery
getMemberQuery
(@NotNull AbstractRoleMemberPanel.QueryScope scope, @NotNull Collection<QName> relations) protected AbstractRoleMemberPanel.QueryScope
protected @NotNull QName
protected MainObjectListPanel<FocusType>
protected CollectionPanelType
protected QName
protected SearchBoxScopeType
protected Collection<SelectorOptions<GetOperationOptions>>
protected int
protected List<? extends ObjectType>
protected String
protected UserProfileStorage.TableId
getTableId
(QName complextType) protected void
protected <AH extends AssignmentHolderType>
voidinitMemberTable
(org.apache.wicket.markup.html.form.Form<?> form) protected boolean
protected LoadableModel<MultiFunctinalButtonDto>
protected void
newObjectPerformed
(AssignmentObjectRelation relationSpec, org.apache.wicket.ajax.AjaxRequestTarget target) protected void
refreshTable
(org.apache.wicket.ajax.AjaxRequestTarget target) protected boolean
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 type, AbstractRoleMemberPanel.QueryScope scope, Collection<QName> relations, org.apache.wicket.ajax.AjaxRequestTarget target) protected <AH extends AssignmentHolderType>
voidunassignMembersPerformed
(org.apache.wicket.model.IModel<SelectableBean<AH>> rowModel, QName relation, org.apache.wicket.ajax.AjaxRequestTarget target) protected <AH extends AssignmentHolderType>
voidunassignMembersPerformed
(org.apache.wicket.model.IModel<SelectableBean<AH>> rowModel, org.apache.wicket.ajax.AjaxRequestTarget target) Methods inherited from class com.evolveum.midpoint.gui.impl.page.admin.AbstractObjectMainPanel
addPrismPropertyPanel, createContainerModel, createStringResource, createStringResource, getObjectDetailsModels, getObjectWrapper, getObjectWrapperModel, getObjectWrapperObject, getPageBase, getPanelConfiguration, getPrismContext, getSessionStorage, getString, getType, getTypeClass, onInitialize
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
-
Field Details
-
OPERATION_LOAD_MEMBER_RELATIONS
-
ID_FORM
- See Also:
-
ID_CONTAINER_MEMBER
- See Also:
-
ID_MEMBER_TABLE
- See Also:
-
-
Constructor Details
-
AbstractRoleMemberPanel
public AbstractRoleMemberPanel(String id, FocusDetailsModels<R> model, ContainerPanelConfigurationType config)
-
-
Method Details
-
initLayout
protected void initLayout()- Specified by:
initLayout
in classAbstractObjectMainPanel<R extends AbstractRoleType,
FocusDetailsModels<R extends AbstractRoleType>>
-
getForm
protected org.apache.wicket.markup.html.form.Form<?> getForm() -
initMemberTable
protected <AH extends AssignmentHolderType> void initMemberTable(org.apache.wicket.markup.html.form.Form<?> form) -
getDefaultMemberSearchBoxConfig
-
getPanelType
-
createToolbarButtonList
-
reloadPageOnRefresh
protected boolean reloadPageOnRefresh() -
getCustomizedQuery
-
loadMultiFunctionalButtonModel
-
getDefaultNewMemberRelations
-
createAssignButton
-
createAssignPopup
-
shouldHideTaskLink
protected boolean shouldHideTaskLink()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)"? -
createUnassignButton
-
getButtonTranslationPrefix
-
getTableId
-
getAuthorizations
-
getComplexTypeQName
-
createRowActions
-
createAssignMemberRowAction
-
createUnassignMemberRowAction
protected <AH extends AssignmentHolderType> void createUnassignMemberRowAction(List<InlineMenuItem> menu) -
createRecomputeMemberRowAction
-
createAddMemberRowAction
-
createDeleteMemberRowAction
-
getSupportedRelations
-
getSelectedObjectsCount
protected int getSelectedObjectsCount() -
unassignMembersPerformed
protected <AH extends AssignmentHolderType> void unassignMembersPerformed(org.apache.wicket.model.IModel<SelectableBean<AH>> rowModel, org.apache.wicket.ajax.AjaxRequestTarget target) -
unassignMembersPerformed
protected <AH extends AssignmentHolderType> void unassignMembersPerformed(org.apache.wicket.model.IModel<SelectableBean<AH>> rowModel, QName relation, org.apache.wicket.ajax.AjaxRequestTarget target) -
executeUnassignedOperationAfterConfirm
protected void executeUnassignedOperationAfterConfirm(org.apache.wicket.model.IModel<?> rowModel, QName relation, org.apache.wicket.ajax.AjaxRequestTarget target) -
executeDelete
protected void executeDelete(AssignmentHolderType object, org.apache.wicket.ajax.AjaxRequestTarget target) -
getFeedback
protected org.apache.wicket.Component getFeedback() -
executeRecompute
protected void executeRecompute(AssignmentHolderType object, org.apache.wicket.ajax.AjaxRequestTarget target) -
executeUnassign
protected void executeUnassign(AssignmentHolderType object, QName relation, org.apache.wicket.ajax.AjaxRequestTarget target) -
refreshTable
protected void refreshTable(org.apache.wicket.ajax.AjaxRequestTarget target) -
createMemberMenuActionPerformed
protected void createMemberMenuActionPerformed(org.apache.wicket.ajax.AjaxRequestTarget target) -
newObjectPerformed
protected void newObjectPerformed(AssignmentObjectRelation relationSpec, org.apache.wicket.ajax.AjaxRequestTarget target) -
unassignMembersPerformed
protected void unassignMembersPerformed(org.apache.wicket.model.IModel<?> rowModel, QName type, AbstractRoleMemberPanel.QueryScope scope, Collection<QName> relations, org.apache.wicket.ajax.AjaxRequestTarget target) -
getRelationsForRecomputeTask
-
getMemberQuery
protected ObjectQuery getMemberQuery(@NotNull @NotNull AbstractRoleMemberPanel.QueryScope scope, @NotNull @NotNull Collection<QName> relations) -
getSelectedRealObjects
-
getNewMemberObjectTypes
-
getMemberTable
-
getMemberContainer
protected org.apache.wicket.markup.html.WebMarkupContainer getMemberContainer() -
getMemberQueryScope
-
isSubtreeScope
protected boolean isSubtreeScope() -
getMemberSearchType
-
getScopeValue
-
getRelationValue
-
createAllMemberQuery
-
getSearchOptions
-
getMemberPanelStorage
-
getStorageKeyTabSuffix
-
getModelObject
-
createRefreshButton
-
createPlayPauseButton
-
createRefreshBehaviour
protected org.apache.wicket.ajax.AjaxSelfUpdatingTimerBehavior createRefreshBehaviour(CompiledObjectCollectionView view)
-