com.evolveum.midpoint.schema.util
Class MiscSchemaUtil

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

public class MiscSchemaUtil
extends java.lang.Object

Author:
Radovan Semancik

Constructor Summary
MiscSchemaUtil()
           
 
Method Summary
static java.util.Collection<ObjectDelta<? extends ObjectType>> cloneObjectDeltaCollection(java.util.Collection<ObjectDelta<? extends ObjectType>> origCollection)
           
static java.util.Collection<ObjectDeltaOperation<? extends ObjectType>> cloneObjectDeltaOperationCollection(java.util.Collection<ObjectDeltaOperation<? extends ObjectType>> origCollection)
           
static boolean compareRelation(javax.xml.namespace.QName a, javax.xml.namespace.QName b)
           
static java.util.Collection<ObjectDelta<? extends ObjectType>> createCollection(ObjectDelta<?>... deltas)
          Convenience method that helps avoid some compiler warnings.
static ObjectReferenceType createObjectReference(java.lang.String oid, javax.xml.namespace.QName type)
           
static boolean equalsIntent(java.lang.String intent1, java.lang.String intent2)
           
static CachingMetadataType generateCachingMetadata()
           
static AssignmentPolicyEnforcementType getAssignmentPolicyEnforcementType(AccountSynchronizationSettingsType accountSynchronizationSettings)
           
static ImportOptionsType getDefaultImportOptions()
           
static boolean isNullOrEmpty(ProtectedStringType ps)
           
static java.util.Collection<ItemPath> itemReferenceListTypeToItemPathList(PropertyReferenceListType resolve)
           
static java.util.Collection<ObjectOperationOptions> optionsTypeToOptions(OperationOptionsType optionsType)
           
static void setPassword(CredentialsType credentials, ProtectedStringType password)
           
static java.util.Collection<java.lang.String> toCollection(java.lang.String entry)
           
static
<T extends ObjectType>
java.util.List<PrismObject<T>>
toList(java.lang.Class<T> type, ObjectListType listType)
           
static ObjectListType toObjectListType(java.util.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(java.util.List<PrismObject<? extends ObjectType>> list)

toList

public static <T extends ObjectType> java.util.List<PrismObject<T>> toList(java.lang.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 java.util.Collection<java.lang.String> toCollection(java.lang.String entry)

itemReferenceListTypeToItemPathList

public static java.util.Collection<ItemPath> itemReferenceListTypeToItemPathList(PropertyReferenceListType resolve)

optionsTypeToOptions

public static java.util.Collection<ObjectOperationOptions> optionsTypeToOptions(OperationOptionsType optionsType)

createCollection

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


cloneObjectDeltaCollection

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

cloneObjectDeltaOperationCollection

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

createObjectReference

public static ObjectReferenceType createObjectReference(java.lang.String oid,
                                                        javax.xml.namespace.QName type)

equalsIntent

public static boolean equalsIntent(java.lang.String intent1,
                                   java.lang.String intent2)

getAssignmentPolicyEnforcementType

public static AssignmentPolicyEnforcementType getAssignmentPolicyEnforcementType(AccountSynchronizationSettingsType accountSynchronizationSettings)

compareRelation

public static boolean compareRelation(javax.xml.namespace.QName a,
                                      javax.xml.namespace.QName b)


Copyright © 2012 evolveum. All Rights Reserved.