C# 클래스 formulate.app.Persistence.Internal.JsonDataValuePersistence

Handles persistence of data values to JSON on the file system.
상속: IDataValuePersistence
파일 보기 프로젝트 열기: rhythmagency/formulate

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Delete ( System.Guid dataValueId ) : void

Deletes the specified data value.

Delete ( string dataValueAlias ) : void

Deletes the data value with the specified alias.

JsonDataValuePersistence ( ) : System

Default constructor.

Persist ( DataValue dataValue ) : void

Persists a data value to the file system.

Retrieve ( System.Guid dataValueId ) : DataValue

Gets the data value with the specified ID.

Retrieve ( string dataValueAlias ) : DataValue

Gets the data value with the specified alias.

RetrieveChildren ( System.Guid parentId ) : IEnumerable

Gets all the data values that are the children of the folder with the specified ID.

You can specify a parent ID of null to get the root data values.

메소드 상세

Delete() 공개 메소드

Deletes the specified data value.
public Delete ( System.Guid dataValueId ) : void
dataValueId System.Guid The ID of the data value to delete.
리턴 void

Delete() 공개 메소드

Deletes the data value with the specified alias.
public Delete ( string dataValueAlias ) : void
dataValueAlias string /// The alias of the data value to delete. ///
리턴 void

JsonDataValuePersistence() 공개 메소드

Default constructor.
public JsonDataValuePersistence ( ) : System
리턴 System

Persist() 공개 메소드

Persists a data value to the file system.
public Persist ( DataValue dataValue ) : void
dataValue DataValue The data value to persist.
리턴 void

Retrieve() 공개 메소드

Gets the data value with the specified ID.
public Retrieve ( System.Guid dataValueId ) : DataValue
dataValueId System.Guid /// The ID of the data value. ///
리턴 DataValue

Retrieve() 공개 메소드

Gets the data value with the specified alias.
public Retrieve ( string dataValueAlias ) : DataValue
dataValueAlias string The alias of the data value.
리턴 DataValue

RetrieveChildren() 공개 메소드

Gets all the data values that are the children of the folder with the specified ID.
You can specify a parent ID of null to get the root data values.
public RetrieveChildren ( System.Guid parentId ) : IEnumerable
parentId System.Guid The parent ID.
리턴 IEnumerable