C# Class CodeGarten.Data.Access.RoleManager

Datei anzeigen Open project: CodeGarten/CodeGarten Class Usage Examples

Public Methods

Method Description
AddRule ( long structure, string containerPrototype, string workspaceType, string roleType, string rule ) : void
Create ( long structure, string containerPrototype, string workspaceType, string roleType, IEnumerable rules = null, RoleBarrier roleBarrier = RoleBarrier.None ) : Role
Delete ( long structureId, string containerPrototype, string workspaceType, string roleType ) : void
Get ( long structure, string containerPrototype, string workspaceType, string roleType ) : Role
GetAll ( long structureId ) : IEnumerable
RoleManager ( DataBaseManager db ) : System.Collections.Generic

Method Details

AddRule() public method

public AddRule ( long structure, string containerPrototype, string workspaceType, string roleType, string rule ) : void
structure long
containerPrototype string
workspaceType string
roleType string
rule string
return void

Create() public method

public Create ( long structure, string containerPrototype, string workspaceType, string roleType, IEnumerable rules = null, RoleBarrier roleBarrier = RoleBarrier.None ) : Role
structure long
containerPrototype string
workspaceType string
roleType string
rules IEnumerable
roleBarrier RoleBarrier
return CodeGarten.Data.Model.Role

Delete() public method

public Delete ( long structureId, string containerPrototype, string workspaceType, string roleType ) : void
structureId long
containerPrototype string
workspaceType string
roleType string
return void

Get() public method

public Get ( long structure, string containerPrototype, string workspaceType, string roleType ) : Role
structure long
containerPrototype string
workspaceType string
roleType string
return CodeGarten.Data.Model.Role

GetAll() public method

public GetAll ( long structureId ) : IEnumerable
structureId long
return IEnumerable

RoleManager() public method

public RoleManager ( DataBaseManager db ) : System.Collections.Generic
db DataBaseManager
return System.Collections.Generic