|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evolveum.midpoint.schema.util.ResourceTypeUtil
public class ResourceTypeUtil
Methods that would belong to the ResourceType class but cannot go there because of JAXB.
Constructor Summary | |
---|---|
ResourceTypeUtil()
|
Method Summary | ||
---|---|---|
static ObjectSynchronizationType |
determineSynchronization(ResourceType resource,
java.lang.Class<UserType> type)
Returns appropriate object synchronization settings for the class. |
|
static
|
getCapability(java.util.Collection<java.lang.Object> capabilities,
java.lang.Class<T> capabilityClass)
|
|
static java.lang.String |
getCapabilityDisplayName(java.lang.Object capability)
|
|
static PrismContainer<Containerable> |
getConfigurationContainer(PrismObject<ResourceType> resource)
|
|
static PrismContainer<Containerable> |
getConfigurationContainer(ResourceType resourceType)
|
|
static java.lang.String |
getConnectorOid(ResourceType resource)
|
|
static ConnectorType |
getConnectorType(ResourceType resource,
ObjectResolver resolver,
OperationResult parentResult)
The usage of "resolver" is experimental. |
|
static java.util.List<java.lang.Object> |
getEffectiveCapabilities(ResourceType resource)
Assumes that native capabilities are already cached. |
|
static
|
getEffectiveCapability(ResourceType resource,
java.lang.Class<T> capabilityClass)
Assumes that native capabilities are already cached. |
|
static ResourceAccountTypeDefinitionType |
getResourceAccountTypeDefinitionType(ResourceType resource,
java.lang.String accountType)
|
|
static java.lang.String |
getResourceNamespace(PrismObject<ResourceType> resource)
|
|
static java.lang.String |
getResourceNamespace(ResourceType resourceType)
|
|
static org.w3c.dom.Element |
getResourceXsdSchema(PrismObject<ResourceType> resource)
|
|
static org.w3c.dom.Element |
getResourceXsdSchema(ResourceType resource)
|
|
static boolean |
hasActivationCapability(ResourceType resource)
|
|
static boolean |
hasCredentialsCapability(ResourceType resource)
|
|
static boolean |
hasResourceNativeActivationCapability(ResourceType resource)
|
|
static boolean |
isCapabilityEnabled(org.w3c.dom.Element capability)
|
|
static boolean |
isCapabilityEnabled(java.lang.Object capability)
|
|
static
|
isCapabilityEnabled(T capability)
|
|
static void |
setResourceXsdSchema(PrismObject<ResourceType> resource,
org.w3c.dom.Element xsdElement)
|
|
static void |
setResourceXsdSchema(ResourceType resourceType,
org.w3c.dom.Element xsdElement)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceTypeUtil()
Method Detail |
---|
public static java.lang.String getConnectorOid(ResourceType resource)
public static ConnectorType getConnectorType(ResourceType resource, ObjectResolver resolver, OperationResult parentResult) throws ObjectNotFoundException, SchemaException
ObjectNotFoundException
SchemaException
ObjectResolver
public static org.w3c.dom.Element getResourceXsdSchema(ResourceType resource)
public static org.w3c.dom.Element getResourceXsdSchema(PrismObject<ResourceType> resource)
public static void setResourceXsdSchema(ResourceType resourceType, org.w3c.dom.Element xsdElement)
public static void setResourceXsdSchema(PrismObject<ResourceType> resource, org.w3c.dom.Element xsdElement)
public static <T> T getCapability(java.util.Collection<java.lang.Object> capabilities, java.lang.Class<T> capabilityClass)
public static <T extends CapabilityType> T getEffectiveCapability(ResourceType resource, java.lang.Class<T> capabilityClass)
public static boolean isCapabilityEnabled(java.lang.Object capability) throws SchemaException
SchemaException
public static boolean isCapabilityEnabled(org.w3c.dom.Element capability) throws SchemaException
SchemaException
public static <T extends CapabilityType> boolean isCapabilityEnabled(T capability)
public static java.util.List<java.lang.Object> getEffectiveCapabilities(ResourceType resource) throws SchemaException
SchemaException
public static java.lang.String getCapabilityDisplayName(java.lang.Object capability)
public static boolean hasActivationCapability(ResourceType resource)
public static boolean hasCredentialsCapability(ResourceType resource)
public static boolean hasResourceNativeActivationCapability(ResourceType resource)
public static ResourceAccountTypeDefinitionType getResourceAccountTypeDefinitionType(ResourceType resource, java.lang.String accountType)
public static ObjectSynchronizationType determineSynchronization(ResourceType resource, java.lang.Class<UserType> type)
public static PrismContainer<Containerable> getConfigurationContainer(ResourceType resourceType)
public static PrismContainer<Containerable> getConfigurationContainer(PrismObject<ResourceType> resource)
public static java.lang.String getResourceNamespace(PrismObject<ResourceType> resource)
public static java.lang.String getResourceNamespace(ResourceType resourceType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |