public class MiscSchemaUtil extends Object
Constructor and Description |
---|
MiscSchemaUtil() |
Modifier and Type | Method and Description |
---|---|
static Collection<com.evolveum.midpoint.prism.delta.ObjectDelta<? extends ObjectType>> |
cloneObjectDeltaCollection(Collection<com.evolveum.midpoint.prism.delta.ObjectDelta<? extends ObjectType>> origCollection) |
static Collection<ObjectDeltaOperation<? extends ObjectType>> |
cloneObjectDeltaOperationCollection(Collection<ObjectDeltaOperation<? extends ObjectType>> origCollection) |
static boolean |
compareRelation(QName query,
QName refRelation) |
static Collection<? extends com.evolveum.midpoint.prism.delta.ItemDelta<?,?>> |
createCollection(com.evolveum.midpoint.prism.delta.ItemDelta<?,?>... deltas)
Convenience method that helps avoid some compiler warnings.
|
static Collection<com.evolveum.midpoint.prism.delta.ObjectDelta<? extends ObjectType>> |
createCollection(com.evolveum.midpoint.prism.delta.ObjectDelta<?>... deltas)
Convenience method that helps avoid some compiler warnings.
|
static ObjectReferenceType |
createObjectReference(String oid,
QName type) |
static boolean |
equalsIntent(String intent1,
String intent2) |
static CachingMetadataType |
generateCachingMetadata() |
static AssignmentPolicyEnforcementType |
getAssignmentPolicyEnforcementType(ProjectionPolicyType accountSynchronizationSettings) |
static XMLGregorianCalendar |
getChangeTimestamp(MetadataType metadata)
Returns modification time or creation time (if there was no mo
|
static ImportOptionsType |
getDefaultImportOptions() |
static PropertyLimitationsType |
getLimitationsType(List<PropertyLimitationsType> limitationsTypes,
LayerType layer) |
static boolean |
isNullOrEmpty(com.evolveum.prism.xml.ns._public.types_3.ProtectedStringType ps) |
static Collection<com.evolveum.midpoint.prism.path.ItemPath> |
itemReferenceListTypeToItemPathList(PropertyReferenceListType resolve) |
static boolean |
matchesKind(ShadowKindType expectedKind,
ShadowKindType actualKind) |
static com.evolveum.midpoint.prism.PrismReferenceValue |
objectReferenceTypeToReferenceValue(ObjectReferenceType refType) |
static SelectorQualifiedGetOptionsType |
optionsToOptionsType(Collection<SelectorOptions<GetOperationOptions>> options) |
static List<SelectorOptions<GetOperationOptions>> |
optionsTypeToOptions(SelectorQualifiedGetOptionsType objectOptionsType) |
static <O extends ObjectType> |
reduceSearchResult(List<com.evolveum.midpoint.prism.PrismObject<O>> results) |
static void |
setPassword(CredentialsType credentials,
com.evolveum.prism.xml.ns._public.types_3.ProtectedStringType password) |
static Collection<String> |
toCollection(String entry) |
static <T extends ObjectType> |
toList(Class<T> type,
ObjectListType listType) |
static <T extends ObjectType> |
toObjectableList(List<com.evolveum.midpoint.prism.PrismObject<T>> objectList) |
static ObjectListType |
toObjectListType(List<com.evolveum.midpoint.prism.PrismObject<? extends ObjectType>> list) |
public static ObjectListType toObjectListType(List<com.evolveum.midpoint.prism.PrismObject<? extends ObjectType>> list)
public static <T extends ObjectType> List<com.evolveum.midpoint.prism.PrismObject<T>> toList(Class<T> type, ObjectListType listType)
public static <T extends ObjectType> List<T> toObjectableList(List<com.evolveum.midpoint.prism.PrismObject<T>> objectList)
public static ImportOptionsType getDefaultImportOptions()
public static CachingMetadataType generateCachingMetadata()
public static boolean isNullOrEmpty(com.evolveum.prism.xml.ns._public.types_3.ProtectedStringType ps)
public static void setPassword(CredentialsType credentials, com.evolveum.prism.xml.ns._public.types_3.ProtectedStringType password)
public static Collection<String> toCollection(String entry)
public static Collection<com.evolveum.midpoint.prism.path.ItemPath> itemReferenceListTypeToItemPathList(PropertyReferenceListType resolve)
public static SelectorQualifiedGetOptionsType optionsToOptionsType(Collection<SelectorOptions<GetOperationOptions>> options)
public static List<SelectorOptions<GetOperationOptions>> optionsTypeToOptions(SelectorQualifiedGetOptionsType objectOptionsType)
public static Collection<com.evolveum.midpoint.prism.delta.ObjectDelta<? extends ObjectType>> createCollection(com.evolveum.midpoint.prism.delta.ObjectDelta<?>... deltas)
public static Collection<? extends com.evolveum.midpoint.prism.delta.ItemDelta<?,?>> createCollection(com.evolveum.midpoint.prism.delta.ItemDelta<?,?>... deltas)
public static Collection<com.evolveum.midpoint.prism.delta.ObjectDelta<? extends ObjectType>> cloneObjectDeltaCollection(Collection<com.evolveum.midpoint.prism.delta.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 com.evolveum.midpoint.prism.PrismReferenceValue objectReferenceTypeToReferenceValue(ObjectReferenceType refType)
public static PropertyLimitationsType getLimitationsType(List<PropertyLimitationsType> limitationsTypes, LayerType layer) throws SchemaException
SchemaException
public static <O extends ObjectType> void reduceSearchResult(List<com.evolveum.midpoint.prism.PrismObject<O>> results)
public static XMLGregorianCalendar getChangeTimestamp(MetadataType metadata)
Copyright © 2016 Evolveum. All rights reserved.