com.evolveum.midpoint.provisioning.util
Class ShadowCacheUtil
java.lang.Object
com.evolveum.midpoint.provisioning.util.ShadowCacheUtil
public class ShadowCacheUtil
- extends java.lang.Object
Method Summary |
static ResourceObjectShadowType |
createRepositoryShadow(ResourceObject resourceObject,
ResourceType resource,
ResourceObjectShadowType shadow)
|
static QueryType |
createSearchShadowQuery(ResourceObject resourceObject,
ResourceType resource,
OperationResult parentResult)
|
static QueryType |
createSearchShadowQuery(java.util.Set<ResourceObjectAttribute> identifiers,
OperationResult parentResult)
|
static ResourceObjectShadowType |
createShadow(ResourceObject resourceObject,
ResourceType resource,
ResourceObjectShadowType shadow)
|
static ActivationType |
determineActivation(ResourceType resource,
AccountShadowType shadow,
OperationResult parentResult)
Get account activation state from the resource object. |
static ActivationType |
determineActivation(ResourceType resource,
ResourceObject ro,
OperationResult parentResult)
Get account activation state from the resource object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShadowCacheUtil
public ShadowCacheUtil()
createShadow
public static ResourceObjectShadowType createShadow(ResourceObject resourceObject,
ResourceType resource,
ResourceObjectShadowType shadow)
throws SchemaException
- Throws:
SchemaException
determineActivation
public static ActivationType determineActivation(ResourceType resource,
ResourceObject ro,
OperationResult parentResult)
- Get account activation state from the resource object.
TODO: The placement of this method is not correct. It should go back to ShadowConverter
determineActivation
public static ActivationType determineActivation(ResourceType resource,
AccountShadowType shadow,
OperationResult parentResult)
- Get account activation state from the resource object.
TODO: The placement of this method is not correct. It should go back to ShadowConverter
HACK: FIXME: this is just a copy&paste code to hack around bad UCF API design (MID-581)
createRepositoryShadow
public static ResourceObjectShadowType createRepositoryShadow(ResourceObject resourceObject,
ResourceType resource,
ResourceObjectShadowType shadow)
throws SchemaException
- Throws:
SchemaException
createSearchShadowQuery
public static QueryType createSearchShadowQuery(java.util.Set<ResourceObjectAttribute> identifiers,
OperationResult parentResult)
throws SchemaException
- Throws:
SchemaException
createSearchShadowQuery
public static QueryType createSearchShadowQuery(ResourceObject resourceObject,
ResourceType resource,
OperationResult parentResult)
throws SchemaException
- Throws:
SchemaException
Copyright © 2012 evolveum. All Rights Reserved.