Class SubscriptionUtil
- java.lang.Object
-
- com.evolveum.midpoint.repo.common.util.SubscriptionUtil
-
public class SubscriptionUtil extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SubscriptionUtil.SubscriptionType
Enumeration for the type of subscription.
-
Constructor Summary
Constructors Constructor Description SubscriptionUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @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.
-
-
-
Method Detail
-
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.
-
-