public class ResourceTypeUtil extends Object
Constructor and Description |
---|
ResourceTypeUtil() |
public static String getConnectorOid(com.evolveum.midpoint.prism.PrismObject<ResourceType> resource)
public static String getConnectorOid(ResourceType resource)
public static ConnectorType getConnectorType(ResourceType resource, ObjectResolver resolver, OperationResult parentResult) throws ObjectNotFoundException, SchemaException
ObjectNotFoundException
SchemaException
ObjectResolver
public static com.evolveum.midpoint.prism.PrismObject<ConnectorType> getConnectorIfPresent(com.evolveum.midpoint.prism.PrismObject<ResourceType> resource)
public static Element getResourceXsdSchema(ResourceType resource)
public static Element getResourceXsdSchema(com.evolveum.midpoint.prism.PrismObject<ResourceType> resource)
public static void setResourceXsdSchema(ResourceType resourceType, Element xsdElement)
public static void setResourceXsdSchema(com.evolveum.midpoint.prism.PrismObject<ResourceType> resource, Element xsdElement)
public static Collection<Object> getNativeCapabilitiesCollection(ResourceType resource)
public static boolean hasSchemaGenerationConstraints(ResourceType resource)
public static List<QName> getSchemaGenerationConstraints(ResourceType resource)
public static List<QName> getSchemaGenerationConstraints(com.evolveum.midpoint.prism.PrismObject<ResourceType> resource)
@Nullable public static <T extends CapabilityType> T getEffectiveCapability(ResourceType resource, Class<T> capabilityClass)
public static <T extends CapabilityType> T getEffectiveCapability(ResourceType resource, ResourceObjectTypeDefinitionType resourceObjectTypeDefinitionType, Class<T> capabilityClass)
public static <T extends CapabilityType> boolean hasEffectiveCapability(ResourceType resource, Class<T> capabilityClass)
public static List<Object> getAllCapabilities(ResourceType resource) throws SchemaException
SchemaException
public static List<Object> getEffectiveCapabilities(ResourceType resource) throws SchemaException
SchemaException
public static boolean isActivationCapabilityEnabled(ResourceType resource)
public static boolean isActivationLockoutStatusCapabilityEnabled(ResourceType resource)
public static ActivationLockoutStatusCapabilityType getEffectiveActivationLockoutStatusCapability(ResourceType resource)
public static ActivationStatusCapabilityType getEffectiveActivationStatusCapability(ResourceType resource)
public static boolean isActivationStatusCapabilityEnabled(ResourceType resource)
public static ActivationValidityCapabilityType getEffectiveActivationValidFromCapability(ResourceType resource)
public static ActivationValidityCapabilityType getEffectiveActivationValidToCapability(ResourceType resource)
public static boolean isActivationValidityCapabilityEnabled(ResourceType resource)
public static boolean isCredentialsCapabilityEnabled(ResourceType resource)
public static boolean isCreateCapabilityEnabled(ResourceType resource)
public static boolean isCountObjectsCapabilityEnabled(ResourceType resource)
public static boolean isPasswordCapabilityEnabled(ResourceType resource)
public static PasswordCapabilityType getEffectivePasswordCapability(ResourceType resource)
public static boolean isLiveSyncCapabilityEnabled(ResourceType resource)
public static boolean isScriptCapabilityEnabled(ResourceType resource)
public static boolean isTestConnectionCapabilityEnabled(ResourceType resource)
public static boolean isAuxiliaryObjectClassCapabilityEnabled(ResourceType resource)
public static boolean isPagedSearchCapabilityEnabled(ResourceType resource)
public static boolean isReadCapabilityEnabled(ResourceType resource)
public static boolean isUpdateCapabilityEnabled(ResourceType resource)
public static boolean isAddRemoveAttributesValuesCapabilityEnabled(ResourceType resource)
public static boolean isDeleteCapabilityEnabled(ResourceType resource)
public static boolean hasResourceNativeActivationCapability(ResourceType resource)
public static boolean hasResourceNativeActivationStatusCapability(ResourceType resource)
public static boolean hasResourceNativeActivationLockoutCapability(ResourceType resource)
public static boolean hasResourceConfiguredActivationCapability(ResourceType resource)
public static ResourceObjectTypeDefinitionType getResourceObjectTypeDefinitionType(ResourceType resource, ShadowKindType kind, String intent)
public static com.evolveum.midpoint.prism.PrismContainer<ConnectorConfigurationType> getConfigurationContainer(ResourceType resourceType)
public static com.evolveum.midpoint.prism.PrismContainer<ConnectorConfigurationType> getConfigurationContainer(com.evolveum.midpoint.prism.PrismObject<ResourceType> resource)
public static String getResourceNamespace(com.evolveum.midpoint.prism.PrismObject<ResourceType> resource)
public static String getResourceNamespace(ResourceType resourceType)
public static boolean isSynchronizationOpportunistic(ResourceType resourceType)
public static int getDependencyOrder(ResourceObjectTypeDependencyType dependency)
public static ResourceObjectTypeDependencyStrictnessType getDependencyStrictness(ResourceObjectTypeDependencyType dependency)
public static boolean isForceLoadDependentShadow(ResourceObjectTypeDependencyType dependency)
public static boolean isDown(ResourceType resource)
public static AvailabilityStatusType getLastAvailabilityStatus(ResourceType resource)
public static boolean isAvoidDuplicateValues(ResourceType resource)
public static boolean isCaseIgnoreAttributeNames(ResourceType resource)
public static List<ObjectReferenceType> getOwnerRef(ResourceType resource)
public static List<ObjectReferenceType> getApproverRef(ResourceType resource)
@NotNull public static Collection<Class<? extends CapabilityType>> getNativeCapabilityClasses(ResourceType resource)
@NotNull public static ShadowKindType fillDefault(ShadowKindType kind)
public static ResourceObjectTypeDefinitionType findObjectTypeDefinition(com.evolveum.midpoint.prism.PrismObject<ResourceType> resourceObject, @Nullable ShadowKindType kind, @Nullable String intent)
@Nullable public static ObjectSynchronizationType findObjectSynchronization(@Nullable ResourceType resource, @Nullable ShadowKindType kind, @Nullable String intent)
Copyright © 2016 Evolveum. All rights reserved.