C# Class CodeGarten.Data.Access.ContainerManager

Exibir arquivo Open project: CodeGarten/CodeGarten Class Usage Examples

Public Methods

Method Description
AddPassword ( long structure, long container, string roletype, string password ) : void
ContainerManager ( DataBaseManager db ) : System
Create ( long structure, string containerName, string description, long parent ) : Container
Create ( long structure, string containerName, string description, long parent, string prototypeName ) : Container
Delete ( long containerId ) : Container
Get ( long container ) : Container
GetInstances ( long structureId ) : IQueryable
HasPassword ( long structure, long container, string roletype ) : bool
Search ( string query ) : IQueryable

Private Methods

Method Description
InvokeOnCreateContainer ( Container container ) : void
InvokeOnDeleteContainer ( Container container, ContainerType containerType ) : void

Method Details

AddPassword() public method

public AddPassword ( long structure, long container, string roletype, string password ) : void
structure long
container long
roletype string
password string
return void

ContainerManager() public method

public ContainerManager ( DataBaseManager db ) : System
db DataBaseManager
return System

Create() public method

public Create ( long structure, string containerName, string description, long parent ) : Container
structure long
containerName string
description string
parent long
return CodeGarten.Data.Model.Container

Create() public method

public Create ( long structure, string containerName, string description, long parent, string prototypeName ) : Container
structure long
containerName string
description string
parent long
prototypeName string
return CodeGarten.Data.Model.Container

Delete() public method

public Delete ( long containerId ) : Container
containerId long
return CodeGarten.Data.Model.Container

Get() public method

public Get ( long container ) : Container
container long
return CodeGarten.Data.Model.Container

GetInstances() public method

public GetInstances ( long structureId ) : IQueryable
structureId long
return IQueryable

HasPassword() public method

public HasPassword ( long structure, long container, string roletype ) : bool
structure long
container long
roletype string
return bool

Search() public method

public Search ( string query ) : IQueryable
query string
return IQueryable