C# Class BExIS.Web.Shell.Areas.SAM.Controllers.DataPermissionsController

Inheritance: Controller
显示文件 Open project: BEXIS2/Core

Public Methods

Method Description
ConcealDataset ( long entityId, long datasetId ) : void
CreateDataPermission ( long subjectId, long entityId, long dataId, int rightType ) : DataPermission
Data ( ) : System.Web.Mvc.ActionResult
DeleteDataPermission ( long subjectId, long entityId, long dataId, int rightType ) : bool
Entities_OnSelect ( long entityId ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
PublishDataset ( long entityId, long datasetId ) : void
Subjects ( long dataId, long entityId ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
Datasets_Select ( ) : System.Web.Mvc.ActionResult
Subjects_Select ( long dataId, long entityId ) : System.Web.Mvc.ActionResult

Method Details

ConcealDataset() public method

public ConcealDataset ( long entityId, long datasetId ) : void
entityId long
datasetId long
return void

CreateDataPermission() public method

public CreateDataPermission ( long subjectId, long entityId, long dataId, int rightType ) : DataPermission
subjectId long
entityId long
dataId long
rightType int
return BExIS.Security.Entities.Authorization.DataPermission

Data() public method

public Data ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

DeleteDataPermission() public method

public DeleteDataPermission ( long subjectId, long entityId, long dataId, int rightType ) : bool
subjectId long
entityId long
dataId long
rightType int
return bool

Entities_OnSelect() public method

public Entities_OnSelect ( long entityId ) : System.Web.Mvc.ActionResult
entityId long
return System.Web.Mvc.ActionResult

Index() public method

public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

PublishDataset() public method

public PublishDataset ( long entityId, long datasetId ) : void
entityId long
datasetId long
return void

Subjects() public method

public Subjects ( long dataId, long entityId ) : System.Web.Mvc.ActionResult
dataId long
entityId long
return System.Web.Mvc.ActionResult