GeneralizedInfoWrapper Methods |
The BaseInfoGeneralizedInfoWrapper type exposes the following members.
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
| |
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.
| |
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.) |