public class ShadowUtil extends Object
Constructor and Description |
---|
ShadowUtil() |
public static Collection<ResourceAttribute<?>> getIdentifiers(ShadowType shadowType)
public static Collection<ResourceAttribute<?>> getIdentifiers(PrismObject<? extends ShadowType> shadow)
public static Collection<ResourceAttribute<?>> getSecondaryIdentifiers(ShadowType shadowType)
public static Collection<ResourceAttribute<?>> getSecondaryIdentifiers(PrismObject<? extends ShadowType> shadow)
public static Collection<ResourceAttribute<?>> getAttributes(ShadowType shadowType)
public static Collection<ResourceAttribute<?>> getAttributes(PrismObject<? extends ShadowType> shadow)
public static <T> ResourceAttribute<T> getAttribute(PrismObject<? extends ShadowType> shadow, QName attrName)
public static ResourceAttributeContainer getAttributesContainer(ShadowType shadowType)
public static ResourceAttributeContainer getAttributesContainer(PrismObject<? extends ShadowType> shadow)
public static ResourceAttributeContainer getAttributesContainer(PrismObject<? extends ShadowType> shadow, QName containerName)
public static ResourceAttributeContainer getAttributesContainer(PrismContainerValue<?> cval, QName containerName)
public static ResourceAttributeContainer getOrCreateAttributesContainer(PrismObject<? extends ShadowType> shadow, ObjectClassComplexTypeDefinition objectClassDefinition)
public static ObjectClassComplexTypeDefinition getObjectClassDefinition(ShadowType shadow)
public static ObjectClassComplexTypeDefinition getObjectClassDefinition(PrismObject<? extends ShadowType> shadow)
public static String getResourceOid(ShadowType shadowType)
public static String getResourceOid(PrismObject<ShadowType> shadow)
public static String getSingleStringAttributeValue(ShadowType shadow, QName attrName)
public static String getMultiStringAttributeValueAsSingle(ShadowType shadow, QName attrName)
public static <T> List<T> getAttributeValues(ShadowType shadowType, QName attrName)
public static <T> List<T> getAttributeValues(PrismObject<? extends ShadowType> shadow, QName attrName)
public static <T> T getAttributeValue(ShadowType shadowType, QName attrName) throws SchemaException
SchemaException
public static <T> T getAttributeValue(PrismObject<? extends ShadowType> shadow, QName attrName) throws SchemaException
SchemaException
public static void setPassword(ShadowType shadowType, ProtectedStringType password)
public static ActivationType getOrCreateActivation(ShadowType shadowType)
public static void applyResourceSchema(PrismObject<? extends ShadowType> shadow, ResourceSchema resourceSchema) throws SchemaException
SchemaException
public static String getIntent(ShadowType shadow)
public static <T> Collection<T> getAttributeValues(ShadowType shadow, QName attributeQname, Class<T> type)
public static void checkConsistence(PrismObject<? extends ShadowType> shadow, String desc)
public static void checkConsistency(PrismContainerDefinition<ShadowAttributesType> attributesDefinition, String desc)
public static boolean isAccount(ShadowType shadowType)
public static boolean isProtected(PrismObject<? extends ShadowType> shadow)
public static boolean isDead(ShadowType shadow)
Copyright © 2013 evolveum. All rights reserved.