BaseInfoGeneralizedInfoWrapper Class |
Namespace: CMS.DataEngine
public abstract class GeneralizedInfoWrapper : ICMSObject, IHierarchicalDataContainer, IDataContainer, ISimpleDataContainer, IVirtualHierarchicalObject, IHierarchicalObject, INameIndexable, ICMSStorage, IRelatedData
The BaseInfoGeneralizedInfoWrapper type exposes the following members.
Name | Description | |
---|---|---|
BaseInfoGeneralizedInfoWrapper |
Constructor
|
Name | Description | |
---|---|---|
AnyItemChanged |
Returns true if any of the specified column names has changed.
| |
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 overriden by specific classes. Returns null by default.
| |
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 |
Checks the object dependencies. 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.
| |
GetDependencyCacheKeys |
Gets the array of dependency cache keys for current object.
| |
GetDependencyObjectType |
Gets dependency object type
| |
GetEditingPageURL |
Gets the object editing page URL.
| |
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.
| |
GetChildWhereCondition |
Gets the child object where condition.
| |
GetIconUrl(Page, String) |
Gets the object icon URL
| |
GetIconUrl(Int32, Int32, Int32) |
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
| |
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
| |
CheckDependencies |
Checks the object dependencies. Returns true if there is at least one dependency.
| |
CheckLicense |
Checks the object license. Returns true if the licensing conditions for this object were matched
| |
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.
| |
InitObjectsOrder |
Inits the proper item order so the order 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 availabe on given site. Available means that object is global or assigned to given site.
| |
IsDynamicDependency | Obsolete.
Indicates if dependency object type id dynamic
| |
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 checkes if the data in DB is the same as in external storage. If all the columns are same returns true, otherwise false.
| |
IsObjectInvalid |
Returns true if the object is invalid.
| |
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).
| |
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 | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
CopyTo |
Copies the data of specified columns of the source object to the target object.
(Defined by DataExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
CheckRequiredColumns |
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToJSON |
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToXML |
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.) |
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.
| |
BindingObjectTypes | Obsolete.
Binding object types.
| |
Bindings |
The collection of the binding objects for the given object.
| |
CacheParentData |
If true, the parent object data is cached within object.
| |
CategoryIDColumn | Obsolete.
Category ID column name.
| |
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.
| |
GUIDColumn | Obsolete.
GUID column name.
| |
HasData |
Returns true if the object has it's data storage initialized already
| |
HasChanged |
Returns true if the object has changed.
| |
CheckUnique |
If true, the code name is checked for uniqueness upon saving.
| |
ChildDependencies |
Collection of the child dependencies for the given object.
| |
ChildDependencyColumns | Obsolete.
Child dependency columns.
| |
ChildObjectTypes | Obsolete.
Child object types.
| |
Children |
The collection of the child objects for the given object.
| |
IDColumn | Obsolete.
ID column name.
| |
IgnoreExternalColumns |
If true, externally stored columns are ignored and are stored normally in DB.
| |
InvalidateObject | Obsolete.
If true, object is invalidated when the object is changed.
| |
IsCachedObject |
If true, the object is cached within the system for later use
| |
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
| |
IsCheckedOut |
Indicates if the object is checked out.
| |
IsCheckedOutByUserID |
Gets ID of the user who checked the object out.
| |
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.
| |
ObjectClassName | Obsolete.
Class name.
| |
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.
| |
ObjectIsNested | Obsolete.
Returns true if the object is created within wrapping object and figures as its part (e.g., partial classes for TreeNode class).
| |
ObjectLastAccessed |
Object last access time (uses internally by providers).
| |
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.
| |
ObjectType | Obsolete.
Object type.
| |
ObjectVersionGUID |
Object version GUID.
| |
OriginalObjectCodeName |
Returns the original object code name
| |
OtherBindingObjectTypes | Obsolete.
Other binding types (ObjectType constants separated by semicolon) - binding types where this object participate but is not parent object of those binding types.
| |
OtherBindings |
The collection of the other binding objects for the given object.
| |
ParentIDColumn | Obsolete.
Parent ID column name.
| |
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.
| |
RelatedObjects |
The collection of the relationships of the given object.
| |
ScheduledTasks |
The collection of the scheduled tasks of the given object.
| |
SiteIDColumn | Obsolete.
Site ID column name.
| |
SupportsVersioning |
Indicates if the object versioning is supported.
| |
TimeStampColumn | Obsolete.
Time stamp column name.
| |
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.
|