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:
  • Field Details

  • Constructor Details

  • Method Details

    • initLayout

      protected void initLayout()
      Specified by:
      initLayout in class AbstractObjectMainPanel<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

      protected SearchContext getDefaultMemberSearchBoxConfig()
    • getPanelType

      protected CollectionPanelType getPanelType()
    • createToolbarButtonList

      protected List<org.apache.wicket.Component> createToolbarButtonList(String buttonId, List<org.apache.wicket.Component> defaultToolbarList)
    • reloadPageOnRefresh

      protected boolean reloadPageOnRefresh()
    • getCustomizedQuery

      protected ObjectQuery getCustomizedQuery(Search search)
    • loadMultiFunctionalButtonModel

      protected LoadableModel<MultiFunctinalButtonDto> loadMultiFunctionalButtonModel()
    • getDefaultNewMemberRelations

      protected List<AssignmentObjectRelation> getDefaultNewMemberRelations()
    • createAssignButton

      protected AjaxIconButton createAssignButton(String buttonId)
    • createAssignPopup

      protected Popupable createAssignPopup(QName stableRelation)
    • 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

      protected AjaxIconButton createUnassignButton(String buttonId)
    • getButtonTranslationPrefix

      protected String getButtonTranslationPrefix()
    • getTableId

      protected UserProfileStorage.TableId getTableId(QName complextType)
    • getAuthorizations

      protected Map<String,String> getAuthorizations(QName complexType)
    • getComplexTypeQName

      protected QName getComplexTypeQName()
    • createRowActions

      protected List<InlineMenuItem> createRowActions()
    • createAssignMemberRowAction

      protected void createAssignMemberRowAction(List<InlineMenuItem> menu)
    • createUnassignMemberRowAction

      protected <AH extends AssignmentHolderType> void createUnassignMemberRowAction(List<InlineMenuItem> menu)
    • createRecomputeMemberRowAction

      protected void createRecomputeMemberRowAction(List<InlineMenuItem> menu)
    • createAddMemberRowAction

      protected void createAddMemberRowAction(List<InlineMenuItem> menu)
    • createDeleteMemberRowAction

      protected void createDeleteMemberRowAction(List<InlineMenuItem> menu)
    • getSupportedRelations

      protected List<QName> 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

      @NotNull protected @NotNull List<QName> getRelationsForRecomputeTask()
    • getMemberQuery

      protected ObjectQuery getMemberQuery(@NotNull @NotNull AbstractRoleMemberPanel.QueryScope scope, @NotNull @NotNull Collection<QName> relations)
    • getSelectedRealObjects

      protected List<? extends ObjectType> getSelectedRealObjects()
    • getNewMemberObjectTypes

      protected List<QName> getNewMemberObjectTypes()
    • getMemberTable

      protected MainObjectListPanel<FocusType> getMemberTable()
    • getMemberContainer

      protected org.apache.wicket.markup.html.WebMarkupContainer getMemberContainer()
    • getMemberQueryScope

      protected AbstractRoleMemberPanel.QueryScope getMemberQueryScope()
    • isSubtreeScope

      protected boolean isSubtreeScope()
    • getMemberSearchType

      @NotNull protected @NotNull QName getMemberSearchType()
    • getScopeValue

      protected SearchBoxScopeType getScopeValue()
    • getRelationValue

      protected QName getRelationValue()
    • createAllMemberQuery

      protected ObjectQuery createAllMemberQuery(Collection<QName> relations)
    • getSearchOptions

      protected Collection<SelectorOptions<GetOperationOptions>> getSearchOptions()
    • getMemberPanelStorage

      protected MemberPanelStorage getMemberPanelStorage()
    • getStorageKeyTabSuffix

      protected String getStorageKeyTabSuffix()
    • getModelObject

      public R getModelObject()
    • createRefreshButton

      protected AjaxIconButton createRefreshButton(String buttonId)
    • createPlayPauseButton

      protected AjaxIconButton createPlayPauseButton(String buttonId)
    • createRefreshBehaviour

      protected org.apache.wicket.ajax.AjaxSelfUpdatingTimerBehavior createRefreshBehaviour(CompiledObjectCollectionView view)