Class ColumnUtils
- java.lang.Object
-
- com.evolveum.midpoint.web.component.data.column.ColumnUtils
-
public class ColumnUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description ColumnUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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)
static <T> List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<T,String>>
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 <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 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>>getDefaultArchetypeColumns()
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 <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>>getDefaultObjectColumns()
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>>getDefaultResourceColumns()
static <T extends ObjectType>
List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<T>,String>>getDefaultRoleColumns()
static <T extends ObjectType>
List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<T>,String>>getDefaultServiceColumns()
static <T extends ObjectType>
List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<T>,String>>getDefaultTaskColumns()
static <T extends ObjectType>
List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<T>,String>>getDefaultUserColumns()
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 <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)
-
-
-
Method Detail
-
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)
-
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)
-
-