Class ColumnUtils
java.lang.Object
com.evolveum.midpoint.web.component.data.column.ColumnUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<PrismContainerValueWrapper<AssignmentType>,
String>> createAssignmentConstructionColumns
(org.apache.wicket.model.IModel<PrismContainerWrapper<AssignmentType>> containerModel, PageBase page) static <S extends SelectableRow<AssignmentType>>
CompositedIconColumn<S>createAssignmentIconColumn
(PageBase pageBase) static org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn<SelectableBean<CaseType>,
String> createCaseActorsColumn
(PageBase pageBase) createColumns
(List<ColumnTypeDto<String>> columns) static <O extends ObjectType>
org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<O>,String> createIconColumn
(PageBase pageBase) static List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<PrismContainerValueWrapper<AssignmentType>,
String>> createInducementConstructionColumns
(org.apache.wicket.model.IModel<PrismContainerWrapper<AssignmentType>> containerModel, PageBase page) static <T> org.apache.wicket.extensions.markup.html.repeater.data.table.PropertyColumn<T,
String> createPropertyColumn
(ColumnTypeDto<String> column) static org.apache.wicket.model.StringResourceModel
createStringResource
(String resourceKey, Object... objects) static org.apache.wicket.model.StringResourceModel
createStringResource
(String resourceKey, String defaultString, Object... objects) static <T extends ObjectType>
List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<T>,String>> static <T extends AbstractRoleType>
List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<T>,String>> getDefaultAbstractRoleColumns
(boolean showAccounts) static <T extends ObjectType>
List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<T>,String>> static <S extends SelectableRow<AssignmentType>>
List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<S,String>> getDefaultAssignmentsColumns
(String realValuePath, PageBase pageBase) static <S extends SelectableRow<AssignmentType>>
List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<S,String>> getDefaultAssignmentsColumns
(QName assignmentTargetRefType, String realValuePath, boolean showAllColumns, PageBase pageBase) static List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<CaseType>,
String>> getDefaultCaseColumns
(PageBase pageBase, boolean isDashboard) static List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<AccessCertificationCampaignType>,
String>> getDefaultCertCampaignColumns
(PageBase pageBase) static List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<PrismContainerValueWrapper<AccessCertificationCaseType>,
String>> getDefaultCertCaseColumns
(int stageNumber, PageBase pageBase) static List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<PrismContainerValueWrapper<AccessCertificationWorkItemType>,
String>> getDefaultCertWorkItemColumns
(boolean viewAllItems, boolean notDecidedOnly) static <C extends ObjectType>
List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<C>,String>> getDefaultColumns
(Class<? extends C> type, PageBase pageBase) static <O extends ObjectType>
List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<O>,String>> static <T extends ObjectType>
List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<T>,String>> getDefaultOrgColumns
(PageBase pageBase) static <T extends ObjectType>
List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<T>,String>> static <T extends ObjectType>
List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<T>,String>> static <T extends ObjectType>
List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<T>,String>> static List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<PrismContainerValueWrapper<CaseWorkItemType>,
String>> getDefaultWorkItemColumns
(PageBase pageBase, boolean isFullView) static <T extends ObjectType>
StringgetIconColumnTitle
(org.apache.wicket.model.IModel<SelectableBean<T>> rowModel) static <T extends ObjectType>
StringgetIconColumnTitle
(T object, OperationResult result) static <T extends ObjectType>
StringgetIconColumnValue
(org.apache.wicket.model.IModel<SelectableBean<T>> rowModel) static <T extends ObjectType>
StringgetIconColumnValue
(T object, OperationResult result) static org.apache.wicket.markup.repeater.RepeatingView
getMultilineLinkPanel
(String componentId, List<ObjectReferenceType> referencesList, PageBase pageBase) static List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<AccessCertificationCampaignType>,
String>> getPreviewCampaignColumns
(PageBase pageBase) static <S extends SelectableRow<AssignmentType>>
StringloadValuesForAssignmentNameColumn
(org.apache.wicket.model.IModel<S> rowModel, Collection<String> evaluatedExpressionValues, boolean useEvaluatedValues, PageBase pageBase) static <C extends Containerable>
CunwrapRowModel
(org.apache.wicket.model.IModel<PrismContainerValueWrapper<C>> rowModel) static <T extends Serializable,
S extends SelectableRow<T>>
TunwrapRowRealValue
(S rowValue) static <C extends Containerable,
S extends SelectableRow<C>>
CunwrapSelectableRowModel
(org.apache.wicket.model.IModel<S> rowModel)
-
Constructor Details
-
ColumnUtils
public ColumnUtils()
-
-
Method Details
-
createColumns
public static <T> List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<T,String>> createColumns(List<ColumnTypeDto<String>> columns) -
createPropertyColumn
public static <T> org.apache.wicket.extensions.markup.html.repeater.data.table.PropertyColumn<T,String> createPropertyColumn(ColumnTypeDto<String> column) -
getDefaultColumns
public static <C extends ObjectType> List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<C>,String>> getDefaultColumns(Class<? extends C> type, PageBase pageBase) -
createIconColumn
public static <O extends ObjectType> org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<O>,String> createIconColumn(PageBase pageBase) -
getIconColumnValue
public static <T extends ObjectType> String getIconColumnValue(org.apache.wicket.model.IModel<SelectableBean<T>> rowModel) -
getIconColumnValue
-
getIconColumnTitle
public static <T extends ObjectType> String getIconColumnTitle(org.apache.wicket.model.IModel<SelectableBean<T>> rowModel) -
getIconColumnTitle
-
createStringResource
-
createStringResource
-
getDefaultUserColumns
public static <T extends ObjectType> List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<T>,String>> getDefaultUserColumns() -
getDefaultTaskColumns
public static <T extends ObjectType> List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<T>,String>> getDefaultTaskColumns() -
getDefaultAbstractRoleColumns
public static <T extends ObjectType> List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<T>,String>> getDefaultAbstractRoleColumns() -
getDefaultOrgColumns
public static <T extends ObjectType> List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<T>,String>> getDefaultOrgColumns(PageBase pageBase) -
getDefaultArchetypeColumns
public static <T extends ObjectType> List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<T>,String>> getDefaultArchetypeColumns() -
getDefaultObjectColumns
public static <O extends ObjectType> List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<O>,String>> getDefaultObjectColumns() -
getDefaultAbstractRoleColumns
public static <T extends AbstractRoleType> List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<T>,String>> getDefaultAbstractRoleColumns(boolean showAccounts) -
getDefaultResourceColumns
public static <T extends ObjectType> List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<T>,String>> getDefaultResourceColumns() -
getDefaultWorkItemColumns
public static List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<PrismContainerValueWrapper<CaseWorkItemType>,String>> getDefaultWorkItemColumns(PageBase pageBase, boolean isFullView) -
getDefaultCertCampaignColumns
public static List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<AccessCertificationCampaignType>,String>> getDefaultCertCampaignColumns(PageBase pageBase) -
getPreviewCampaignColumns
public static List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<AccessCertificationCampaignType>,String>> getPreviewCampaignColumns(PageBase pageBase) -
getDefaultCertCaseColumns
public static List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<PrismContainerValueWrapper<AccessCertificationCaseType>,String>> getDefaultCertCaseColumns(int stageNumber, PageBase pageBase) -
getDefaultCertWorkItemColumns
public static List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<PrismContainerValueWrapper<AccessCertificationWorkItemType>,String>> getDefaultCertWorkItemColumns(boolean viewAllItems, boolean notDecidedOnly) -
getDefaultCaseColumns
public static List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<CaseType>,String>> getDefaultCaseColumns(PageBase pageBase, boolean isDashboard) -
createCaseActorsColumn
public static org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn<SelectableBean<CaseType>,String> createCaseActorsColumn(PageBase pageBase) -
getMultilineLinkPanel
public static org.apache.wicket.markup.repeater.RepeatingView getMultilineLinkPanel(String componentId, List<ObjectReferenceType> referencesList, PageBase pageBase) -
unwrapRowModel
public static <C extends Containerable> C unwrapRowModel(org.apache.wicket.model.IModel<PrismContainerValueWrapper<C>> rowModel) -
unwrapSelectableRowModel
public static <C extends Containerable,S extends SelectableRow<C>> C unwrapSelectableRowModel(org.apache.wicket.model.IModel<S> rowModel) -
unwrapRowRealValue
-
getDefaultAssignmentsColumns
public static <S extends SelectableRow<AssignmentType>> List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<S,String>> getDefaultAssignmentsColumns(String realValuePath, PageBase pageBase) -
getDefaultAssignmentsColumns
public static <S extends SelectableRow<AssignmentType>> List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<S,String>> getDefaultAssignmentsColumns(QName assignmentTargetRefType, String realValuePath, boolean showAllColumns, PageBase pageBase) -
createAssignmentIconColumn
public static <S extends SelectableRow<AssignmentType>> CompositedIconColumn<S> createAssignmentIconColumn(PageBase pageBase) -
loadValuesForAssignmentNameColumn
public static <S extends SelectableRow<AssignmentType>> String loadValuesForAssignmentNameColumn(org.apache.wicket.model.IModel<S> rowModel, Collection<String> evaluatedExpressionValues, boolean useEvaluatedValues, PageBase pageBase) -
createInducementConstructionColumns
public static List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<PrismContainerValueWrapper<AssignmentType>,String>> createInducementConstructionColumns(org.apache.wicket.model.IModel<PrismContainerWrapper<AssignmentType>> containerModel, PageBase page) -
createAssignmentConstructionColumns
public static List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<PrismContainerValueWrapper<AssignmentType>,String>> createAssignmentConstructionColumns(org.apache.wicket.model.IModel<PrismContainerWrapper<AssignmentType>> containerModel, PageBase page)
-