Class: ApplicationRecord

Inherits:
ActiveRecord::Base show all
Extended by:
ArTableLock
Includes:
ArLock, ArNestedCountBy, ArRegion, ToModelHash
Defined in:
app/models/application_record.rb

Direct Known Subclasses

Account, AdvancedSetting, ArbitrationRecord, ArbitrationRule, ArbitrationSetting, AssignedServerRole, AuditEvent, Authentication, AuthenticationConfigurationScriptBase, AuthenticationOrchestrationStack, AvailabilityZone, BinaryBlob, BinaryBlobPart, BlacklistedEvent, Blueprint, BottleneckEvent, ChargeableField, ChargebackRate, ChargebackRateDetail, ChargebackRateDetailCurrency, ChargebackRateDetailMeasure, ChargebackTier, Classification, CloudDatabase, CloudDatabaseFlavor, CloudNetwork, CloudObjectStoreContainer, CloudObjectStoreObject, CloudResourceQuota, CloudService, CloudSubnet, CloudSubnetNetworkPort, CloudTenant, CloudTenantFlavor, CloudVolume, CloudVolumeBackup, CloudVolumeSnapshot, Compliance, ComplianceDetail, ComputeNode, ComputerSystem, Condition, ConditionSet, ConfigurationLocation, ConfigurationOrganization, ConfigurationProfile, ConfigurationScriptBase, ConfigurationScriptSource, ConfigurationTag, ConfiguredSystem, Container, ContainerBuild, ContainerBuildPod, ContainerComponentStatus, ContainerCondition, ContainerDefinition, ContainerDeployment, ContainerDeploymentNode, ContainerEnvVar, ContainerGroup, ContainerGroupsContainerServices, ContainerImage, ContainerImageRegistry, ContainerLabelTagMapping, ContainerLimit, ContainerLimitItem, ContainerNode, ContainerPortConfig, ContainerProject, ContainerQuota, ContainerQuotaItem, ContainerReplicator, ContainerRoute, ContainerService, ContainerServicePortConfig, ContainerTemplate, ContainerTemplateParameter, ContainerVolume, CustomAttribute, CustomButton, CustomButtonSet, CustomizationScript, CustomizationSpec, CustomizationTemplate, DatabaseBackup, Dialog, DialogField, DialogGroup, DialogTab, Disk, DriftState, EmsCluster, EmsFolder, Endpoint, Entitlement, EventLog, EventStream, ExtManagementSystem, FileDepot, Filesystem, FirewallRule, Flavor, FloatingIp, GenericObject, GenericObjectDefinition, GitReference, GitRepository, GuestApplication, GuestDevice, Hardware, Host, HostAggregate, HostAggregateHost, HostServiceGroup, HostStorage, HostSwitch, ImportFileUpload, IsoDatastore, IsoImage, Job, Lan, LdapDomain, LdapGroup, LdapManagement, LdapRegion, LdapServer, LdapUser, LifecycleEvent, LoadBalancer, LoadBalancerHealthCheck, LoadBalancerHealthCheckMember, LoadBalancerListener, LoadBalancerListenerPool, LoadBalancerPool, LoadBalancerPoolMember, LoadBalancerPoolMemberPool, LogFile, Metric, MetricRollup, MiddlewareDatasource, MiddlewareDeployment, MiddlewareDomain, MiddlewareMessaging, MiddlewareServer, MiddlewareServerGroup, MiqAction, MiqActionSet, MiqAeClass, MiqAeField, MiqAeInstance, MiqAeMethod, MiqAeNamespace, MiqAeValue, MiqAeWorkspace, MiqAlert, MiqAlertSet, MiqAlertStatus, MiqAlertStatusAction, MiqApproval, MiqCimAssociation, MiqCimDerivedMetric, MiqCimInstance, MiqDatabase, MiqDialog, MiqEnterprise, MiqEventDefinition, MiqEventDefinitionSet, MiqGroup, MiqPolicy, MiqPolicyContent, MiqPolicySet, MiqProductFeature, MiqProductFeaturesShare, MiqQueue, MiqRegion, MiqRegionRemote, MiqReport, MiqReportResult, MiqReportResultDetail, MiqRequest, MiqRequestTask, MiqSchedule, MiqScsiLun, MiqScsiTarget, MiqSearch, MiqServer, MiqShortcut, MiqStorageMetric, MiqTask, MiqUserRole, MiqWidget, MiqWidgetContent, MiqWidgetSet, MiqWidgetShortcut, MiqWorker, Network, NetworkGroup, NetworkPort, NetworkPortSecurityGroup, NetworkRouter, Notification, NotificationRecipient, NotificationType, OntapAggregateDerivedMetric, OntapAggregateMetricsRollup, OntapDiskDerivedMetric, OntapDiskMetricsRollup, OntapLunDerivedMetric, OntapLunMetricsRollup, OntapSystemDerivedMetric, OntapSystemMetricsRollup, OntapVolumeDerivedMetric, OntapVolumeMetricsRollup, OpenscapResult, OpenscapRuleResult, OperatingSystem, OperatingSystemFlavor, OrchestrationStack, OrchestrationStackOutput, OrchestrationStackParameter, OrchestrationStackResource, OrchestrationTemplate, OsProcess, Partition, Patch, PersistentVolumeClaim, PhysicalServer, Picture, PolicyEvent, PolicyEventContent, Provider, PxeImage, PxeImageType, PxeMenu, PxeServer, RegistryItem, Relationship, Reserve, ResourceAction, ResourceGroup, ResourcePool, RssFeed, ScanHistory, ScanItem, ScanItemSet, SchemaMigration, SecurityContext, SecurityGroup, ServerRole, Service, ServiceOrder, ServiceResource, ServiceTemplate, ServiceTemplateCatalog, Session, SettingsChange, Share, Snapshot, Storage, StorageFile, StorageManager, StorageMetricsMetadata, StorageProfile, StorageProfileStorage, Switch, SystemConsole, SystemService, Tag, Tagging, Tenant, TenantQuota, TimeProfile, User, VimPerformanceOperatingRange, VimPerformanceState, VimPerformanceTagValue, VmOrTemplate, VmdbDatabase, VmdbDatabaseConnection, VmdbDatabaseLock, VmdbDatabaseMetric, VmdbDatabaseSetting, VmdbIndex, VmdbMetric, VmdbTable, Volume, WindowsImage, Zone

Constant Summary collapse

FIXTURE_DIR =
Rails.root.join("db/fixtures")

Constants included from ArRegion

ArRegion::CID_OR_ID_MATCHER, ArRegion::COMPRESSED_ID_SEPARATOR, ArRegion::DEFAULT_RAILS_SEQUENCE_FACTOR, ArRegion::RE_COMPRESSED_ID

Method Summary

Methods included from ArTableLock

with_lock

Methods included from ToModelHash

#to_model_hash, #to_model_yaml

Methods included from ArLock

#lock

Methods included from ArRegion

anonymous_class_with_ar_region, #compressed_id, #in_current_region?, #miq_region, #my_region_number, #region_description, #region_number, #split_id

Methods inherited from ActiveRecord::Base

acts_as_miq_set, acts_as_miq_set_member, acts_as_miq_taggable, column_names_symbols, extract_ids, extract_objects, model_suffix, #number_of, paginate, truncate

Methods included from VirtualDelegates

select_from_alias, select_from_alias_table

Methods included from Vmdb::Logging

#_log