IAttachment Interface |
Namespace: CMS.DocumentEngine
public interface IAttachment : IInfo, IAdvancedDataContainer, IDataContainer, ISimpleDataContainer, ISerializable, ICMSObject, IHierarchicalDataContainer, IHierarchicalObject, INameIndexable, IVirtualHierarchicalObject, IComparable, IRelatedData, IMacroObject
The IAttachment type exposes the following members.
Name | Description | |
---|---|---|
AllowPartialUpdate |
If true, the object allows partial updates.
(Inherited from IInfo.) | |
AttachmentBinary |
Gets the binary content of the attachment or attachment version.
| |
AttachmentCustomData |
Attachment custom data.
| |
AttachmentDescription |
Gets the description of the attachment or attachment version.
| |
AttachmentDocumentID |
Related document Document ID.
| |
AttachmentExtension |
Gets the file name extension of the attachment or attachment version.
| |
AttachmentGroupGUID |
Holds the GUID of the document field (group) under which the grouped attachment belongs.
| |
AttachmentGUID |
Gets the globally unique identifier of the attachment or attachment version.
| |
AttachmentHash |
Gets the string representation of the attachment or attachment version hash.
| |
AttachmentImageHeight |
Gets the height, in pixels, of the attachment or attachment version.
| |
AttachmentImageWidth |
Gets the width, in pixels, of the attachment or attachment version.
| |
AttachmentIsUnsorted |
Indicates if attachment is an unsorted attachment.
| |
AttachmentLastModified |
Gets the date and time when the attachment or attachment version was last modified.
| |
AttachmentMimeType |
Gets the MIME type of the attachment or attachment version.
| |
AttachmentName |
Gets the file name of the attachment or attachment version.
| |
AttachmentOrder |
Stores the attachment order.
| |
AttachmentSearchContent |
Extracted content from attachment binary used for search indexing.
| |
AttachmentSiteID |
Attachment site ID.
| |
AttachmentSize |
Gets the size, in bytes, of the attachment or attachment version.
| |
AttachmentTitle |
Gets the title of the attachment or attachment version.
| |
AttachmentVariantDefinitionIdentifier |
Text identification of used variant definition.
| |
AttachmentVariantParentID |
Attachment variant parent ID.
| |
ColumnNames |
Column names.
(Inherited from IDataContainer.) | |
Generalized |
Generalized interface of this object.
(Inherited from IInfo.) | |
HasChanged |
Returns true if the object changed.
(Inherited from IAdvancedDataContainer.) | |
IsComplete |
Returns true if the object is complete (has all columns).
(Inherited from IAdvancedDataContainer.) | |
Item |
Gets or sets the value of the column.
(Inherited from ISimpleDataContainer.) | |
ObjectSettings |
Object settings
(Inherited from IInfo.) | |
Properties |
Properties of the object available through GetProperty.
(Inherited from IHierarchicalObject.) | |
RelatedData |
Custom data connected to the object.
(Inherited from IRelatedData.) | |
TypeInfo |
Object type info
(Inherited from IInfo.) |
Name | Description | |
---|---|---|
ChangedColumns |
Returns list of column names which values were changed.
(Inherited from IAdvancedDataContainer.) | |
CloneObject |
Creates a clone of the object
(Inherited from IInfo.) | |
ContainsColumn |
Returns true if the object contains specified column.
(Inherited from IDataContainer.) | |
DataChanged |
Returns true if the object changed.
(Inherited from IAdvancedDataContainer.) | |
Delete |
Deletes the object using appropriate provider
(Inherited from IInfo.) | |
Destroy |
Destroys the object including its version history using appropriate provider
(Inherited from IInfo.) | |
ExecuteWithOriginalData |
Executes the given action using original data of the object
(Inherited from IInfo.) | |
GetOriginalValue |
Returns the original value of column.
(Inherited from IAdvancedDataContainer.) | |
GetProperty |
Returns property with given name (either object or property value).
(Inherited from IHierarchicalObject.) | |
GetValue |
Returns value of column.
(Inherited from ISimpleDataContainer.) | |
Insert |
Inserts the object using appropriate provider
(Inherited from IInfo.) | |
ItemChanged |
Returns true if the item on specified column name changed.
(Inherited from IAdvancedDataContainer.) | |
MacroRepresentation |
Returns the object which represents current object in the macro engine.
Whenever the object implementing IMacroObject interface is used within macro engine this method is called its result is used instead.
(Inherited from IMacroObject.) | |
MakeComplete |
Makes the object data complete.
(Inherited from IAdvancedDataContainer.) | |
ResetChanges |
Resets the object changes and keeps the new values as unchanged.
(Inherited from IAdvancedDataContainer.) | |
RevertChanges |
Reverts the object changes to the original values.
(Inherited from IAdvancedDataContainer.) | |
SetValue |
Sets value of column.
(Inherited from ISimpleDataContainer.) | |
SubmitChanges |
Submits the changes in the object to the database.
(Inherited from IInfo.) | |
ToMacroString |
Returns the default text representation in the macros (this is called when the expression is resolved to its final value and should be converted to string).
(Inherited from IMacroObject.) | |
TryGetProperty(String, Object) |
Returns property with given name (either object or property value).
(Inherited from IHierarchicalObject.) | |
TryGetProperty(String, Object, Boolean) |
Returns property with given name (either object or property value).
(Inherited from IVirtualHierarchicalObject.) | |
TryGetValue |
Returns value of column.
(Inherited from IDataContainer.) | |
Update |
Updates the database entity using appropriate provider
(Inherited from IInfo.) |
Name | Description | |
---|---|---|
CheckRequiredColumns |
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.) | |
IsVariant |
Returns true if the attachment is a variant of an original attachment.
(Defined by AttachmentExtensions.) | |
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.) |