Click or drag to resize
DocumentAttachmentRepository Class
Repository for document attachments
Inheritance Hierarchy
SystemObject
  CMS.DataEngineInfoObjectRepositoryDocumentAttachmentCollection, DocumentAttachment, InfoCollectionSettings
    CMS.DocumentEngineDocumentAttachmentRepository

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax
C#
public class DocumentAttachmentRepository : InfoObjectRepository<DocumentAttachmentCollection, DocumentAttachment, InfoCollectionSettings>

The DocumentAttachmentRepository type exposes the following members.

Constructors
  NameDescription
Public methodDocumentAttachmentRepository
Constructor.
Top
Properties
  NameDescription
Public propertyAll
All items from all underlying collections.
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Public propertyAllowNiceNames
If true, the repository allows nice names of the collections, e.g. for "CMS.User" uses "Users"
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Public propertyCollectionNames
Returns list of collection names in the repository.
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Protected propertyCollections
Table of collections [name -> CollectionType]
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Protected propertyCollectionSettings
Table of collection settings [name -> InfoCollectionSettings]
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Protected propertyCollectionSettingsByIndex
Table of collection settings by index [index -> InfoCollectionSettings]
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Protected propertyCollectionSettingsLock
Gets lock object for synchronization of modification of CollectionSettings and CollectionSettingsByIndex.
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Protected propertyCollectionsList
List of all collections (sorted by the order in which the collections were added).
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Public propertyCount
Returns the number of items.
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Public propertyDynamicNames
List of the dynamic names of the collections
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Public propertyGetDynamicNames
Function that provides the dynamic names of collections to the repository
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Public propertyIsCachedObject
If true, the object is cached within the system for later use
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Public propertyIsDisconnected
Returns true if this collection is disconnected from the database
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Public propertyItemInt32
Returns the collection of objects.
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Public propertyItemString
Returns the collection of objects indexed by object type, e.g. "cms.user".
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Public propertyItemsHaveNames
Returns true if the items in the collection have names
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Public propertyLoadBinaryData
Gets or sets the value which indicates whether to load binary data into the collections.
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Public propertyParentDocument
Parent document.
Public propertyParentStorage
Parent storage
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Public propertyProperties
Properties of the object available through GetProperty.
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Public propertySortNames
If true, the names in enumeration are sorted
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Top
Methods
  NameDescription
Public methodAdd
Adds new object to the collection.
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Public methodAddCollection
Registers the given collection of objects within the repository.
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Public methodDisconnect
Disconnects the collections from the database
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Protected methodGetCollection
Returns the collection of objects indexed by object type, e.g. "cms.user".
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Public methodGetEnumerator
Gets the enumerator for the collection.
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Public methodGetNicePropertyName
Gets the property name for the original name of the collection
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Public methodGetObjectName
Returns the name of the given object
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Public methodGetProperty
Gets the property value.
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Protected methodLoadCollection
Loads the given collection.
(Overrides InfoObjectRepositoryTCollection, TObject, TSettingsLoadCollection(TSettings).)
Public methodNewCollection
Creates new collection for the data.
(Overrides InfoObjectRepositoryTCollection, TObject, TSettingsNewCollection(String).)
Public methodNewCombinedCollection
Creates new combined collection for the data.
(Overrides InfoObjectRepositoryTCollection, TObject, TSettingsNewCombinedCollection.)
Public methodReconnect
Reconnects the collection to the database
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Protected methodRegisterNiceName
Registers the nice name of the collection
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Public methodReplaceCollection
Registers the given collection of objects within the repository.
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Protected methodSetupCollection
Sets up the collection using the given settings
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Protected methodStoreCollection
Stores the collection into inner lists
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Public methodSubmitChanges
Submits the changes to the database.
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Public methodTryGetProperty
Returns value of property.
(Inherited from InfoObjectRepositoryTCollection, TObject, TSettings.)
Top
Events
See Also