Click or drag to resize

DocumentRepository Class

Provides access to DocumentMetadata entities and their corresponding physical files, which are found in various locations throughout iWeb.
Inheritance Hierarchy
SystemObject
  Ignition.DocumentManagementDocumentRepository

Namespace: Ignition.DocumentManagement
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.28229
Syntax
public class DocumentRepository

The DocumentRepository type exposes the following members.

Constructors
 NameDescription
Public methodDocumentRepository Default constructor
Top
Methods
 NameDescription
Public methodGetMetadataByDocumentParent Retrieves a single DocumentMetadata by an entity that references a single document and implements the IHasDocumentMetadata interface
Public methodGetMetadataById Retrieves a single DocumentMetadata by id
Public methodGetPhysicalFileByDocumentParent Retrieves a single physical file by an entity that references a single document and implements the IHasDocumentMetadata interface
Public methodGetPhysicalFileById Retrieves a single physical file by the id of the DocumentMetadata that represents it
Public methodSaveCustomerData Saves a physical file to a special subfolder containing per-customer documents.
Public methodSaveEventData Saves a physical file to a special subfolder containing per-event Marketing documents.
Public methodSaveEventFacultyData Saves a physical file to a special subfolder containing per-event Faculty documents.
Public methodSaveEventSponsorData Saves a physical file to a special subfolder containing per-event Sponsor documents.
Public methodSaveExhibitSponsorData Saves a physical file to a special subfolder containing per-exhibit Sponsor documents.
Public methodTryGetPhysicalFile(DocumentMetadata, PhysicalFile) Attempts to retrieve the physical file related to a DocumentMetadata
Public methodTryGetPhysicalFile(IHasDocumentMetadata, PhysicalFile) Attempts to retrieve a file by an entity that references a the file's DocumentMetadata
Top
Remarks
This repository stores physical files in a completely separate location from the one used by iWeb. Files saved using this repository can only be retrieved via Ignition. The document metadata will be visible in iWeb, but the file itself will not be downloadable. The reverse is true for documents uploaded via iWeb. The metadatas for those files will be accessible here, but the physical files will not.
See Also