com.evolveum.midpoint.schema.util
Class MiscSchemaUtil

java.lang.Object
  extended by com.evolveum.midpoint.schema.util.MiscSchemaUtil

public class MiscSchemaUtil
extends Object

Author:
Radovan Semancik

Constructor Summary
MiscSchemaUtil()
           
 
Method Summary
static Collection<ObjectDelta<? extends ObjectType>> cloneObjectDeltaCollection(Collection<ObjectDelta<? extends ObjectType>> origCollection)
           
static Collection<ObjectDeltaOperation<? extends ObjectType>> cloneObjectDeltaOperationCollection(Collection<ObjectDeltaOperation<? extends ObjectType>> origCollection)
           
static boolean compareRelation(QName a, QName b)
           
static Collection<? extends ItemDelta<?>> createCollection(ItemDelta<?>... deltas)
          Convenience method that helps avoid some compiler warnings.
static Collection<ObjectDelta<? extends ObjectType>> createCollection(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(AccountSynchronizationSettingsType accountSynchronizationSettings)
           
static ImportOptionsType getDefaultImportOptions()
           
static boolean isNullOrEmpty(ProtectedStringType ps)
           
static Collection<ItemPath> itemReferenceListTypeToItemPathList(PropertyReferenceListType resolve)
           
static Collection<SelectorOptions<GetOperationOptions>> optionsTypeToOptions(OperationOptionsType optionsType)
           
static void setPassword(CredentialsType credentials, ProtectedStringType password)
           
static Collection<String> toCollection(String entry)
           
static
<T extends ObjectType>
List<PrismObject<T>>
toList(Class<T> type, ObjectListType listType)
           
static ObjectListType toObjectListType(List<PrismObject<? extends ObjectType>> list)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MiscSchemaUtil

public MiscSchemaUtil()
Method Detail

toObjectListType

public static ObjectListType toObjectListType(List<PrismObject<? extends ObjectType>> list)

toList

public static <T extends ObjectType> List<PrismObject<T>> toList(Class<T> type,
                                                                 ObjectListType listType)

getDefaultImportOptions

public static ImportOptionsType getDefaultImportOptions()

generateCachingMetadata

public static CachingMetadataType generateCachingMetadata()

isNullOrEmpty

public static boolean isNullOrEmpty(ProtectedStringType ps)

setPassword

public static void setPassword(CredentialsType credentials,
                               ProtectedStringType password)

toCollection

public static Collection<String> toCollection(String entry)

itemReferenceListTypeToItemPathList

public static Collection<ItemPath> itemReferenceListTypeToItemPathList(PropertyReferenceListType resolve)

optionsTypeToOptions

public static Collection<SelectorOptions<GetOperationOptions>> optionsTypeToOptions(OperationOptionsType optionsType)

createCollection

public static Collection<ObjectDelta<? extends ObjectType>> createCollection(ObjectDelta<?>... deltas)
Convenience method that helps avoid some compiler warnings.


createCollection

public static Collection<? extends ItemDelta<?>> createCollection(ItemDelta<?>... deltas)
Convenience method that helps avoid some compiler warnings.


cloneObjectDeltaCollection

public static Collection<ObjectDelta<? extends ObjectType>> cloneObjectDeltaCollection(Collection<ObjectDelta<? extends ObjectType>> origCollection)

cloneObjectDeltaOperationCollection

public static Collection<ObjectDeltaOperation<? extends ObjectType>> cloneObjectDeltaOperationCollection(Collection<ObjectDeltaOperation<? extends ObjectType>> origCollection)

createObjectReference

public static ObjectReferenceType createObjectReference(String oid,
                                                        QName type)

equalsIntent

public static boolean equalsIntent(String intent1,
                                   String intent2)

getAssignmentPolicyEnforcementType

public static AssignmentPolicyEnforcementType getAssignmentPolicyEnforcementType(AccountSynchronizationSettingsType accountSynchronizationSettings)

compareRelation

public static boolean compareRelation(QName a,
                                      QName b)


Copyright © 2013 evolveum. All Rights Reserved.