Click or drag to resize
GeneralizedAbstractInfo<TInfo> Class
Info object interface for abstract info
Inheritance Hierarchy

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
public class GeneralizedAbstractInfo<TInfo> : AbstractInfoBase< TInfo> . GeneralizedInfoWrapper
where TInfo : new(), AbstractInfoBase<TInfo>

Type Parameters

TInfo

The GeneralizedAbstractInfo< TInfo> type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAllowClone
Indicates if the object supports cloning.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyAllowRestore
Indicates if the object supports deleting to recycle bin.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyAllowTouchParent
Indicates if parent is allowed to be touched, if exists.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyBindings
The collection of the binding objects for the given object.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyCacheParentData
If true, the parent object data is cached within object.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyCodeNameColumn
Code name column name of the info record.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyColumnNames
Column names.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyCustomizedColumns
Gets the list of customized columns in current object
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyDeleteFiles
Indicates if all physical files should be deleted when object will be deleted.
(Inherited from AbstractInfoBase<TInfo>.GeneralizedInfoWrapper.)
Public propertyDisplayNameColumn
Code name column name of the info record.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyHasData
Returns true if the object has it's data storage initialized already
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyHasChanged
Returns true if the object has changed.
(Overrides BaseInfo.GeneralizedInfoWrapper.HasChanged.)
Public propertyCheckUnique
If true, the code name is checked for uniqueness upon saving.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyChildDependencies
Collection of the child dependencies for the given object.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyChildren
The collection of the child objects for the given object.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyIgnoreExternalColumns
If true, externally stored columns are ignored and are stored normally in DB.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyIsCachedObject
If true, the object is cached within the system for later use
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyIsClone
Indicates if the object is clone.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyIsComplete
Returns true if the object is complete (has all columns).
(Overrides BaseInfo.GeneralizedInfoWrapper.IsComplete.)
Public propertyIsDisconnected
Returns true if the object is disconnected from the data source
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyIsCheckedOut
Indicates if the object is checked out.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyIsCheckedOutByUserID
Gets ID of the user who checked the object out.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyIsObjectValid
Returns true if the object is considered valid.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyItem
Gets or sets the value of the column.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyLogEvents
If true, events are logged on the object update.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyLogExport
If true, export tasks are logged on the object update.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyLogIntegration
If true, integration tasks are being logged.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyLogSynchronization
If true, synchronization tasks are logged on the object update.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyLogWebFarmTasks
If true, web farm tasks are logged on the object update.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyMainObject
Main object
(Inherited from AbstractInfoBase<TInfo>.GeneralizedInfoWrapper.)
Public propertyMetaFiles
The collection of the metafiles of the given object.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyObjectCategory
Object category.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyObjectCodeName
Object code name.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyObjectDisplayName
Object name.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyObjectFullName
Object full name if exists
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyObjectGroupID
Object group ID.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyObjectGUID
Object GUID.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyObjectIcon
Object icon
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyObjectIconGUID
Object icon GUID.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyObjectID
Object ID.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyObjectIsCustom
Indicates if object is custom (created by customer).
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyObjectIsCustomized
Indicates if object is customized.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyObjectLastModified
Object last modified time.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyObjectOrder
Returns the order of the object among the other objects.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyObjectParent
Object parent
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyObjectParentID
Object parent ID.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyObjectSiteID
Object site ID.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyObjectSiteName
Object site name.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyObjectThumbnail
Object thumbnail
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyObjectThumbnailGUID
Object thumbnail GUID.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyObjectVersionGUID
Object version GUID.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyOriginalObjectCodeName
Returns the original object code name
(Inherited from AbstractInfoBase<TInfo>.GeneralizedInfoWrapper.)
Public propertyOtherBindings
The collection of the other binding objects for the given object.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyParentObjectType
Parent object type.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyPrioritizedProperties
Gets the list of properties which should be prioritized in the macro controls (IntelliSense, MacroTree).
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyProcesses
The collection of the processes of the given object.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyProperties
Properties of the object available through GetProperty.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyReferringObjects
Collection of the objects depending on this object (object which have FK to this object).
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyRelatedData
Custom data connected to the object.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyScheduledTasks
The collection of the scheduled tasks of the given object.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertySupportsVersioning
Indicates if the object versioning is supported.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyTouchCacheDependencies
If true, cache dependencies are touched when the object is changed.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyTypeInfo
Type info.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyUpdateTimeStamp
If true, time stamp is updated on object update.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyUpdateVersionGUID
If true, version GUID of the object is updated when saved.
(Inherited from AbstractInfoBase<TInfo>.GeneralizedInfoWrapper.)
Public propertyValidateCodeName
If true, the code name is validated upon saving.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public propertyVersioningEnabled
Indicates if the object versioning is enabled by the settings.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Top
Methods
  NameDescription
