public class MiscSchemaUtil extends Object
Constructor and Description |
---|
MiscSchemaUtil() |
public static ObjectListType toObjectListType(List<PrismObject<? extends ObjectType>> list)
public static <T extends ObjectType> List<PrismObject<T>> toList(Class<T> type, ObjectListType listType)
public static <T extends ObjectType> List<T> toObjectableList(List<PrismObject<T>> objectList)
public static ImportOptionsType getDefaultImportOptions()
public static CachingMetadataType generateCachingMetadata()
public static boolean isNullOrEmpty(ProtectedStringType ps)
public static void setPassword(CredentialsType credentials, ProtectedStringType password)
public static Collection<String> toCollection(String entry)
public static Collection<ItemPath> itemReferenceListTypeToItemPathList(PropertyReferenceListType resolve, PrismContext prismContext)
public static SelectorQualifiedGetOptionsType optionsToOptionsType(Collection<SelectorOptions<GetOperationOptions>> options)
public static List<SelectorOptions<GetOperationOptions>> optionsTypeToOptions(SelectorQualifiedGetOptionsType objectOptionsType, PrismContext prismContext)
public static Collection<ObjectDelta<? extends ObjectType>> createCollection(ObjectDelta<?>... deltas)
public static Collection<? extends ItemDelta<?,?>> createCollection(ItemDelta<?,?>... deltas)
public static Collection<ObjectDelta<? extends ObjectType>> cloneObjectDeltaCollection(Collection<ObjectDelta<? extends ObjectType>> origCollection)
public static Collection<ObjectDeltaOperation<? extends ObjectType>> cloneObjectDeltaOperationCollection(Collection<ObjectDeltaOperation<? extends ObjectType>> origCollection)
public static ObjectReferenceType createObjectReference(String oid, QName type)
public static <O extends ObjectType> ObjectReferenceType createObjectReference(PrismObject<O> object, Class<? extends ObjectType> implicitReferenceTargetType)
public static boolean matchesKind(ShadowKindType expectedKind, ShadowKindType actualKind)
public static AssignmentPolicyEnforcementType getAssignmentPolicyEnforcementType(ProjectionPolicyType accountSynchronizationSettings)
public static PrismReferenceValue objectReferenceTypeToReferenceValue(ObjectReferenceType refType, PrismContext prismContext)
public static PropertyLimitationsType getLimitationsType(List<PropertyLimitationsType> limitationsTypes, LayerType layer) throws SchemaException
SchemaException
public static boolean contains(Collection<ObjectReferenceType> collection, ObjectReferenceType item)
public static <O extends ObjectType> void reduceSearchResult(List<PrismObject<O>> results)
public static XMLGregorianCalendar getChangeTimestamp(MetadataType metadata)
public static boolean referenceMatches(ObjectReferenceType refPattern, ObjectReferenceType ref, PrismContext prismContext)
public static boolean quickEquals(Object a, Object b)
@NotNull public static InformationType createInformationType(List<LocalizableMessageType> messages)
public static ItemProcessing toItemProcessing(ItemProcessingType type)
public static <O extends ObjectType> boolean canBeAssignedFrom(QName requiredTypeQName, Class<O> providedTypeClass)
public static ExpressionProfile getExpressionProfile()
public static void mergeDisplay(DisplayType viewDisplay, DisplayType archetypeDisplay)
Copyright © 2019 Evolveum. All rights reserved.