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)
public static SelectorQualifiedGetOptionsType optionsToOptionsType(Collection<SelectorOptions<GetOperationOptions>> options)
public static List<SelectorOptions<GetOperationOptions>> optionsTypeToOptions(SelectorQualifiedGetOptionsType objectOptionsType)
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 boolean matchesKind(ShadowKindType expectedKind, ShadowKindType actualKind)
public static AssignmentPolicyEnforcementType getAssignmentPolicyEnforcementType(ProjectionPolicyType accountSynchronizationSettings)
public static PrismReferenceValue objectReferenceTypeToReferenceValue(ObjectReferenceType refType)
public static PropertyLimitationsType getLimitationsType(List<PropertyLimitationsType> limitationsTypes, LayerType layer) throws SchemaException
SchemaException
public static <O extends ObjectType> void reduceSearchResult(List<PrismObject<O>> results)
public static XMLGregorianCalendar getChangeTimestamp(MetadataType metadata)
public static void serializeFaultMessage(Detail detail, FaultMessage faultMessage, PrismContext prismContext, Trace logger)
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)
Copyright © 2019 Evolveum. All rights reserved.