Public methodAnyItemChanged
Returns true if any of the specified column names has changed.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodClone
Returns the clone
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodContainsColumn
Returns true if the object contains specified column.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodDataChanged()
Returns true if the object changed.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodDataChanged(String)
Returns true if the object changed.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodDeleteData
Deletes the object from the database.
(Inherited from AbstractInfoBase<TInfo>.GeneralizedInfoWrapper.)
Public methodDeleteExternalColumns
Goes through the columns which are stored externally and deletes all the files.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodDeleteObject
Deletes the object using appropriate provider.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodDisconnect
Disconnects the object from database.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodEnsureBinaryData()
Makes sure that the binary data is loaded into binary column of the object when StoreToFileSystem is true.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodEnsureBinaryData(Boolean)
Makes sure that the binary data is loaded into binary column of the object.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodEnsureCodeName
Ensures the code name of the object if not set
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodEnsureGUID
Ensures the GUID of the object
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodEnsureUniqueCodeName
Ensures that the object has a unique code name within it's context
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodExportDefaultData
Exports the default object installation data
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetBinaryData
Returns the BinaryData object of the current instance. Has to be overridden by specific classes. Returns null by default.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetColumnType
Gets the column type.
(Overrides BaseInfo.GeneralizedInfoWrapper.GetColumnType(String).)
Public methodGetCount
Gets count of the objects filtered by given where condition.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetData
Returns the data according to the set of input parameters.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetDataQuery
Gets the data query for this object type
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetDefaultDataWhereCondition
Gets where condition for default data according to TypeInfo configuration.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetDefaultObject
Returns default object of given object type. Returns null by default. Example is UserInfo which returns user specified in the settings or Global Administrator.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetDependenciesNames
Returns a list of object names which depend on this object. First tries to execute checkdependencies query, if not found, an automatic process is executed.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetDependencyCacheKeys
Gets collection of dependency keys to be touched when modifying the current object.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetDependencyObjectType
Gets dependency object type
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetEditingPageURL
Gets the object editing page URL.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetExisting
Returns the existing object based on current object data.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetExternalColumns
Returns the list of columns registered as the external columns.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetExternalFiles
Goes through the columns which are stored externally and returns the list of particular files this object uses.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetFullObjectName
Returns the name of the object within its parent hierarchy.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetChildWhereCondition
Gets the child object where condition.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetIconUrl
Gets the object icon URL
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetLastObjectOrder
Returns number which will be the last order within all the other items (according to Parent, Group and Site settings).
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetLockObject
Gets the global lock object for all the instances of the object (locked on "objectType_objectId").
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetModifiedFrom
Gets the DataSet of all the objects modified from specified date.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetObject(Int32)
Gets the object by its ID.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetObject(String)
Gets the object by specified where condition.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetObject(IWhereCondition)
Gets the object by specified where condition.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetObjectKey
Gets the unique string key for the object.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetOriginalValue
Returns the original value of column.
(Overrides BaseInfo.GeneralizedInfoWrapper.GetOriginalValue(String).)
Public methodGetParent
Returns the parent object.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetPhysicalFiles
Gets DataSet with physical files for current object.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetProperty
Returns property with given name (either object or property value).
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetPropertyType
Gets the type of the given property
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetSynchronizedColumns
Gets the list of synchronized columns for this object.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetThumbnailUrl
Gets the object thumbnail URL
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetUniqueCodeName
Returns the unique code name generated from current object code name.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetUniqueDisplayName
Returns the unique display name generated from current object display name.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetUniqueName
Returns the unique code name for the specified object, does not check duplicity if duplicity occurs within the currentObjectId.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetValue
Returns value of column.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetValueForTranslation
Returns value for translation services. Returns unmodified field content by default.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodGetVirtualFileRelativePath
Returns virtual relative path for specific column
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodCheckDependencies
Checks object for dependent objects. Returns true if there is at least one dependent object. First tries to execute checkdependencies query, if not found, an automatic process is executed.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodCheckLicense
Checks the object license. Returns true if the licensing conditions for this object were matched
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodCheckPermissions
Checks whether the specified user has permissions for this object.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodCheckUniqueCodeName
Checks if the object has unique code name. Returns true if the object has unique code name.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodCheckUniqueValues
Checks if a record with the same column values already exists in the database. Returns true if the set of values is unique.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodInitObjectsOrder
Initializes the proper order of the sibling objects so the order column is consistent.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodInsertAsClone(CloneSettings)
Inserts the object as a new object to the DB with inner data and structure (according to given settings) cloned from the original.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodInsertAsClone(CloneSettings, CloneResult)
Inserts the object as a new object to the DB with inner data and structure (according to given settings) cloned from the original.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodInsertData
Inserts the object to the database.
(Inherited from AbstractInfoBase<TInfo>.GeneralizedInfoWrapper.)
Public methodInvalidate
Invalidates the object in the object table.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodIsAvailableOnSite
Checks whether info object as available on given site. Available means that object is global or assigned to given site.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodIsCheckedOutByUser
Returns true if the object is checked out by the specified user.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodIsChildOf
Returns true if the object is child of the given object. If parameter parent is null, returns true only if the object is not a child of any object.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodIsModifiedExternally
Goes through the columns which are stored externally and checks if the data in DB is the same as in external storage. If all the columns are same returns true, otherwise false.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodIsObjectInvalid Obsolete.
Returns true if the object is invalid.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodItemChanged
Returns true if the item on specified column name changed.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodMakeComplete
Makes the object data complete.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodMoveObjectDown
Moves the object down within the object order (if OrderColumn is specified). The move is done within the object's parent and site (if defined).
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodMoveObjectUp
Moves the object up within the object order (if OrderColumn is specified). The move is done within the object's parent and site (if defined).
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodNewObject
Creates new object of the given class
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Protected methodNotSupported
Throws the not supported exception
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodReconnect
Reconnects the object to database.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodResetChanges
Resets the object changes and keeps the new values as unchanged.
(Overrides BaseInfo.GeneralizedInfoWrapper.ResetChanges().)
Public methodRestoreSettings
Restores local settings for object instance.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodRevertChanges
Reverts the object changes to the original values.
(Overrides BaseInfo.GeneralizedInfoWrapper.RevertChanges().)
Public methodSaveExternalColumns
Goes through the columns which are stored externally and ensures them in the external storage.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodSetData
Updates or inserts the object to the database.
(Inherited from AbstractInfoBase<TInfo>.GeneralizedInfoWrapper.)
Public methodSetObject
Updates the object using appropriate provider.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodSetObjectAlphabeticalOrder
Moves the object to the right position according to the custom order.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodSetObjectOrder
Moves the object to the specified order (if OrderColumn is specified). The move is done within the object's parent and site (if defined).
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodSetValue
Sets value of column.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodSortAlphabetically
Moves the object to the right position according to the custom order.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodStoreSettings
Stores local settings for object instance.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodSubmitChanges
Submits the changes in the object to the database.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodTouchParent
Updates the parent object by saving it (to update the timestamp).
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodTryGetProperty(String, Object)
Returns property with given name (either object or property value).
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodTryGetProperty(String, Object, Boolean)
Returns value of property.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodTryGetValue
Returns value of column.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodUpdateData
Updates the object to the database.
(Inherited from AbstractInfoBase<TInfo>.GeneralizedInfoWrapper.)
Public methodUpdateExternalColumns
Goes through the columns which are stored externally and updates DB versions with the data from external storage.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodUpdateFromDB
Updates the data of the object from DB (updates also ObjectSettings).
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodUpdatePathColumn
Updates given path column.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Public methodUpdatePhysicalFiles
Updates physical files in given DataSet for current object.
(Inherited from BaseInfo.GeneralizedInfoWrapper.)
Top
See Also