java.lang.Object
com.evolveum.midpoint.web.component.data.column.ColumnUtils

public class ColumnUtils extends Object
  • 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

      public static <T extends ObjectType> String getIconColumnValue(T object, OperationResult result)
    • getIconColumnTitle

      public static <T extends ObjectType> String getIconColumnTitle(org.apache.wicket.model.IModel<SelectableBean<T>> rowModel)
    • getIconColumnTitle

      public static <T extends ObjectType> String getIconColumnTitle(T object, OperationResult result)
    • createStringResource

      public static org.apache.wicket.model.StringResourceModel createStringResource(String resourceKey, Object... objects)
    • createStringResource

      public static org.apache.wicket.model.StringResourceModel createStringResource(String resourceKey, String defaultString, Object... objects)
    • 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()
    • getDefaultRoleColumns

      public static <T extends ObjectType> List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<T>,String>> getDefaultRoleColumns()
    • getDefaultServiceColumns

      public static <T extends ObjectType> List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<T>,String>> getDefaultServiceColumns()
    • 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)
    • 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

      public static <T extends Serializable, S extends SelectableRow<T>> T unwrapRowRealValue(S rowValue)
    • 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)