C# 클래스 BExIS.Web.Shell.Areas.Sam.Controllers.DatasetController

Manages all funactions an authorized user can do with datasets and their versions
상속: Controller
파일 보기 프로젝트 열기: BEXIS2/Core

공개 메소드들

메소드 설명
Checkin ( int id ) : System.Web.Mvc.ActionResult
Checkout ( int id ) : System.Web.Mvc.ActionResult
Delete ( long id ) : System.Web.Mvc.ActionResult

Deletes a dataset, which means the dataset is marked as deleted, but is not physically removed from the database.

When a dataset is deleted, it is consodered as non-exisiting, but for the sake or provenance, citation, history, etc, it is not removed froom the database. The function to recover a deleted dataset, will not be provided.

Index ( ) : System.Web.Mvc.ActionResult

Shows a berif intro about the functions available as well as some warnings that inofrom the user about non recoverability of some of the operations such as purge.

List ( ) : System.Web.Mvc.ActionResult

Lists all exisiting datasets alongside with their current status

Purge ( long id ) : System.Web.Mvc.ActionResult

Purges a dataset, which means the dataset and all its versions will be physically removed from the database.

This operation is not revocerable.

Rollback ( int id ) : System.Web.Mvc.ActionResult
Version ( int id ) : System.Web.Mvc.ActionResult

Shows the content of a specific dataset version

Versions ( int id ) : System.Web.Mvc.ActionResult

Having the identifier of a dataset, lists all its versions.

메소드 상세

Checkin() 공개 메소드

public Checkin ( int id ) : System.Web.Mvc.ActionResult
id int
리턴 System.Web.Mvc.ActionResult

Checkout() 공개 메소드

public Checkout ( int id ) : System.Web.Mvc.ActionResult
id int
리턴 System.Web.Mvc.ActionResult

Delete() 공개 메소드

Deletes a dataset, which means the dataset is marked as deleted, but is not physically removed from the database.
When a dataset is deleted, it is consodered as non-exisiting, but for the sake or provenance, citation, history, etc, it is not removed froom the database. The function to recover a deleted dataset, will not be provided.
public Delete ( long id ) : System.Web.Mvc.ActionResult
id long the identifier of the dataset to be purged.
리턴 System.Web.Mvc.ActionResult

Index() 공개 메소드

Shows a berif intro about the functions available as well as some warnings that inofrom the user about non recoverability of some of the operations such as purge.
public Index ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

List() 공개 메소드

Lists all exisiting datasets alongside with their current status
public List ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

Purge() 공개 메소드

Purges a dataset, which means the dataset and all its versions will be physically removed from the database.
This operation is not revocerable.
public Purge ( long id ) : System.Web.Mvc.ActionResult
id long the identifier of the dataset to be purged.
리턴 System.Web.Mvc.ActionResult

Rollback() 공개 메소드

public Rollback ( int id ) : System.Web.Mvc.ActionResult
id int
리턴 System.Web.Mvc.ActionResult

Version() 공개 메소드

Shows the content of a specific dataset version
public Version ( int id ) : System.Web.Mvc.ActionResult
id int
리턴 System.Web.Mvc.ActionResult

Versions() 공개 메소드

Having the identifier of a dataset, lists all its versions.
public Versions ( int id ) : System.Web.Mvc.ActionResult
id int the identifier of the dataset.
리턴 System.Web.Mvc.ActionResult