DocumentAttachmentCollection Class |
Namespace: CMS.DocumentEngine
public class DocumentAttachmentCollection : InfoObjectCollection<DocumentAttachment>
The DocumentAttachmentCollection type exposes the following members.
Name | Description | |
---|---|---|
DocumentAttachmentCollection(DataSet) |
Constructor. Creates a static collection populated from DataSet
| |
DocumentAttachmentCollection(TreeNode) |
Constructor.
|
Name | Description | |
---|---|---|
ObjectInitializer |
Provides a way how to initialize the object instance based on given data
(Inherited from InfoObjectCollectionTInfo.) |
Name | Description | |
---|---|---|
AllowPaging |
If true, the paging of the data is allowed (data is loaded in batches).
(Inherited from InfoObjectCollectionTInfo.) | |
AutomaticNameColumn |
If true, the automatic name column is used within this collection
(Inherited from InfoObjectCollectionTInfo.) | |
CheckLicense |
If true, the collection check license when getting data
(Inherited from InfoObjectCollectionTInfo.) | |
CodeNames |
Collection of the object code names
(Inherited from InfoObjectCollectionTInfo.) | |
ColumnNames |
Available column names.
(Inherited from AbstractDataContainerParentObjectType.) | |
Columns |
Columns to get.
(Inherited from InfoObjectCollectionTInfo.) | |
Count |
Returns the number of items.
(Inherited from InfoObjectCollectionTInfo.) | |
DeletedItems |
Returns the items collection.
(Inherited from InfoObjectCollectionTInfo.) | |
DisplayNames |
Collection of the object display names
(Inherited from InfoObjectCollectionTInfo.) | |
DynamicWhereCondition |
Dynamic where condition.
(Inherited from InfoObjectCollectionTInfo.) | |
ElementType |
Returns the element type.
(Inherited from InfoObjectCollectionTInfo.) | |
EnforceReadOnlyDataAccess |
If true, the read only access to the data is enforced within the transaction.
(Inherited from InfoObjectCollectionTInfo.) | |
Expression |
Query expression
(Inherited from InfoObjectCollectionTInfo.) | |
FieldsAsObjects |
Related objects wrappers
(Inherited from InfoObjectCollectionTInfo.) | |
FirstItem |
Returns the first item of the collection
(Inherited from InfoObjectCollectionTInfo.) | |
GUIDs |
Collection of the object GUIDs
(Inherited from InfoObjectCollectionTInfo.) | |
IDs |
Collection of the object IDs
(Inherited from InfoObjectCollectionTInfo.) | |
InternalCount |
Internal count of the items
(Inherited from InfoObjectCollectionTInfo.) | |
IsCachedObject |
If true, the object is cached within the system for later use
(Inherited from InfoObjectCollectionTInfo.) | |
IsDisconnected |
Returns true if the collection is disconnected from the data source
(Inherited from InfoObjectCollectionTInfo.) | |
IsLastVersion |
If true, the document is the last version (retrieved using DocumentHelper.GetDocument).
(Inherited from InfoObjectCollectionTInfo.) | |
IsOffline |
Returns true, if the collection is offline (not backed up by the database but by the source data)
(Inherited from InfoObjectCollectionTInfo.) | |
ItemInt32 |
Gets or sets the object on specific index.
(Inherited from InfoObjectCollectionTInfo.) | |
ItemString |
Returns the object registered by the specific name.
(Inherited from InfoObjectCollectionTInfo.) | |
Items |
Returns the items collection.
(Inherited from InfoObjectCollectionTInfo.) | |
ItemsAsFields |
Fields wrappers
(Inherited from InfoObjectCollectionTInfo.) | |
ItemsHaveNames |
Returns true if the items in the collection have names
(Inherited from InfoObjectCollectionTInfo.) | |
ItemType | Obsolete.
Result type
(Inherited from InfoObjectCollectionTInfo.) | |
LastItem |
Returns the last item of the collection
(Inherited from InfoObjectCollectionTInfo.) | |
LoadBinaryData |
Gets or sets the value which indicates whether to load binary data into the collections.
(Inherited from InfoObjectCollectionTInfo.) | |
Name |
Collection name. Returns object type if name is not defined
(Inherited from InfoObjectCollectionTInfo.) | |
NameColumn |
Name column name
(Inherited from InfoObjectCollectionTInfo.) | |
NewItems |
Returns the items collection.
(Inherited from InfoObjectCollectionTInfo.) | |
Object |
Object instance of the specified type.
(Inherited from InfoObjectCollectionTInfo.) | |
ObjectsByName |
Objects by name collection.
(Inherited from InfoObjectCollectionTInfo.) | |
ObjectType |
Returns the object type of the objects stored within the collection.
(Inherited from InfoObjectCollectionTInfo.) | |
OrderByColumns |
Order by expression.
(Inherited from InfoObjectCollectionTInfo.) | |
PageSize |
Page size for loading of the items.
(Inherited from InfoObjectCollectionTInfo.) | |
ParentDocument |
Parent document.
| |
ParentObject |
Parent object. Instance of object which contains this collection as it's inner field.
(Inherited from InfoObjectCollectionTInfo.) | |
ParentStorage |
Parent storage
(Inherited from InfoObjectCollectionTInfo.) | |
Properties |
Properties available through the context.
(Inherited from AbstractHierarchicalObjectTObject.) | |
PropertyList |
Used property list
(Inherited from AbstractHierarchicalObjectTObject.) | |
Provider |
Query provider
(Inherited from InfoObjectCollectionTInfo.) | |
RegisteredColumns |
Registered Columns
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisteredColumnsObject |
Registered Columns object
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisteredProperties |
Registered properties
(Inherited from AbstractHierarchicalObjectTObject.) | |
RegisteredPropertiesObject |
Registered properties object
(Inherited from AbstractHierarchicalObjectTObject.) | |
RemovedObject |
Defines the removed object within collection
(Inherited from InfoObjectCollectionTInfo.) | |
SiteID |
Site ID to filter the collection to a particular site
(Inherited from InfoObjectCollectionTInfo.) | |
SortNames |
If true, the names in enumeration are sorted
(Inherited from InfoObjectCollectionTInfo.) | |
SourceData |
Source data for the collection
(Inherited from InfoObjectCollectionTInfo.) | |
TopN |
Select top N objects.
(Inherited from InfoObjectCollectionTInfo.) | |
TypeInfo |
Type info for the collection object.
(Inherited from InfoObjectCollectionTInfo.) | |
UseDefaultCacheDependencies |
If true, the collection uses default cache dependencies to flush it's content
(Inherited from InfoObjectCollectionTInfo.) | |
UseLocalColumns |
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainerTObject.) | |
UseLocalProperties |
If true, the object uses local properties
(Inherited from AbstractHierarchicalObjectTObject.) | |
UseObjectTypeCondition |
If true, the collection uses the type condition to get the data
(Inherited from InfoObjectCollectionTInfo.) | |
Where |
Where condition.
(Inherited from InfoObjectCollectionTInfo.) |
Name | Description | |
---|---|---|
Add(BaseInfo) |
Adds new object to the collection.
(Inherited from InfoObjectCollectionTInfo.) | |
Add(IEnumerableBaseInfo) |
Adds new object to the collection.
(Inherited from InfoObjectCollectionTInfo.) | |
AddCacheDependencies |
Adds the given list of cache dependencies to the collection
(Inherited from InfoObjectCollectionTInfo.) | |
AsTType |
Makes a wrapper of the collection with specified type of the items.
(Inherited from InfoObjectCollectionTInfo.) | |
CacheDependenciesChanged |
Ensures the actions when the cache dependencies have changed
(Inherited from InfoObjectCollectionTInfo.) | |
ChangeParent |
Changes the parent of the collection
(Inherited from InfoObjectCollectionTInfo.) | |
Clear |
Clears the current items in the collection.
(Inherited from InfoObjectCollectionTInfo.) | |
ClearCache |
Clears the collection cache
(Inherited from InfoObjectCollectionTInfo.) | |
Clone |
Creates the clone of the collection.
(Overrides InfoObjectCollectionTInfoClone.) | |
CloneCollection |
Creates the clone of this collection.
(Inherited from InfoObjectCollectionTInfo.) | |
CombineWith |
Combines current instance with other properties (modifies current instace!).
List properties are merged from all the participating typeinfos, other properties are taken as first non-null value (non-null is determined by nullValues collection).
(Inherited from AbstractHierarchicalObjectTObject.) | |
CompareTo |
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
(Inherited from InfoObjectCollectionTInfo.) | |
ContainsColumn |
Returns true if specified column is available in current structure.
(Inherited from AbstractDataContainerParentObjectType.) | |
CopyItemsTo |
Copies the items of this collection to the other collection
(Inherited from InfoObjectCollectionTInfo.) | |
CopyPropertiesTo |
Copies the properties of this collection to the other collection
(Overrides InfoObjectCollectionTInfoCopyPropertiesTo(IInfoObjectCollection).) | |
CreateChild |
Creates the child collection based on the given provider
(Inherited from InfoObjectCollectionTInfo.) | |
CreateNewObject |
Creates new instance of the encapsulated object.
(Overrides InfoObjectCollectionTInfoCreateNewObject(DataRow).) | |
CreateQueryProvider |
Creates a LINQ query provider for this collection
(Inherited from InfoObjectCollectionTInfo.) | |
Disconnect |
Disconnects the collection from the database
(Inherited from InfoObjectCollectionTInfo.) | |
Dispose |
Disposes the object
(Inherited from InfoObjectCollectionTInfo.) | |
EnsureItems |
Ensures the specified number of items in the item list.
(Inherited from InfoObjectCollectionTInfo.) | |
EnsureObjectValues |
Ensures the proper values for the given object
(Inherited from InfoObjectCollectionTInfo.) | |
GetCacheDependencyKeys |
Gets the list of cache dependency keys on which this collection depends
(Inherited from InfoObjectCollectionTInfo.) | |
GetCompleteWhereCondition |
Gets the complete where condition for the collection
(Overrides InfoObjectCollectionTInfoGetCompleteWhereCondition.) | |
GetData |
Gets the data for the collection.
(Overrides InfoObjectCollectionTInfoGetData(IWhereCondition, Int32, Int32, Int32).) | |
GetEmptyObject |
Gets an empty object for this collection
(Inherited from InfoObjectCollectionTInfo.) | |
GetEnumerator |
Gets the enumerator for the collection
(Inherited from InfoObjectCollectionTInfo.) | |
GetEnumeratorInternal |
Gets the enumerator for the collection.
(Inherited from InfoObjectCollectionTInfo.) | |
GetFieldsAsObjects(String) |
Gets the collection of objects that are referenced by the given property
(Inherited from InfoObjectCollectionTInfo.) | |
GetFieldsAsObjects(String, String) |
Gets the collection of objects that are referenced by the given property
(Inherited from InfoObjectCollectionTInfo.) | |
GetItem |
Gets the item on the specified index.
(Inherited from InfoObjectCollectionTInfo.) | |
GetItemsAsFields |
Returns the updatable collection of fields of collection items
(Inherited from InfoObjectCollectionTInfo.) | |
GetNameWhereCondition |
Gets the where condition by object name
(Overrides InfoObjectCollectionTInfoGetNameWhereCondition(String).) | |
GetObjectByNameInternal |
Gets the object by its name, internal representation that gets data from database
(Inherited from InfoObjectCollectionTInfo.) | |
GetObjectName(Object) |
Gets the unique object name from the given object.
(Inherited from InfoObjectCollectionTInfo.) | |
GetObjectName(TInfo) |
Gets the unique object name from the given object.
(Inherited from InfoObjectCollectionTInfo.) | |
GetObjectToCheck |
Gets an object for which to perform the permissions check.
(Inherited from InfoObjectCollectionTInfo.) | |
GetProperty |
Gets the context property.
(Inherited from AbstractHierarchicalObjectTObject.) | |
GetPropertyType |
Gets the type of the given property
(Inherited from AbstractHierarchicalObjectTObject.) | |
GetSubsetOrderBy |
Returns the clone of the collection with specified order by applied
(Inherited from InfoObjectCollectionTInfo.) | |
GetSubsetWhere | Obsolete.
Returns the clone of the collection with specified where condition applied
(Inherited from InfoObjectCollectionTInfo.) | |
GetSubsetWhereNotEmpty | Obsolete.
Returns the clone of the collection with specified column not being empty
(Inherited from InfoObjectCollectionTInfo.) | |
GetValue |
Gets the object value.
(Inherited from AbstractSimpleDataContainerTObject.) | |
HasSetter |
Returns true if given property has a setter
(Inherited from AbstractHierarchicalObjectTObject.) | |
Init |
Initializes the collection to use specific object type
(Inherited from InfoObjectCollectionTInfo.) | |
Load |
Clears the data in the collection and loads objects from the given list.
(Inherited from InfoObjectCollectionTInfo.) | |
MakeEmpty |
Makes the collection empty.
(Inherited from InfoObjectCollectionTInfo.) | |
Reconnect |
Reconnects the collection to the database
(Inherited from InfoObjectCollectionTInfo.) | |
RegisterClearCacheCallback |
Registers the callback to clear the collection cache
(Inherited from InfoObjectCollectionTInfo.) | |
RegisterColumn(String, FuncTObject, Object) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisterColumn(String, FuncTObject, Object, FuncTObject, Object, Object) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisterColumns |
Registers the Columns of this object
(Inherited from InfoObjectCollectionTInfo.) | |
RegisterProperties |
Registers the properties of this object
(Inherited from InfoObjectCollectionTInfo.) | |
RegisterProperties(ListString) |
Registers supported properties
(Inherited from InfoObjectCollectionTInfo.) | |
RegisterProperty(String, FuncTObject, Object) |
Registers the given property to the object
(Inherited from AbstractHierarchicalObjectTObject.) | |
RegisterProperty(String, Object, FuncTObject, Object, Object) |
Registers the given parameterized property to the object.
(Inherited from AbstractHierarchicalObjectTObject.) | |
Remove(IEnumerableTInfo) |
Removes the specified object from the collection.
(Inherited from InfoObjectCollectionTInfo.) | |
Remove(TInfo) |
Removes the specified object from the collection.
(Inherited from InfoObjectCollectionTInfo.) | |
RemoveClearCacheCallback |
Removes the callback to clear the collection cache
(Inherited from InfoObjectCollectionTInfo.) | |
SetProperty |
Gets the context property.
(Inherited from AbstractHierarchicalObjectTObject.) | |
SetValue |
Sets the object value.
(Inherited from AbstractSimpleDataContainerTObject.) | |
SubmitChanges |
Submits the changes in the collection to the database.
(Inherited from InfoObjectCollectionTInfo.) | |
ToString |
Provides a string representation of the collection
(Inherited from InfoObjectCollectionTInfo.) | |
TryGetProperty(String, Object) |
Gets the context property.
(Inherited from AbstractHierarchicalObjectTObject.) | |
TryGetProperty(String, Object, Boolean) |
Returns value of property.
(Inherited from AbstractHierarchicalObjectTObject.) | |
TryGetValue |
Returns value of column.
(Inherited from AbstractSimpleDataContainerTObject.) | |
ValidateItem |
Validates whether the item can be member of the collection (collection can work with it). Returns true if item is valid.
(Inherited from InfoObjectCollectionTInfo.) |