C# Class Raven.Bundles.Versioning.Triggers.VersioningPutTrigger

Inheritance: Raven.Database.Plugins.AbstractPutTrigger
Show file Open project: synhershko/ravendb

Public Methods

Method Description
AfterPut ( string key, RavenJObject document, RavenJObject metadata, System.Guid etag, Raven.Abstractions.Data.TransactionInformation transactionInformation ) : void
AllowPut ( string key, RavenJObject document, RavenJObject metadata, Raven.Abstractions.Data.TransactionInformation transactionInformation ) : Raven.Database.Plugins.VetoResult
OnPut ( string key, RavenJObject document, RavenJObject metadata, Raven.Abstractions.Data.TransactionInformation transactionInformation ) : void

Private Methods

Method Description
RemoveOldRevisions ( string key, int revision, VersioningConfiguration versioningConfiguration, Raven.Abstractions.Data.TransactionInformation transactionInformation ) : void
TryGetVersioningConfiguration ( string key, RavenJObject metadata, VersioningConfiguration &versioningConfiguration ) : bool

Method Details

AfterPut() public method

public AfterPut ( string key, RavenJObject document, RavenJObject metadata, System.Guid etag, Raven.Abstractions.Data.TransactionInformation transactionInformation ) : void
key string
document RavenJObject
metadata RavenJObject
etag System.Guid
transactionInformation Raven.Abstractions.Data.TransactionInformation
return void

AllowPut() public method

public AllowPut ( string key, RavenJObject document, RavenJObject metadata, Raven.Abstractions.Data.TransactionInformation transactionInformation ) : Raven.Database.Plugins.VetoResult
key string
document RavenJObject
metadata RavenJObject
transactionInformation Raven.Abstractions.Data.TransactionInformation
return Raven.Database.Plugins.VetoResult

OnPut() public method

public OnPut ( string key, RavenJObject document, RavenJObject metadata, Raven.Abstractions.Data.TransactionInformation transactionInformation ) : void
key string
document RavenJObject
metadata RavenJObject
transactionInformation Raven.Abstractions.Data.TransactionInformation
return void