Class SubscriptionUtil
java.lang.Object
com.evolveum.midpoint.repo.common.util.SubscriptionUtil
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Enumeration for the type of subscription. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull SubscriptionUtil.SubscriptionType
getSubscriptionType
(@Nullable SystemConfigurationType systemConfigurationType) static @NotNull SubscriptionUtil.SubscriptionType
getSubscriptionType
(String subscriptionId) static @Nullable String
missingSubscriptionAppeal
(SystemObjectCache systemObjectCache, LocalizationService localizationService, Locale locale) If null is returned, subscription is valid and no action is needed.
-
Constructor Details
-
SubscriptionUtil
public SubscriptionUtil()
-
-
Method Details
-
getSubscriptionType
@NotNull public static @NotNull SubscriptionUtil.SubscriptionType getSubscriptionType(@Nullable @Nullable SystemConfigurationType systemConfigurationType) -
getSubscriptionType
@NotNull public static @NotNull SubscriptionUtil.SubscriptionType getSubscriptionType(String subscriptionId) -
missingSubscriptionAppeal
@Nullable public static @Nullable String missingSubscriptionAppeal(SystemObjectCache systemObjectCache, LocalizationService localizationService, Locale locale) If null is returned, subscription is valid and no action is needed. If non-null message is returned, it can be added where necessary.
-