com.evolveum.midpoint.model.controller
Class ModelUtils

java.lang.Object
  extended by com.evolveum.midpoint.model.controller.ModelUtils

public class ModelUtils
extends java.lang.Object

Author:
lazyman

Constructor Summary
ModelUtils()
           
 
Method Summary
static PropertyReferenceListType createPropertyReferenceListType(java.lang.String... properties)
           
static ObjectReferenceType createReference(java.lang.String oid, ObjectTypes type)
           
static void generatePassword(AccountShadowType account, int length, Protector protector)
           
static SchemaHandlingType.AccountType getAccountTypeFromHandling(ResourceObjectShadowType accountShadow, ResourceType resource)
           
static SchemaHandlingType.AccountType getAccountTypeFromHandling(java.lang.String accountTypeName, ResourceType resource)
           
static CredentialsType.Password getPassword(AccountShadowType account)
           
static boolean isActivationEnabled(ActivationType activation)
           
static void unresolveResourceObjectShadow(ResourceObjectShadowType shadow)
           
static void validatePaging(PagingType paging)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelUtils

public ModelUtils()
Method Detail

unresolveResourceObjectShadow

public static void unresolveResourceObjectShadow(ResourceObjectShadowType shadow)

createReference

public static ObjectReferenceType createReference(java.lang.String oid,
                                                  ObjectTypes type)

validatePaging

public static void validatePaging(PagingType paging)

getAccountTypeFromHandling

public static SchemaHandlingType.AccountType getAccountTypeFromHandling(ResourceObjectShadowType accountShadow,
                                                                        ResourceType resource)

generatePassword

public static void generatePassword(AccountShadowType account,
                                    int length,
                                    Protector protector)
                             throws EncryptionException
Throws:
EncryptionException

getPassword

public static CredentialsType.Password getPassword(AccountShadowType account)

createPropertyReferenceListType

public static PropertyReferenceListType createPropertyReferenceListType(java.lang.String... properties)

getAccountTypeFromHandling

public static SchemaHandlingType.AccountType getAccountTypeFromHandling(java.lang.String accountTypeName,
                                                                        ResourceType resource)

isActivationEnabled

public static boolean isActivationEnabled(ActivationType activation)


Copyright © 2011 evolveum. All Rights Reserved.