BaseInfoGeneralizedInfoWrapper Class |
Namespace: CMS.DataEngine
public abstract class GeneralizedInfoWrapper : ICMSObject, IHierarchicalDataContainer, IDataContainer, ISimpleDataContainer, IHierarchicalObject, INameIndexable, IVirtualHierarchicalObject, ICMSStorage, IRelatedData
The BaseInfoGeneralizedInfoWrapper type exposes the following members.
Name | Description | |
---|---|---|
BaseInfoGeneralizedInfoWrapper |
Constructor
|
Name | Description | |
---|---|---|
AllowClone |
Indicates if the object supports cloning.
| |
AllowRestore |
Indicates if the object supports deleting to recycle bin.
| |
AllowTouchParent |
Indicates if parent is allowed to be touched, if exists.
| |
Bindings |
The collection of the binding objects for the given object.
| |
CacheParentData |
If true, the parent object data is cached within object.
| |
CheckUnique |
If true, the code name is checked for uniqueness upon saving.
| |
ChildDependencies |
Collection of the child dependencies for the given object.
| |
Children |
The collection of the child objects for the given object.
| |
CodeNameColumn |
Code name column name of the info record.
| |
ColumnNames |
Column names.
| |
CustomizedColumns |
Gets the list of customized columns in current object
| |
DisplayNameColumn |
Code name column name of the info record.
| |
HasChanged |
Returns true if the object has changed.
| |
HasData |
Returns true if the object has it's data storage initialized already
| |
IgnoreExternalColumns |
If true, externally stored columns are ignored and are stored normally in DB.
| |
IsCachedObject |
If true, the object is cached within the system for later use
| |
IsCheckedOut |
Indicates if the object is checked out.
| |
IsCheckedOutByUserID |
Gets ID of the user who checked the object out.
| |
IsClone |
Indicates if the object is clone.
| |
IsComplete |
Returns true if the object is complete (has all columns).
| |
IsDisconnected |
Returns true if the object is disconnected from the data source
| |
IsObjectValid |
Returns true if the object is considered valid.
| |
Item |
Gets or sets the value of the column.
| |
LogEvents |
If true, events are logged on the object update.
| |
LogExport |
If true, export tasks are logged on the object update.
| |
LogIntegration |
If true, integration tasks are being logged.
| |
LogSynchronization |
If true, synchronization tasks are logged on the object update.
| |
LogWebFarmTasks |
If true, web farm tasks are logged on the object update.
| |
MainObject |
Main object for this general access object
| |
MetaFiles |
The collection of the metafiles of the given object.
| |
ObjectCategory |
Object category.
| |
ObjectCodeName |
Object code name.
| |
ObjectDisplayName |
Object name.
| |
ObjectFullName |
Object full name if exists
| |
ObjectGroupID |
Object group ID.
| |
ObjectGUID |
Object GUID.
| |
ObjectIcon |
Object icon
| |
ObjectIconGUID |
Object icon GUID.
| |
ObjectID |
Object ID.
| |
ObjectIsCustom |
Indicates if object is custom (created by customer).
| |
ObjectIsCustomized |
Indicates if object is customized.
| |
ObjectLastModified |
Object last modified time.
| |
ObjectOrder |
Returns the order of the object among the other objects.
| |
ObjectParent |
Object parent
| |
ObjectParentID |
Object parent ID.
| |
ObjectSiteID |
Object site ID.
| |
ObjectSiteName |
Object site name.
| |
ObjectThumbnail |
Object thumbnail
| |
ObjectThumbnailGUID |
Object thumbnail GUID.
| |
ObjectVersionGUID |
Object version GUID.
| |
OriginalObjectCodeName |
Returns the original object code name
| |
OtherBindings |
The collection of the other binding objects for the given object.
| |
ParentObjectType |
Parent object type.
| |
PrioritizedProperties |
Gets the list of properties which should be prioritized in the macro controls (IntelliSense, MacroTree).
| |
Processes |
The collection of the processes of the given object.
| |
Properties |
Properties of the object available through GetProperty.
| |
ReferringObjects |
Collection of the objects depending on this object (object which have FK to this object).
| |
RelatedData |
Custom data connected to the object.
| |
ScheduledTasks |
The collection of the scheduled tasks of the given object.
| |
SupportsVersioning |
Indicates if the object versioning is supported.
| |
TouchCacheDependencies |
If true, cache dependencies are touched when the object is changed.
| |
TypeInfo |
Type info.
| |
UpdateTimeStamp |
If true, time stamp is updated on object update.
| |
ValidateCodeName |
If true, the code name is validated upon saving.
| |
VersioningEnabled |
Indicates if the object versioning is enabled by the settings.
|
Name | Description | |
---|---|---|
AnyItemChanged |
Returns true if any of the specified column names has changed.
| |
CheckDependencies |
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.
| |
CheckLicense |
Checks the object license. Returns true if the licensing conditions for this object were matched
| |
CheckPermissions |
Checks whether the specified user has permissions for this object.
| |
CheckUniqueCodeName |
Checks if the object has unique code name. Returns true if the object has unique code name.
| |
CheckUniqueValues |
Checks if a record with the same column values already exists in the database. Returns true if the set of values is unique.
| |
Clone |
Returns the clone
| |
ContainsColumn |
Returns true if the object contains specified column.
| |
DataChanged |
Returns true if the object changed.
| |
DataChanged(String) |
Returns true if the object changed.
| |
DeleteData |
Deletes the object from the database.
| |
DeleteExternalColumns |
Goes through the columns which are stored externally and deletes all the files.
| |
DeleteObject |
Deletes the object using appropriate provider.
| |
Disconnect |
Disconnects the object from database.
| |
EnsureBinaryData |
Makes sure that the binary data is loaded into binary column of the object when StoreToFileSystem is true.
| |
EnsureBinaryData(Boolean) |
Makes sure that the binary data is loaded into binary column of the object.
| |
EnsureCodeName |
Ensures the code name of the object if not set
| |
EnsureGUID |
Ensures the GUID of the object
| |
EnsureUniqueCodeName |
Ensures that the object has a unique code name within it's context
| |
ExportDefaultData |
Exports the default object installation data
| |
GetBinaryData |
Returns the BinaryData object of the current instance. Has to be overridden by specific classes. Returns null by default.
| |
GetCacheDependencies |
Gets collection of dependency keys to be touched when modifying the current object.
| |
GetChildWhereCondition |
Gets the child object where condition.
| |
GetColumnType |
Gets the column type.
| |
GetCount |
Gets count of the objects filtered by given where condition.
| |
GetData |
Returns the data according to the set of input parameters.
| |
GetDataQuery |
Gets the data query for this object type
| |
GetDefaultDataWhereCondition |
Gets where condition for default data according to TypeInfo configuration.
| |
GetDefaultObject |
Returns default object of given object type. Returns null by default. Example is UserInfo which returns user specified in the settings or Global Administrator.
| |
GetDependenciesNames |
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.
| |
GetDependencyObjectType |
Gets dependency object type
| |
GetExisting |
Returns the existing object based on current object data.
| |
GetExternalColumns |
Returns the list of columns registered as the external columns.
| |
GetExternalFiles |
Goes through the columns which are stored externally and returns the list of particular files this object uses.
| |
GetFullObjectName |
Returns the name of the object within its parent hierarchy.
| |
GetIconUrl |
Gets the object icon URL
| |
GetLastObjectOrder |
Returns number which will be the last order within all the other items (according to Parent, Group and Site settings).
| |
GetLockObject |
Gets the global lock object for all the instances of the object (locked on "objectType_objectId").
| |
GetModifiedFrom |
Gets the DataSet of all the objects modified from specified date.
| |
GetObject(Int32) |
Gets the object by its ID.
| |
GetObject(String) |
Gets the object by specified where condition.
| |
GetObject(IWhereCondition) |
Gets the object by specified where condition.
| |
GetObjectKey |
Gets the unique string key for the object.
| |
GetOriginalValue |
Returns the original value of column.
| |
GetParent |
Returns the parent object.
| |
GetPhysicalFiles |
Gets DataSet with physical files for current object.
| |
GetProperty |
Returns property with given name (either object or property value).
| |
GetPropertyType |
Gets the type of the given property
| |
GetSynchronizedColumns |
Gets the list of synchronized columns for this object.
| |
GetThumbnailUrl |
Gets the object thumbnail URL
| |
GetUniqueCodeName |
Returns the unique code name generated from current object code name.
| |
GetUniqueDisplayName |
Returns the unique display name generated from current object display name.
| |
GetUniqueName |
Returns the unique code name for the specified object, does not check duplicity if duplicity occurs within the currentObjectId.
| |
GetValue |
Returns value of column.
| |
GetValueForTranslation |
Returns value for translation services. Returns unmodified field content by default.
| |
GetVirtualFileRelativePath |
Returns virtual relative path for specific column
| |
InitObjectsOrder |
Initializes the proper order of the sibling objects so the order column is consistent.
| |
InsertAsClone(CloneSettings) |
Inserts the object as a new object to the DB with inner data and structure (according to given settings) cloned from the original.
| |
InsertAsClone(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.
| |
InsertData |
Inserts the object to the database.
| |
Invalidate |
Invalidates the object in the object table.
| |
IsAvailableOnSite |
Checks whether info object as available on given site. Available means that object is global or assigned to given site.
| |
IsCheckedOutByUser |
Returns true if the object is checked out by the specified user.
| |
IsChildOf |
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.
| |
IsModifiedExternally |
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.
| |
ItemChanged |
Returns true if the item on specified column name changed.
| |
MakeComplete |
Makes the object data complete.
| |
MoveObjectDown |
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).
| |
MoveObjectUp |
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).
| |
NewObject |
Creates new object of the given class
| |
NotSupported |
Throws the not supported exception
| |
Reconnect |
Reconnects the object to database.
| |
ResetChanges |
Resets the object changes and keeps the new values as unchanged.
| |
RestoreSettings |
Restores local settings for object instance.
| |
RevertChanges |
Reverts the object changes to the original values.
| |
SaveExternalColumns |
Goes through the columns which are stored externally and ensures them in the external storage.
| |
SetObject |
Updates the object using appropriate provider.
| |
SetObjectAlphabeticalOrder |
Moves the object to the right position according to the custom order.
| |
SetObjectOrder |
Moves the object to the specified order (if OrderColumn is specified). The move is done within the object's parent and site (if defined).
| |
SetValue |
Sets value of column.
| |
SortAlphabetically |
Moves the object to the right position according to the custom order.
| |
StoreSettings |
Stores local settings for object instance.
| |
SubmitChanges |
Submits the changes in the object to the database.
| |
TouchParent |
Updates the parent object by saving it (to update the timestamp).
| |
TryGetProperty(String, Object) |
Returns property with given name (either object or property value).
| |
TryGetProperty(String, Object, Boolean) |
Returns value of property.
| |
TryGetValue |
Returns value of column.
| |
UpdateData |
Updates the object to the database.
| |
UpdateExternalColumns |
Goes through the columns which are stored externally and updates DB versions with the data from external storage.
| |
UpdateFromDB |
Updates the data of the object from DB (updates also ObjectSettings).
| |
UpdatePathColumn |
Updates given path column.
| |
UpdatePhysicalFiles |
Updates physical files in given DataSet for current object.
|
Name | Description | |
---|---|---|
CheckRequiredColumns |
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.) | |
ToJSON |
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.) | |
ToXML(XmlWriter, Boolean) | Overloaded.
Writes XML representation of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.) | |
ToXML(String, Boolean) | Overloaded.
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.) | |
ToXML(XmlWriter, ListString, Boolean) | Overloaded.
Writes XML representation of selected columns of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.) |