C# Class PassFruit.Server.CiphertextDatastore.CiphertextDatastoreBase

显示文件 Open project: bettiolo/PassFruit Class Usage Examples

Protected Properties

Property Type Description
UserId System.Guid

Public Methods

Method Description
CiphertextDatastoreBase ( System.Guid userId ) : System
Delete ( System.Guid accountId ) : void
DeleteAll ( ) : void
Get ( System.Guid accountId ) : CiphertextDto
GetAll ( CiphertextStatus ciphertextStatus = CiphertextStatus.Active ) : PassFruit.Server.CiphertextDatastore.CiphertextDto[]
GetAllIds ( ) : System.Guid[]
Save ( CiphertextDto ciphertextDto ) : void

Protected Methods

Method Description
InternalSave ( CiphertextDto ciphertextDto ) : void

Private Methods

Method Description
IsMatchedByStatus ( CiphertextStatus ciphertextStatus, bool isDeleted ) : bool

Method Details

CiphertextDatastoreBase() public method

public CiphertextDatastoreBase ( System.Guid userId ) : System
userId System.Guid
return System

Delete() public method

public Delete ( System.Guid accountId ) : void
accountId System.Guid
return void

DeleteAll() public method

public DeleteAll ( ) : void
return void

Get() public abstract method

public abstract Get ( System.Guid accountId ) : CiphertextDto
accountId System.Guid
return CiphertextDto

GetAll() public method

public GetAll ( CiphertextStatus ciphertextStatus = CiphertextStatus.Active ) : PassFruit.Server.CiphertextDatastore.CiphertextDto[]
ciphertextStatus CiphertextStatus
return PassFruit.Server.CiphertextDatastore.CiphertextDto[]

GetAllIds() public abstract method

public abstract GetAllIds ( ) : System.Guid[]
return System.Guid[]

InternalSave() protected abstract method

protected abstract InternalSave ( CiphertextDto ciphertextDto ) : void
ciphertextDto CiphertextDto
return void

Save() public method

public Save ( CiphertextDto ciphertextDto ) : void
ciphertextDto CiphertextDto
return void

Property Details

UserId protected_oe property

protected Guid,System UserId
return System.Guid