Class DocumentOwnerProcessor
Every time a DocumentOwner is saved, we need to ensure a system permissions folder exists. The permissions folder is keyed against the OwnerEntity against the DocumentCategory. The permissions are enforced via the table valued functions in SQL, using the given UserID.
Inherited Members
Namespace: LemonEdge.API.Core.Processors
Assembly: LemonEdge.API.dll
Syntax
public class DocumentOwnerProcessor : AbstractDataSetProcessorWithDBSave<IDocumentOwner>, IBaseDataSetProcessorWithDBSave, IBaseDataSetProcessor, IProcessor, IDisposable
Constructors
DocumentOwnerProcessor(IEntityUpdater, IReadOnlyCache, UserInfo)
Declaration
public DocumentOwnerProcessor(IEntityUpdater updater, IReadOnlyCache cache, UserInfo user)
Parameters
Type | Name | Description |
---|---|---|
IEntityUpdater | updater | |
IReadOnlyCache | cache | |
UserInfo | user |
Methods
Dispose()
Declaration
public override void Dispose()
Overrides
InternalLoad()
Declaration
protected override Task InternalLoad()
Returns
Type | Description |
---|---|
Task |
Overrides
ProcessOnDBSave()
Will only run when connected to the database directly.
i.e. in the web service or in a client connected to the db service, not in a client connected to the web service.
For the client connected to the webservice, as part of the webservices save routine it will call this.Declaration
public override Task ProcessOnDBSave()
Returns
Type | Description |
---|---|
Task |