Class WebComponentUtil
java.lang.Object
com.evolveum.midpoint.gui.api.util.WebComponentUtil
Utility class containing miscellaneous methods used mostly in Wicket
components.
- Author:
- lazyman
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addAjaxOnUpdateBehavior
(org.apache.wicket.markup.html.WebMarkupContainer container) static void
addDisabledClassBehavior
(org.apache.wicket.Component comp) static <T extends AssignmentHolderType>
voidaddNewArchetype
(PrismObjectWrapper<T> object, String archetypeOid, org.apache.wicket.ajax.AjaxRequestTarget target, PageBase pageBase) static QName
anyClassToQName
(PrismContext prismContext, Class<?> clazz) static boolean
assignmentObjectRelationAlreadyExists
(List<AssignmentObjectRelation> list, AssignmentObjectRelation relation) it's expected that the list of AssignmentObjectRelation will be pre-prepared in such manner that each AssignmentObjectRelation in the list will contain only one object type, one relation and one archetypeRef.static void
assumePowerOfAttorneyIfRequested
(OperationResult result, PrismObject<UserType> powerDonor, PageBase pageBase) static boolean
canResumeTask
(TaskType task, PageBase pageBase) static boolean
canRunNowTask
(TaskType task, PageBase pageBase) static boolean
canSuspendTask
(TaskType task, PageBase pageBase) caseOutcomeUriToIcon
(String outcome) static void
claimWorkItemActionPerformed
(CaseWorkItemType workItemToClaim, String operation, org.apache.wicket.ajax.AjaxRequestTarget target, PageBase pageBase) static <T extends ObjectType>
QNameclassToQName
(PrismContext prismContext, Class<T> clazz) static <T extends ObjectType>
QNameclassToQName
(Class<T> clazz) static void
clearProviderCache
(org.apache.wicket.markup.repeater.data.IDataProvider provider) static DisplayType
combineDisplay
(DisplayType display, DisplayType variationDisplay) static @NotNull List<VisualizationDto>
computeChangesCategorizationList
(ChangesByState changesByState, ObjectReferenceType objectRef, ModelInteractionService modelInteractionService, PrismContext prismContext, Task opTask, OperationResult thisOpResult) static List<EvaluatedTriggerGroupDto>
computeTriggers
(ApprovalContextType wfc, Integer stage) static <T extends Containerable>
QNamecontainerClassToQName
(PrismContext prismContext, Class<T> clazz) static <AR extends AbstractRoleType>
org.apache.wicket.model.IModel<String>createAbstractRoleConfirmationMessage
(String actionName, ColumnMenuAction action, MainObjectListPanel<AR> abstractRoleTable, PageBase pageBase) static CompositedIcon
createAccountIcon
(ShadowType shadow, PageBase pageBase, boolean isColumn) static org.apache.wicket.model.IModel<String>
createCategoryNameModel
(org.apache.wicket.model.IModel<String> categorySymbolModel) static <O extends ObjectType>
CompositedIconcreateCompositeIconForObject
(O obj, OperationResult result, PageBase pageBase) static CompositedIcon
static <T> DropDownChoicePanel
createDropDownChoices
(String id, org.apache.wicket.model.IModel<DisplayableValue<T>> model, org.apache.wicket.model.IModel<List<DisplayableValue<T>>> choices, boolean allowNull) static DropDownChoicePanel
createEnumPanel
(PrismPropertyDefinition def, String id, org.apache.wicket.model.IModel model) static <E extends Enum>
DropDownChoicePanel<E>createEnumPanel
(Class<E> clazz, String id, org.apache.wicket.model.IModel<E> model, org.apache.wicket.Component component) static <E extends Enum>
DropDownChoicePanel<E>createEnumPanel
(Class<E> clazz, String id, org.apache.wicket.model.IModel<E> model, org.apache.wicket.Component component, boolean allowNull) static <E extends Enum>
DropDownChoicePanel<E>createEnumPanel
(String id, org.apache.wicket.model.IModel<List<E>> choicesList, org.apache.wicket.model.IModel<E> model, org.apache.wicket.Component component, boolean allowNull) static <E extends Enum>
DropDownChoicePanel<E>createEnumPanel
(String id, org.apache.wicket.model.IModel<List<E>> choicesList, org.apache.wicket.model.IModel<E> model, org.apache.wicket.Component component, boolean allowNull, String nullValidDisplayValue) createEnumResourceKey
(T value) Deprecated.static org.apache.wicket.Component
createHelp
(String id) static String
createHumanReadableByteCount
(long bytes) static <T extends FocusType>
org.apache.wicket.request.resource.IResourcecreateJpegPhotoResource
(PrismObject<T> object) static org.apache.wicket.request.resource.IResource
createJpegPhotoResource
(FocusType focus) createLocalizedModelForEnum
(T value, org.apache.wicket.Component comp) static Map<IconCssStyle,
IconType> createMainButtonLayerIcon
(DisplayType mainButtonDisplayType) static org.apache.wicket.model.IModel<String>
createMappingDescription
(org.apache.wicket.model.IModel<PrismContainerValueWrapper<MappingType>> model) static @NotNull List<InlineMenuItem>
createMenuItemsFromActions
(@NotNull List<GuiActionType> actions, String operation, PageBase pageBase, @NotNull Supplier<Collection<? extends ObjectType>> selectedObjectsSupplier) static List<ObjectOrdering>
createMetadataOrdering
(org.apache.wicket.extensions.markup.html.repeater.util.SortParam<String> sortParam, String metadataProperty, PrismContext prismContext) static <T extends ObjectType>
org.apache.wicket.ComponentcreatePanel
(Class<? extends org.apache.wicket.markup.html.panel.Panel> panelClass, String markupId, ObjectDetailsModels<T> objectDetailsModels, ContainerPanelConfigurationType panelConfig) static PolyStringType
static PolyStringType
createPolyFromOrigString
(String str, String key) createReadonlyModelFromEnum
(Class<T> type) static org.apache.wicket.model.IModel<String>
createSimulatedCategoryNameModel
(org.apache.wicket.Component component, org.apache.wicket.model.IModel<SelectableBean<TaskType>> taskModel) Simulates task category using task archetype.createSupportedTargetTypeList
(QName targetTypeFromDef) static @NotNull TabbedPanel<org.apache.wicket.extensions.markup.html.tabs.ITab>
createTabPanel
(String id, PageBase parentPage, List<org.apache.wicket.extensions.markup.html.tabs.ITab> tabs, TabbedPanel.RightSideItemProvider provider) static @NotNull TabbedPanel<org.apache.wicket.extensions.markup.html.tabs.ITab>
createTabPanel
(String id, PageBase parentPage, List<org.apache.wicket.extensions.markup.html.tabs.ITab> tabs, TabbedPanel.RightSideItemProvider provider, String tabChangeParameter) static void
createToastForCreateObject
(org.apache.wicket.ajax.AjaxRequestTarget target, Class<? extends ObjectType> type) static void
createToastForCreateObject
(org.apache.wicket.ajax.AjaxRequestTarget target, QName type) static void
createToastForUpdateObject
(org.apache.wicket.ajax.AjaxRequestTarget target, Class<? extends ObjectType> type) static void
createToastForUpdateObject
(org.apache.wicket.ajax.AjaxRequestTarget target, QName type) static org.apache.wicket.markup.html.form.DropDownChoice<Boolean>
createTriStateCombo
(String id, org.apache.wicket.model.IModel<Boolean> model) static VisualizationDto
createVisualizationDto
(CaseType caseObject, PageBase pageBase, String operation) static VisualizationDto
createVisualizationDto
(CaseWorkItemType caseWorkItem, PageBase pageBase, String operation) static VisualizationDto
createVisualizationDtoForManualCase
(CaseType caseObject, PageBase pageBase, String operation) static String
debugHandler
(org.apache.wicket.request.IRequestHandler handler) static void
deleteSyncTokenPerformed
(org.apache.wicket.ajax.AjaxRequestTarget target, ResourceType resourceType, PageBase pageBase) static List<AssignmentObjectRelation>
divideAssignmentRelationsByAllValues
(List<AssignmentObjectRelation> initialAssignmentRelationsList, boolean addDefaultObjectRelations) The idea is to divide the list of AssignmentObjectRelation objects in such way that each AssignmentObjectRelation in the list will contain not more than 1 relation, not more than 1 object type and not more than one archetype reference.static List<AssignmentObjectRelation>
divideAssignmentRelationsByRelationValue
(List<AssignmentObjectRelation> initialRelationsList) The idea is to divide the list of AssignmentObjectRelation objects in such way that each AssignmentObjectRelation in the list will contain not more than 1 relation.static void
dropPowerOfAttorneyIfRequested
(OperationResult result, PrismObject<UserType> powerDonor, PageBase pageBase) static org.apache.wicket.behavior.Behavior
enabledIfFalse
(NonEmptyModel<Boolean> model) static void
encryptCredentials
(ObjectDelta delta, boolean encrypt, ModelServiceLocator serviceLocator) static void
encryptCredentials
(ObjectDelta delta, boolean encrypt, MidPointApplication app) static void
encryptCredentials
(PrismObject object, boolean encrypt, ModelServiceLocator serviceLocator) static void
encryptCredentials
(PrismObject object, boolean encrypt, MidPointApplication app) static void
encryptProtectedString
(ProtectedStringType string, boolean encrypt, ModelServiceLocator serviceLocator) static void
encryptProtectedString
(ProtectedStringType string, boolean encrypt, MidPointApplication app) static ObjectFilter
evaluateExpressionsInFilter
(ObjectFilter objectFilter, VariablesMap variables, OperationResult result, PageBase pageBase) static ObjectFilter
evaluateExpressionsInFilter
(ObjectFilter objectFilter, OperationResult result, PageBase pageBase) static String
exceptionToString
(String message, Exception e) static <I extends Item>
PrismObject<LookupTableType>findLookupTable
(ItemDefinition<I> definition, PageBase page) static PrismObject<LookupTableType>
findLookupTable
(PrismReferenceValue valueEnumerationRef, PageBase page) static PrismObject<ResourceType>
findResource
(PrismPropertyWrapper itemWrapper, PrismPropertyPanelContext panelCtx) static String
formatDate
(String format, Date date) static String
formatDate
(Date date) static String
formatDate
(XMLGregorianCalendar calendar) static String
formatDurationWordsForLocal
(long durationMillis, boolean suppressLeadingZeroElements, boolean suppressTrailingZeroElements) static String
formatDurationWordsForLocal
(long durationMillis, boolean suppressLeadingZeroElements, boolean suppressTrailingZeroElements, org.apache.wicket.Component comp) Deprecated.static List<DisplayableValue<?>>
getAllowedValues
(ExpressionType expression, ModelServiceLocator modelServiceLocator) static List<DisplayableValue<?>>
getAllowedValues
(SearchFilterParameterType parameter, ModelServiceLocator modelServiceLocator) static <O extends AssignmentHolderType>
List<String>getArchetypeOidsListByHolderType
(Class<O> holderType, PageBase pageBase) static <O extends ObjectType>
ArchetypePolicyTypegetArchetypeSpecification
(PrismObject<O> object, ModelServiceLocator locator) getAssignableRelationsList
(PrismObject<? extends FocusType> focusObject, Class<? extends AbstractRoleType> type, WebComponentUtil.AssignmentOrder assignmentOrder, OperationResult result, Task task, PageBase pageBase) static ObjectFilter
getAssignableRolesFilter
(PrismObject<? extends FocusType> focusObject, Class<? extends AbstractRoleType> type, WebComponentUtil.AssignmentOrder assignmentOrder, OperationResult result, Task task, PageBase pageBase) static ObjectFilter
getAssignableRolesFilter
(PrismObject<? extends FocusType> focusObject, Class<? extends AbstractRoleType> type, QName relation, WebComponentUtil.AssignmentOrder assignmentOrder, OperationResult result, Task task, PageBase pageBase) static CompositedIconBuilder
getAssignmentRelationIconBuilder
(PageBase pageBase, AssignmentObjectRelation relationSpec, IconType relationIcon, IconType actionButtonIcon) static @Nullable String
getAuthorizationActionForTargetClass
(Class targetClass) static org.apache.wicket.behavior.Behavior
static Collator
static PolyStringType
getCollectionLabel
(DisplayType viewDisplayType) Returns name of the collection suitable to be displayed in the menu or other labels.static org.apache.wicket.util.string.StringValue
getCollectionNameParameterValue
(PageAdminLTE parentPage) static String
static CompiledObjectCollectionView
getCollectionViewByObject
(AssignmentHolderType assignmentHolder, PageBase pageBase) static CompiledGuiProfile
static CompiledGuiProfile
getCompiledGuiProfile
(org.apache.wicket.Page page) static CompiledObjectCollectionView
getCompiledObjectCollectionView
(GuiObjectListViewType listViewType, ContainerPanelConfigurationType config, PageBase pageBase) getContainerConfiguration
(GuiObjectDetailsPageType pageConfig, String panelType) static <C extends Containerable>
LoadableModel<PrismContainerDefinition<C>>getContainerDefinitionModel
(Class<C> clazz) static <T> T
getContainerValue
(PrismContainerValue object, QName containerName) static Locale
static CompiledObjectCollectionView
getDefaultGuiObjectListType
(PageBase pageBase) Deprecated.static String
getDisplayName
(PrismObject object) static String
getDisplayName
(PrismObject object, boolean translate) static String
getDisplayName
(PrismObject object, boolean translate, LocalizationService localizationService) static String
getDisplayName
(Referencable ref, boolean translate) static String
static String
getDisplayNameAndName
(PrismObject<?> object) static String
static String
getDisplayNameOrName
(PrismObject object) static String
getDisplayNameOrName
(PrismObject object, boolean translate) static String
getDisplayNameOrName
(PrismObject object, boolean translate, LocalizationService localizationService) static String
static String
getDisplayNameOrName
(Referencable ref, boolean translate) static String
getDisplayNameOrName
(ObjectReferenceType ref, PageBase pageBase, String operation) static <O extends ObjectType>
StringgetDisplayNameOrName
(ObjectReferenceType ref, PageBase pageBase, String operation, boolean translate) static <O extends ObjectType>
StringgetEffectiveName
(PrismObject<O> object, QName propertyName) static <O extends ObjectType>
StringgetEffectiveName
(PrismObject<O> object, QName propertyName, boolean translate) static <O extends ObjectType>
StringgetEffectiveName
(Referencable ref, QName propertyName, PageBase pageBase, String operation, boolean translate) static String
getEffectiveName
(ObjectReferenceType ref, QName propertyName, PageBase pageBase, String operation) static String
getEffectiveName
(ObjectType object, QName propertyName) static String
getEffectiveName
(ObjectType object, QName propertyName, boolean translate) static boolean
getElementVisibility
(UserInterfaceElementVisibilityType visibilityType) static boolean
getElementVisibility
(UserInterfaceElementVisibilityType visibilityType, List<String> requiredAuthorizations) static <E extends Enum<E>>
org.apache.wicket.markup.html.form.IChoiceRenderer<E>getEnumChoiceRenderer
(org.apache.wicket.Component component) static org.apache.wicket.model.IModel<String>
getIconUrlModel
(IconType icon) static Integer
getIntegerParameter
(org.apache.wicket.request.mapper.parameter.PageParameters params, String key) static Collection<String>
getIntentsForKind
(PrismObject<ResourceType> resource, ShadowKindType kind) static String
static String
static <O extends ObjectType>
StringgetLabelForType
(Class<O> type, boolean startsWithUppercase) Deprecated.static String
getLocalizedDate
(Date date, String style) static String
getLocalizedDate
(XMLGregorianCalendar date, String style) static String
getLocalizedDatePattern
(String style) static String
getLongDateTimeFormat
(PageBase pageBase) static String
getLongDateTimeFormattedValue
(Date date, PageBase pageBase) static String
getLongDateTimeFormattedValue
(XMLGregorianCalendar date, PageBase pageBase) static String
getMidpointCustomSystemName
(PageAdminLTE pageBase, String defaultSystemNameKey) static AdminLTESkin
static String
getName
(PrismObject object) static String
getName
(PrismObject object, boolean translate) static String
getName
(Referencable ref, boolean translate) static String
static <O extends ObjectType>
StringgetName
(ObjectReferenceType ref, PageBase pageBase, String operation) static String
getName
(ObjectType object) static String
getName
(ObjectType object, boolean translate) static AssignmentHolderType
static String
getObjectListPageStorageKey
(String additionalKeyValue) static String
static String
static String
static <P extends PageAdminLTE>
Pstatic PageBase
getPageBase
(org.apache.wicket.Component component) static String
getPanelIdentifierFromParams
(org.apache.wicket.request.mapper.parameter.PageParameters pageParameters) static CredentialsPolicyType
getPasswordCredentialsPolicy
(PrismObject<? extends FocusType> focus, PageAdminLTE parentPage, Task task) static ValuePolicyType
getPasswordValuePolicy
(CredentialsPolicyType credentialsPolicy, String operation, PageAdminLTE parentPage) static ItemPath
getPath
(GuiObjectColumnType column) static Class<?>
getPreviousPageClass
(PageBase parentPage) static <C extends Containerable>
GuiObjectListViewTypegetPrincipalUserObjectListView
(PageAdminLTE parentPage, FocusType principalFocus, @NotNull Class<C> viewType, boolean createIfNotExist, String defaultIdentifier) static PrismContext
getPrismContext
(org.apache.wicket.Component component) static DateValidator
getRangeValidator
(org.apache.wicket.markup.html.form.Form<?> form, ItemPath path) static String
getReferencedObjectDisplayNameAndName
(Referencable ref, boolean loadObject, PageBase pageBase) static String
getReferencedObjectDisplayNamesAndNames
(Referencable ref, boolean showTypes) static String
getReferencedObjectDisplayNamesAndNames
(Referencable ref, boolean showTypes, boolean translate) static String
getReferencedObjectDisplayNamesAndNames
(List<ObjectReferenceType> refs, boolean showTypes) static String
getReferencedObjectNames
(List<ObjectReferenceType> refs, boolean showTypes) static String
getReferencedObjectNames
(List<ObjectReferenceType> refs, boolean showTypes, boolean translate) static String
getReferenceObjectTextValue
(ObjectReferenceType ref, PrismReferenceDefinition referenceDef, PageBase pageBase) static <T extends Selectable>
List<T>getSelectedData
(Table table) static String
getShortDateTimeFormat
(PageBase pageBase) static String
getShortDateTimeFormattedValue
(Date date, PageBase pageBase) static String
getShortDateTimeFormattedValue
(XMLGregorianCalendar date, PageBase pageBase) static String
getSimpleChannel
(String chanelUri) static String
getStringParameter
(org.apache.wicket.request.mapper.parameter.PageParameters params, String key) static org.apache.wicket.behavior.Behavior
getSubmitOnEnterKeyDownBehavior
(String submitButtonAboutAttribute) static <O extends ObjectType>
SummaryPanelSpecificationTypegetSummaryPanelSpecification
(Class<O> type, CompiledGuiProfile compiledGuiProfile) Deprecated.static String
getTaskProgressDescription
(TaskInformation taskInformation, boolean longForm, PageBase pageBase) static Long
getTimestampAsLong
(XMLGregorianCalendar cal, boolean currentIfNull) static String
Deprecated.SeeLocalizationUtil
static String
static <T> T
getValue
(PrismContainer object, QName propertyName, Class<T> type) static <T> T
getValue
(PrismContainerValue object, QName propertyName, Class<T> type) static <AH extends AssignmentHolderType>
booleanhasAnyArchetypeAssignment
(AH assignmentHolder) static <AH extends AssignmentHolderType>
booleanhasArchetypeAssignment
(AH assignmentHolder, String archetypeOid) static boolean
hasPopupableParent
(@NotNull org.apache.wicket.Component component) static Boolean
isActivationEnabled
(PrismObject object, ItemPath propertyName) static boolean
isAllNulls
(Iterable<?> array) static boolean
isArchetypeAssignment
(AssignmentType assignmentType) static boolean
isAuthorized
(Class<? extends ObjectType> clazz) static boolean
isAuthorized
(String... action) static boolean
isAuthorized
(Collection<String> actions) static boolean
isClosedTask
(TaskType task) Checks user-visible state, not the technical (scheduling) state.static boolean
static boolean
isDelegationAssignment
(AssignmentType assignmentType) static boolean
static boolean
static boolean
isImportReport
(ReportType report) static boolean
isItemVisible
(List<ItemPath> visibleItems, ItemPath itemToBeFound) static boolean
isLiveSync
(TaskType task) static boolean
isRecomputation
(TaskType task) static boolean
isReconciliation
(TaskType task) static boolean
isRecurringTask
(TaskType task) static boolean
isRefreshEnabled
(PageBase pageBase, QName type) static boolean
static boolean
static boolean
isRunnableTask
(TaskType task) Checks user-visible state, not the technical (scheduling) state.static boolean
isRunningTask
(TaskType task) static boolean
static boolean
isSuccessOrHandledError
(OperationResultType resultType) static boolean
static boolean
isSuspendedTask
(TaskType task) Checks user-visible state, not the technical (scheduling) state.static boolean
isTemplateCategory
(@NotNull ResourceType resource) static boolean
isWaitingTask
(TaskType task) Checks user-visible state, not the technical (scheduling) state.static ItemPath
static LookupTableType
loadLookupTable
(String lookupTableOid, PageAdminLTE parentPage) static <O extends ObjectType>
List<O>loadReferencedObjectList
(List<ObjectReferenceType> refList, String operation, PageAdminLTE pageBase) static <O extends ObjectType>
List<O>loadReferencedObjectList
(List<ObjectReferenceType> refList, String operation, Task task, PageAdminLTE pageBase) static String
prepareAutoCompleteList
(LookupTableType lookupTable, String input) static org.apache.wicket.behavior.Behavior
static Class<? extends Serializable>
qnameToAnyClass
(PrismContext prismContext, QName qName) static Class<?>
qnameToClass
(PrismContext prismContext, QName type) static <T extends ObjectType>
Class<T>qnameToClass
(PrismContext prismContext, QName type, Class<T> returnType) static <C extends Containerable>
Class<C>qnameToContainerClass
(PrismContext prismContext, QName type) static void
refreshFeedbacks
(org.apache.wicket.MarkupContainer component, org.apache.wicket.ajax.AjaxRequestTarget target) static void
releaseWorkItemActionPerformed
(CaseWorkItemType workItemToClaim, String operation, org.apache.wicket.ajax.AjaxRequestTarget target, PageBase pageBase) static String
resolveLocalizableMessage
(LocalizableMessage localizableMessage, org.apache.wicket.Component component) static <O extends ObjectType>
List<QName>resolveObjectTypesToQNames
(Collection<Class<? extends O>> types, PrismContext prismContext) Takes a collection of object types (classes) that may contain abstract types.static org.apache.wicket.RestartResponseException
static void
revive
(LoadableModel<?> loadableModel, PrismContext prismContext) static void
reviveObject
(Object object, PrismContext prismContext) static <T> T
runUnderPowerOfAttorneyIfNeeded
(CheckedProducer<T> producer, PrismObject<? extends FocusType> powerDonor, PageBase pageBase, Task task, OperationResult result) static Integer
static void
safeResultCleanup
(OperationResult result, Trace logger) static void
saveLifeCycleStateOnPath
(@NotNull PrismObject resource, ItemPath pathToProperty, org.apache.wicket.ajax.AjaxRequestTarget target, Task task, OperationResult parentResult, PageBase pageBase) static void
saveObjectLifeCycle
(@NotNull PrismObject resource, String operation, org.apache.wicket.ajax.AjaxRequestTarget target, PageBase pageBase) static void
setCurrentPage
(Table table, ObjectPaging paging) static void
setTaskStateBeforeSave
(PrismObjectWrapper<TaskType> taskWrapper, boolean runEnabled, PageBase pageBase, org.apache.wicket.ajax.AjaxRequestTarget target) static boolean
showResultInPage
(OperationResult result) static void
showToastForRecordedButUnsavedChanges
(org.apache.wicket.ajax.AjaxRequestTarget target, PrismContainerValueWrapper value) static <T> List<T>
sortDropDownChoices
(org.apache.wicket.model.IModel<? extends List<? extends T>> choicesModel, org.apache.wicket.markup.html.form.IChoiceRenderer<T> renderer) static String
Deprecated.SeeLocalizationUtil
static org.apache.wicket.behavior.Behavior
visibleIfFalse
(NonEmptyModel<Boolean> model) static void
workItemApproveActionPerformed
(org.apache.wicket.ajax.AjaxRequestTarget target, CaseWorkItemType workItem, org.apache.wicket.Component formPanel, PrismObject<UserType> powerDonor, boolean approved, OperationResult result, PageBase pageBase) static Long
-
Constructor Details
-
WebComponentUtil
public WebComponentUtil()
-
-
Method Details
-
restartOnLoginPageException
public static org.apache.wicket.RestartResponseException restartOnLoginPageException() -
setTaskStateBeforeSave
public static void setTaskStateBeforeSave(PrismObjectWrapper<TaskType> taskWrapper, boolean runEnabled, PageBase pageBase, org.apache.wicket.ajax.AjaxRequestTarget target) -
nl2br
-
getTypeLocalized
-
getReferencedObjectNames
-
getReferencedObjectNames
public static String getReferencedObjectNames(List<ObjectReferenceType> refs, boolean showTypes, boolean translate) -
getReferencedObjectDisplayNameAndName
public static String getReferencedObjectDisplayNameAndName(Referencable ref, boolean loadObject, PageBase pageBase) -
getReferencedObjectDisplayNamesAndNames
public static String getReferencedObjectDisplayNamesAndNames(List<ObjectReferenceType> refs, boolean showTypes) -
getReferencedObjectDisplayNamesAndNames
-
getReferencedObjectDisplayNamesAndNames
public static String getReferencedObjectDisplayNamesAndNames(Referencable ref, boolean showTypes, boolean translate) -
loadReferencedObjectList
public static <O extends ObjectType> List<O> loadReferencedObjectList(List<ObjectReferenceType> refList, String operation, PageAdminLTE pageBase) -
loadReferencedObjectList
public static <O extends ObjectType> List<O> loadReferencedObjectList(List<ObjectReferenceType> refList, String operation, Task task, PageAdminLTE pageBase) -
addAjaxOnUpdateBehavior
public static void addAjaxOnUpdateBehavior(org.apache.wicket.markup.html.WebMarkupContainer container) -
resolveLocalizableMessage
public static String resolveLocalizableMessage(LocalizableMessage localizableMessage, org.apache.wicket.Component component) -
getAuthorizationActionForTargetClass
-
safeResultCleanup
-
getDefaultGuiObjectListType
@Deprecated public static CompiledObjectCollectionView getDefaultGuiObjectListType(PageBase pageBase) Deprecated.Default list view setting should never be needed. Always check setting for specific object type (and archetype). -
getRangeValidator
public static DateValidator getRangeValidator(org.apache.wicket.markup.html.form.Form<?> form, ItemPath path) -
isItemVisible
-
qnameToClass
-
qnameToClass
public static <T extends ObjectType> Class<T> qnameToClass(PrismContext prismContext, QName type, Class<T> returnType) -
classToQName
-
classToQName
-
containerClassToQName
public static <T extends Containerable> QName containerClassToQName(PrismContext prismContext, Class<T> clazz) -
anyClassToQName
-
qnameToAnyClass
-
qnameToContainerClass
public static <C extends Containerable> Class<C> qnameToContainerClass(PrismContext prismContext, QName type) -
canSuspendTask
-
canResumeTask
-
canRunNowTask
-
isRunnableTask
Checks user-visible state, not the technical (scheduling) state. So RUNNABLE means the task is not actually running. -
isRunningTask
-
isWaitingTask
Checks user-visible state, not the technical (scheduling) state. -
isSuspendedTask
Checks user-visible state, not the technical (scheduling) state. -
isClosedTask
Checks user-visible state, not the technical (scheduling) state. But for closed tasks, these are equivalent. -
isRecurringTask
-
isReconciliation
-
isRecomputation
-
isReport
-
isImport
-
isLiveSync
-
isAuthorized
-
isAuthorized
-
isAuthorized
-
safeLongToInteger
-
createSupportedTargetTypeList
-
resolveObjectTypesToQNames
public static <O extends ObjectType> List<QName> resolveObjectTypesToQNames(Collection<Class<? extends O>> types, PrismContext prismContext) Takes a collection of object types (classes) that may contain abstract types. Returns a collection that only contain concrete types.- Type Parameters:
O
- common supertype for all the types in the collectionsTODO: move to schema component
-
createEnumResourceKey
Deprecated. -
createLocalizedModelForEnum
-
createReadonlyModelFromEnum
-
createSimulatedCategoryNameModel
@Experimental public static org.apache.wicket.model.IModel<String> createSimulatedCategoryNameModel(org.apache.wicket.Component component, org.apache.wicket.model.IModel<SelectableBean<TaskType>> taskModel) Simulates task category using task archetype. -
createCategoryNameModel
-
createEnumPanel
public static <E extends Enum> DropDownChoicePanel<E> createEnumPanel(Class<E> clazz, String id, org.apache.wicket.model.IModel<E> model, org.apache.wicket.Component component) -
createEnumPanel
public static <E extends Enum> DropDownChoicePanel<E> createEnumPanel(Class<E> clazz, String id, org.apache.wicket.model.IModel<E> model, org.apache.wicket.Component component, boolean allowNull) -
createEnumPanel
public static <E extends Enum> DropDownChoicePanel<E> createEnumPanel(String id, org.apache.wicket.model.IModel<List<E>> choicesList, org.apache.wicket.model.IModel<E> model, org.apache.wicket.Component component, boolean allowNull) -
createEnumPanel
public static <E extends Enum> DropDownChoicePanel<E> createEnumPanel(String id, org.apache.wicket.model.IModel<List<E>> choicesList, org.apache.wicket.model.IModel<E> model, org.apache.wicket.Component component, boolean allowNull, String nullValidDisplayValue) -
getEnumChoiceRenderer
public static <E extends Enum<E>> org.apache.wicket.markup.html.form.IChoiceRenderer<E> getEnumChoiceRenderer(org.apache.wicket.Component component) -
createEnumPanel
public static DropDownChoicePanel createEnumPanel(PrismPropertyDefinition def, String id, org.apache.wicket.model.IModel model) -
getName
-
getName
-
getEffectiveName
-
getEffectiveName
-
getEffectiveName
public static <O extends ObjectType> String getEffectiveName(PrismObject<O> object, QName propertyName) -
getEffectiveName
public static <O extends ObjectType> String getEffectiveName(PrismObject<O> object, QName propertyName, boolean translate) -
getTranslatedPolyString
Deprecated.SeeLocalizationUtil
-
getName
public static <O extends ObjectType> String getName(ObjectReferenceType ref, PageBase pageBase, String operation) -
getDisplayNameOrName
public static String getDisplayNameOrName(ObjectReferenceType ref, PageBase pageBase, String operation) -
getDisplayNameOrName
public static <O extends ObjectType> String getDisplayNameOrName(ObjectReferenceType ref, PageBase pageBase, String operation, boolean translate) -
getEffectiveName
public static String getEffectiveName(ObjectReferenceType ref, QName propertyName, PageBase pageBase, String operation) -
getEffectiveName
public static <O extends ObjectType> String getEffectiveName(Referencable ref, QName propertyName, PageBase pageBase, String operation, boolean translate) -
getName
-
getName
-
getName
-
getName
-
combineDisplay
-
getItemDefinitionDisplayNameOrName
-
getItemDefinitionDisplayName
-
getDisplayNameOrName
-
getDisplayNameOrName
-
getDisplayNameOrName
public static String getDisplayNameOrName(PrismObject object, boolean translate, LocalizationService localizationService) -
getDisplayNameOrName
-
getDisplayNameOrName
-
getDisplayNameAndName
-
getDisplayNameAndName
-
getDisplayName
-
getDisplayName
-
getDisplayName
-
getDisplayName
-
getDisplayName
public static String getDisplayName(PrismObject object, boolean translate, LocalizationService localizationService) -
createPolyFromOrigString
@Contract("null -> null; !null -> !null") public static PolyStringType createPolyFromOrigString(String str) -
createPolyFromOrigString
@Contract("null, _ -> null; !null, _ -> !null") public static PolyStringType createPolyFromOrigString(String str, String key) -
getOrigStringFromPoly
-
getOrigStringFromPoly
-
getOrigStringFromPolyOrEmpty
-
getValue
-
getContainerValue
-
getValue
-
encryptCredentials
-
encryptCredentials
public static void encryptCredentials(ObjectDelta delta, boolean encrypt, ModelServiceLocator serviceLocator) -
encryptProtectedString
public static void encryptProtectedString(ProtectedStringType string, boolean encrypt, ModelServiceLocator serviceLocator) -
encryptCredentials
-
encryptCredentials
public static void encryptCredentials(PrismObject object, boolean encrypt, ModelServiceLocator serviceLocator) -
encryptProtectedString
public static void encryptProtectedString(ProtectedStringType string, boolean encrypt, MidPointApplication app) -
getSelectedData
-
clearProviderCache
public static void clearProviderCache(org.apache.wicket.markup.repeater.data.IDataProvider provider) -
showResultInPage
-
formatDate
-
formatDate
-
formatDate
-
getLocalizedDatePattern
-
getCurrentLocale
-
getLocalizedDate
-
getLocalizedDate
-
getShortDateTimeFormattedValue
-
getShortDateTimeFormattedValue
-
getLongDateTimeFormattedValue
-
getLongDateTimeFormattedValue
-
getShortDateTimeFormat
-
getLongDateTimeFormat
-
isActivationEnabled
-
isSuccessOrHandledError
-
isSuccessOrHandledError
-
isSuccessOrHandledErrorOrWarning
-
isTemplateCategory
-
evaluateExpressionsInFilter
public static ObjectFilter evaluateExpressionsInFilter(ObjectFilter objectFilter, VariablesMap variables, OperationResult result, PageBase pageBase) -
evaluateExpressionsInFilter
public static ObjectFilter evaluateExpressionsInFilter(ObjectFilter objectFilter, OperationResult result, PageBase pageBase) -
refreshFeedbacks
public static void refreshFeedbacks(org.apache.wicket.MarkupContainer component, org.apache.wicket.ajax.AjaxRequestTarget target) -
revive
public static void revive(LoadableModel<?> loadableModel, PrismContext prismContext) throws SchemaException - Throws:
SchemaException
-
reviveObject
- Throws:
SchemaException
-
getPrismContext
-
getChannelList
-
getMatchingRuleList
-
createHumanReadableByteCount
-
setCurrentPage
-
getPageBase
-
getPage
public static <P extends PageAdminLTE> P getPage(org.apache.wicket.Component component, Class<P> pageClass) -
debugHandler
-
joinPath
-
getPanelIdentifierFromParams
public static String getPanelIdentifierFromParams(org.apache.wicket.request.mapper.parameter.PageParameters pageParameters) -
createTabPanel
@NotNull public static @NotNull TabbedPanel<org.apache.wicket.extensions.markup.html.tabs.ITab> createTabPanel(String id, PageBase parentPage, List<org.apache.wicket.extensions.markup.html.tabs.ITab> tabs, TabbedPanel.RightSideItemProvider provider) -
createTabPanel
@NotNull public static @NotNull TabbedPanel<org.apache.wicket.extensions.markup.html.tabs.ITab> createTabPanel(String id, PageBase parentPage, List<org.apache.wicket.extensions.markup.html.tabs.ITab> tabs, TabbedPanel.RightSideItemProvider provider, String tabChangeParameter) -
createHelp
-
exceptionToString
-
visibleIfFalse
-
enabledIfFalse
-
getStringParameter
-
getIntegerParameter
-
getElementVisibility
-
getElementVisibility
public static boolean getElementVisibility(UserInterfaceElementVisibilityType visibilityType, List<String> requiredAuthorizations) -
createAbstractRoleConfirmationMessage
public static <AR extends AbstractRoleType> org.apache.wicket.model.IModel<String> createAbstractRoleConfirmationMessage(String actionName, ColumnMenuAction action, MainObjectListPanel<AR> abstractRoleTable, PageBase pageBase) -
getCollectionLabel
Returns name of the collection suitable to be displayed in the menu or other labels. E.g. "All tasks", "Active employees". -
saveObjectLifeCycle
public static void saveObjectLifeCycle(@NotNull @NotNull PrismObject resource, String operation, org.apache.wicket.ajax.AjaxRequestTarget target, PageBase pageBase) -
saveLifeCycleStateOnPath
public static void saveLifeCycleStateOnPath(@NotNull @NotNull PrismObject resource, ItemPath pathToProperty, org.apache.wicket.ajax.AjaxRequestTarget target, Task task, OperationResult parentResult, PageBase pageBase) -
prepareAutoCompleteList
-
createTriStateCombo
-
isAllNulls
-
getPreviousPageClass
-
createMenuItemsFromActions
@NotNull public static @NotNull List<InlineMenuItem> createMenuItemsFromActions(@NotNull @NotNull List<GuiActionType> actions, String operation, PageBase pageBase, @NotNull @NotNull Supplier<Collection<? extends ObjectType>> selectedObjectsSupplier) -
getAssignableRolesFilter
public static ObjectFilter getAssignableRolesFilter(PrismObject<? extends FocusType> focusObject, Class<? extends AbstractRoleType> type, WebComponentUtil.AssignmentOrder assignmentOrder, OperationResult result, Task task, PageBase pageBase) -
getAssignableRolesFilter
public static ObjectFilter getAssignableRolesFilter(PrismObject<? extends FocusType> focusObject, Class<? extends AbstractRoleType> type, QName relation, WebComponentUtil.AssignmentOrder assignmentOrder, OperationResult result, Task task, PageBase pageBase) -
getSubmitOnEnterKeyDownBehavior
public static org.apache.wicket.behavior.Behavior getSubmitOnEnterKeyDownBehavior(String submitButtonAboutAttribute) -
getBlurOnEnterKeyDownBehavior
public static org.apache.wicket.behavior.Behavior getBlurOnEnterKeyDownBehavior() -
preventSubmitOnEnterKeyDownBehavior
public static org.apache.wicket.behavior.Behavior preventSubmitOnEnterKeyDownBehavior() -
getAssignableRelationsList
public static List<QName> getAssignableRelationsList(PrismObject<? extends FocusType> focusObject, Class<? extends AbstractRoleType> type, WebComponentUtil.AssignmentOrder assignmentOrder, OperationResult result, Task task, PageBase pageBase) -
getReferenceObjectTextValue
public static String getReferenceObjectTextValue(ObjectReferenceType ref, PrismReferenceDefinition referenceDef, PageBase pageBase) -
formatDurationWordsForLocal
public static String formatDurationWordsForLocal(long durationMillis, boolean suppressLeadingZeroElements, boolean suppressTrailingZeroElements) -
formatDurationWordsForLocal
@Deprecated public static String formatDurationWordsForLocal(long durationMillis, boolean suppressLeadingZeroElements, boolean suppressTrailingZeroElements, org.apache.wicket.Component comp) Deprecated.uses the one without "comp" parameter- Parameters:
durationMillis
-suppressLeadingZeroElements
-suppressTrailingZeroElements
-comp
-- Returns:
-
getArchetypeSpecification
public static <O extends ObjectType> ArchetypePolicyType getArchetypeSpecification(PrismObject<O> object, ModelServiceLocator locator) -
createCompositeIconForObject
public static <O extends ObjectType> CompositedIcon createCompositeIconForObject(O obj, OperationResult result, PageBase pageBase) -
createAccountIcon
public static CompositedIcon createAccountIcon(ShadowType shadow, PageBase pageBase, boolean isColumn) -
getAssignmentRelationIconBuilder
@Contract("_,_,_,null -> null") public static CompositedIconBuilder getAssignmentRelationIconBuilder(PageBase pageBase, AssignmentObjectRelation relationSpec, IconType relationIcon, IconType actionButtonIcon) -
getIconUrlModel
-
deleteSyncTokenPerformed
public static void deleteSyncTokenPerformed(org.apache.wicket.ajax.AjaxRequestTarget target, ResourceType resourceType, PageBase pageBase) -
divideAssignmentRelationsByRelationValue
public static List<AssignmentObjectRelation> divideAssignmentRelationsByRelationValue(List<AssignmentObjectRelation> initialRelationsList) The idea is to divide the list of AssignmentObjectRelation objects in such way that each AssignmentObjectRelation in the list will contain not more than 1 relation. This will simplify creating of a new_assignment_button on some panels -
divideAssignmentRelationsByAllValues
public static List<AssignmentObjectRelation> divideAssignmentRelationsByAllValues(List<AssignmentObjectRelation> initialAssignmentRelationsList, boolean addDefaultObjectRelations) The idea is to divide the list of AssignmentObjectRelation objects in such way that each AssignmentObjectRelation in the list will contain not more than 1 relation, not more than 1 object type and not more than one archetype reference. This will simplify creating of a new_assignment_button -
assignmentObjectRelationAlreadyExists
public static boolean assignmentObjectRelationAlreadyExists(List<AssignmentObjectRelation> list, AssignmentObjectRelation relation) it's expected that the list of AssignmentObjectRelation will be pre-prepared in such manner that each AssignmentObjectRelation in the list will contain only one object type, one relation and one archetypeRef. This methods compares only the first items in these lists- Parameters:
list
-relation
-- Returns:
-
sortDropDownChoices
-
createVisualizationDto
public static VisualizationDto createVisualizationDto(CaseWorkItemType caseWorkItem, PageBase pageBase, String operation) -
computeTriggers
public static List<EvaluatedTriggerGroupDto> computeTriggers(ApprovalContextType wfc, Integer stage) -
createVisualizationDto
public static VisualizationDto createVisualizationDto(CaseType caseObject, PageBase pageBase, String operation) -
createVisualizationDtoForManualCase
public static VisualizationDto createVisualizationDtoForManualCase(CaseType caseObject, PageBase pageBase, String operation) -
workItemApproveActionPerformed
public static void workItemApproveActionPerformed(org.apache.wicket.ajax.AjaxRequestTarget target, CaseWorkItemType workItem, org.apache.wicket.Component formPanel, PrismObject<UserType> powerDonor, boolean approved, OperationResult result, PageBase pageBase) -
caseOutcomeUriToIcon
-
createMetadataOrdering
public static List<ObjectOrdering> createMetadataOrdering(org.apache.wicket.extensions.markup.html.repeater.util.SortParam<String> sortParam, String metadataProperty, PrismContext prismContext) -
claimWorkItemActionPerformed
public static void claimWorkItemActionPerformed(CaseWorkItemType workItemToClaim, String operation, org.apache.wicket.ajax.AjaxRequestTarget target, PageBase pageBase) -
releaseWorkItemActionPerformed
public static void releaseWorkItemActionPerformed(CaseWorkItemType workItemToClaim, String operation, org.apache.wicket.ajax.AjaxRequestTarget target, PageBase pageBase) -
assumePowerOfAttorneyIfRequested
public static void assumePowerOfAttorneyIfRequested(OperationResult result, PrismObject<UserType> powerDonor, PageBase pageBase) -
dropPowerOfAttorneyIfRequested
public static void dropPowerOfAttorneyIfRequested(OperationResult result, PrismObject<UserType> powerDonor, PageBase pageBase) -
runUnderPowerOfAttorneyIfNeeded
public static <T> T runUnderPowerOfAttorneyIfNeeded(CheckedProducer<T> producer, PrismObject<? extends FocusType> powerDonor, PageBase pageBase, Task task, OperationResult result) throws CommonException - Throws:
CommonException
-
computeChangesCategorizationList
@NotNull public static @NotNull List<VisualizationDto> computeChangesCategorizationList(ChangesByState changesByState, ObjectReferenceType objectRef, ModelInteractionService modelInteractionService, PrismContext prismContext, Task opTask, OperationResult thisOpResult) throws SchemaException, ExpressionEvaluationException -
getMidpointCustomSystemName
public static String getMidpointCustomSystemName(PageAdminLTE pageBase, String defaultSystemNameKey) -
getObjectListPageStorageKey
-
getObjectFromAddDeltaForCase
-
isResourceRelatedTask
-
isRefreshEnabled
-
xgc2long
-
getSimpleChannel
-
getIntentsForKind
public static Collection<String> getIntentsForKind(PrismObject<ResourceType> resource, ShadowKindType kind) -
resolveSelfPage
-
findLookupTable
public static <I extends Item> PrismObject<LookupTableType> findLookupTable(ItemDefinition<I> definition, PageBase page) -
findLookupTable
public static PrismObject<LookupTableType> findLookupTable(PrismReferenceValue valueEnumerationRef, PageBase page) -
hasAnyArchetypeAssignment
public static <AH extends AssignmentHolderType> boolean hasAnyArchetypeAssignment(AH assignmentHolder) -
isArchetypeAssignment
-
isDelegationAssignment
-
hasArchetypeAssignment
public static <AH extends AssignmentHolderType> boolean hasArchetypeAssignment(AH assignmentHolder, String archetypeOid) -
getLocale
Deprecated. -
getCollator
-
createCreateReportIcon
-
getCollectionViewByObject
public static CompiledObjectCollectionView getCollectionViewByObject(AssignmentHolderType assignmentHolder, PageBase pageBase) -
getPasswordCredentialsPolicy
public static CredentialsPolicyType getPasswordCredentialsPolicy(PrismObject<? extends FocusType> focus, PageAdminLTE parentPage, Task task) -
getPasswordValuePolicy
public static ValuePolicyType getPasswordValuePolicy(CredentialsPolicyType credentialsPolicy, String operation, PageAdminLTE parentPage) -
getTimestampAsLong
@Contract("_,true->!null") public static Long getTimestampAsLong(XMLGregorianCalendar cal, boolean currentIfNull) -
getTaskProgressDescription
public static String getTaskProgressDescription(TaskInformation taskInformation, boolean longForm, PageBase pageBase) -
getAllowedValues
public static List<DisplayableValue<?>> getAllowedValues(SearchFilterParameterType parameter, ModelServiceLocator modelServiceLocator) -
getAllowedValues
public static List<DisplayableValue<?>> getAllowedValues(ExpressionType expression, ModelServiceLocator modelServiceLocator) -
getCollectionNameParameterValueAsString
-
getCollectionNameParameterValue
public static org.apache.wicket.util.string.StringValue getCollectionNameParameterValue(PageAdminLTE parentPage) -
getPrincipalUserObjectListView
public static <C extends Containerable> GuiObjectListViewType getPrincipalUserObjectListView(PageAdminLTE parentPage, FocusType principalFocus, @NotNull @NotNull Class<C> viewType, boolean createIfNotExist, String defaultIdentifier) -
createDropDownChoices
public static <T> DropDownChoicePanel createDropDownChoices(String id, org.apache.wicket.model.IModel<DisplayableValue<T>> model, org.apache.wicket.model.IModel<List<DisplayableValue<T>>> choices, boolean allowNull) -
createMainButtonLayerIcon
public static Map<IconCssStyle,IconType> createMainButtonLayerIcon(DisplayType mainButtonDisplayType) -
addNewArchetype
public static <T extends AssignmentHolderType> void addNewArchetype(PrismObjectWrapper<T> object, String archetypeOid, org.apache.wicket.ajax.AjaxRequestTarget target, PageBase pageBase) -
isImportReport
-
createMappingDescription
public static org.apache.wicket.model.IModel<String> createMappingDescription(org.apache.wicket.model.IModel<PrismContainerValueWrapper<MappingType>> model) -
createPanel
public static <T extends ObjectType> org.apache.wicket.Component createPanel(Class<? extends org.apache.wicket.markup.html.panel.Panel> panelClass, String markupId, ObjectDetailsModels<T> objectDetailsModels, ContainerPanelConfigurationType panelConfig) -
findResource
public static PrismObject<ResourceType> findResource(PrismPropertyWrapper itemWrapper, PrismPropertyPanelContext panelCtx) -
getContainerConfiguration
public static ContainerPanelConfigurationType getContainerConfiguration(GuiObjectDetailsPageType pageConfig, String panelType) -
getSummaryPanelSpecification
@Deprecated public static <O extends ObjectType> SummaryPanelSpecificationType getSummaryPanelSpecification(Class<O> type, CompiledGuiProfile compiledGuiProfile) Deprecated.only for 'old' object details pages. Should be removed after only new design will be present. -
addDisabledClassBehavior
public static void addDisabledClassBehavior(org.apache.wicket.Component comp) -
getCompiledGuiProfile
-
getCompiledGuiProfile
-
createJpegPhotoResource
public static <T extends FocusType> org.apache.wicket.request.resource.IResource createJpegPhotoResource(PrismObject<T> object) -
createJpegPhotoResource
-
getMidPointSkin
-
createToastForUpdateObject
public static void createToastForUpdateObject(org.apache.wicket.ajax.AjaxRequestTarget target, Class<? extends ObjectType> type) -
createToastForCreateObject
public static void createToastForCreateObject(org.apache.wicket.ajax.AjaxRequestTarget target, Class<? extends ObjectType> type) -
createToastForUpdateObject
public static void createToastForUpdateObject(org.apache.wicket.ajax.AjaxRequestTarget target, QName type) -
createToastForCreateObject
public static void createToastForCreateObject(org.apache.wicket.ajax.AjaxRequestTarget target, QName type) -
getLabelForType
public static <O extends ObjectType> String getLabelForType(Class<O> type, boolean startsWithUppercase) -
showToastForRecordedButUnsavedChanges
public static void showToastForRecordedButUnsavedChanges(org.apache.wicket.ajax.AjaxRequestTarget target, PrismContainerValueWrapper value) -
translateMessage
Deprecated.SeeLocalizationUtil
-
getCompiledObjectCollectionView
public static CompiledObjectCollectionView getCompiledObjectCollectionView(GuiObjectListViewType listViewType, ContainerPanelConfigurationType config, PageBase pageBase) -
getPath
-
hasPopupableParent
public static boolean hasPopupableParent(@NotNull @NotNull org.apache.wicket.Component component) -
isEnabledExperimentalFeatures
public static boolean isEnabledExperimentalFeatures() -
isDarkModeEnabled
public static boolean isDarkModeEnabled() -
loadLookupTable
-
getArchetypeOidsListByHolderType
public static <O extends AssignmentHolderType> List<String> getArchetypeOidsListByHolderType(Class<O> holderType, PageBase pageBase) -
getContainerDefinitionModel
public static <C extends Containerable> LoadableModel<PrismContainerDefinition<C>> getContainerDefinitionModel(Class<C> clazz)
-
LocalizationUtil.createKeyForEnum(Enum)