Package com.evolveum.midpoint.schema
Class CapabilityUtil
- java.lang.Object
-
- com.evolveum.midpoint.schema.CapabilityUtil
-
public class CapabilityUtil extends Object
- Author:
- semancik
-
-
Constructor Summary
Constructors Constructor Description CapabilityUtil()
-
Method Summary
-
-
-
Method Detail
-
getCapability
public static <T extends CapabilityType> T getCapability(Collection<Object> capabilities, Class<T> capabilityClass)
-
isCapabilityEnabled
public static boolean isCapabilityEnabled(Object capability)
-
isCapabilityEnabled
public static <T extends CapabilityType> boolean isCapabilityEnabled(T capability)
-
getCapabilityWithSameElementName
public static Object getCapabilityWithSameElementName(List<Object> capabilities, Object capability)
-
containsCapabilityWithSameElementName
public static boolean containsCapabilityWithSameElementName(List<Object> capabilities, Object capability)
-
isPasswordReturnedByDefault
public static boolean isPasswordReturnedByDefault(CredentialsCapabilityType capability)
-
isActivationStatusReturnedByDefault
public static boolean isActivationStatusReturnedByDefault(ActivationCapabilityType capability)
-
isActivationLockoutStatusReturnedByDefault
public static boolean isActivationLockoutStatusReturnedByDefault(ActivationCapabilityType capability)
-
isActivationValidFromReturnedByDefault
public static boolean isActivationValidFromReturnedByDefault(ActivationCapabilityType capability)
-
isActivationValidToReturnedByDefault
public static boolean isActivationValidToReturnedByDefault(ActivationCapabilityType capability)
-
asCapabilityType
public static CapabilityType asCapabilityType(Object capabilityObject)
-
fillDefaults
public static void fillDefaults(@NotNull CapabilityType capability)
-
getEffectiveCapability
public static <T extends CapabilityType> T getEffectiveCapability(CapabilitiesType capabilitiesType, Class<T> capabilityClass)
-
getEffectiveActivationStatus
public static ActivationStatusCapabilityType getEffectiveActivationStatus(ActivationCapabilityType act)
-
getEffectiveActivationValidFrom
public static ActivationValidityCapabilityType getEffectiveActivationValidFrom(ActivationCapabilityType act)
-
getEffectiveActivationValidTo
public static ActivationValidityCapabilityType getEffectiveActivationValidTo(ActivationCapabilityType act)
-
getEffectiveActivationLockoutStatus
public static ActivationLockoutStatusCapabilityType getEffectiveActivationLockoutStatus(ActivationCapabilityType act)
-
hasNativeCapability
public static <T extends CapabilityType> boolean hasNativeCapability(CapabilitiesType capabilities, Class<T> capabilityClass)
-
hasConfiguredCapability
public static <T extends CapabilityType> boolean hasConfiguredCapability(CapabilitiesType capabilities, Class<T> capabilityClass)
-
-