C# Class Raven.Studio.Models.EditableDocumentModel

Inheritance: Raven.Studio.Infrastructure.Model
Mostrar archivo Open project: robashton/ravendb Class Usage Examples

Private Properties

Property Type Description
AddErrors void
ApplyOutliningMode void
ClearMetadatas void
DoDeleteDocument void
EditDatabaseDocument void
EditableDocumentModel System
EditorDocumentHasErrors bool
GetMetadataLastModifiedString string
HandleChangeNotification void
HandleCurrentIdsChanged void
HandleDeleteDocument void
HandleDocumentChanged void
HandleDocumentNotFound void
HandleNavigation void
HandleToggleExpansion void
InitializeDocument void
InitializeOutliningModes void
IsDocumentValid bool
PutDocumentKeyInUrl void
RemoveNonDisplayedMetadata void
StoreOutliningMode void
UpdateDocumentSize void
UpdateErrors void
UpdateFromDocument void
UpdateListWithKnownIds void
UpdateMetadata void
UpdateRelated void
WhenParsingComplete Task

Public Methods

Method Description
AssertNoPropertyBeyondSize ( RavenJToken token, int maxSize, string path = "" ) : void
CanLeavePage ( ) : bool
LoadModelParameters ( string parameters ) : void
SetCurrentDocumentKey ( string docId ) : void

Protected Methods

Method Description
OnViewLoaded ( ) : void

Private Methods

Method Description
AddErrors ( DocumentSection section ) : void
ApplyOutliningMode ( ) : void
ClearMetadatas ( IEnumerable metadatas ) : void
DoDeleteDocument ( string documentKey ) : void
EditDatabaseDocument ( string database ) : void
EditableDocumentModel ( ) : System
EditorDocumentHasErrors ( IEditorDocument editorDocument ) : bool
GetMetadataLastModifiedString ( ) : string
HandleChangeNotification ( Raven.Abstractions.Data.DocumentChangeNotification notification ) : void
HandleCurrentIdsChanged ( object sender, EventArgs e ) : void
HandleDeleteDocument ( ) : void
HandleDocumentChanged ( ) : void
HandleDocumentNotFound ( ) : void
HandleNavigation ( string url ) : void
HandleToggleExpansion ( ) : void
InitializeDocument ( ) : void
InitializeOutliningModes ( ) : void
IsDocumentValid ( ) : bool
PutDocumentKeyInUrl ( string docId, bool dontOpenNewTab ) : void
RemoveNonDisplayedMetadata ( RavenJObject metaData ) : void
StoreOutliningMode ( ) : void
UpdateDocumentSize ( ) : void
UpdateErrors ( ) : void
UpdateFromDocument ( ) : void
UpdateListWithKnownIds ( ) : void
UpdateMetadata ( RavenJObject metadataAsJson ) : void
UpdateRelated ( ) : void
WhenParsingComplete ( IEditorDocument editorDocument ) : Task

Method Details

AssertNoPropertyBeyondSize() public method

public AssertNoPropertyBeyondSize ( RavenJToken token, int maxSize, string path = "" ) : void
token RavenJToken
maxSize int
path string
return void

CanLeavePage() public method

public CanLeavePage ( ) : bool
return bool

LoadModelParameters() public method

public LoadModelParameters ( string parameters ) : void
parameters string
return void

OnViewLoaded() protected method

protected OnViewLoaded ( ) : void
return void

SetCurrentDocumentKey() public method

public SetCurrentDocumentKey ( string docId ) : void
docId string
return void