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