C# Class Tigwi.Storage.Library.MsgStorage

Inheritance: IMsgStorage
Mostrar archivo Open project: ismaelbelghiti/Tigwi

Public Methods

Method Description
Copy ( System.Guid accountId, System.Guid msgId ) : System.Guid
GetLastMessages ( ) : List
GetListsMsgFrom ( HashSet listsId, System.DateTime firstMsgTime, int msgNumber ) : List
GetListsMsgTo ( HashSet listsId, System.DateTime lastMsgTime, int msgNumber ) : List
GetMessage ( System.Guid msgId ) : IMessage
GetTaggedFrom ( System.Guid accoundId, System.DateTime firstMsgDate, int msgNumber ) : List
GetTaggedTo ( System.Guid accountId, System.DateTime lastMsgDate, int msgNumber ) : List
MsgStorage ( BlobFactory blobFactory ) : System
Post ( System.Guid accountId, string content ) : System.Guid
Remove ( System.Guid id ) : void
Tag ( System.Guid accountId, System.Guid msgId ) : void
Untag ( System.Guid accountId, System.Guid msgId ) : void

Private Methods

Method Description
TruncateDate ( System.DateTime d ) : System.DateTime
TruncateMessages ( List msgs ) : List

Method Details

Copy() public method

public Copy ( System.Guid accountId, System.Guid msgId ) : System.Guid
accountId System.Guid
msgId System.Guid
return System.Guid

GetLastMessages() public method

public GetLastMessages ( ) : List
return List

GetListsMsgFrom() public method

public GetListsMsgFrom ( HashSet listsId, System.DateTime firstMsgTime, int msgNumber ) : List
listsId HashSet
firstMsgTime System.DateTime
msgNumber int
return List

GetListsMsgTo() public method

public GetListsMsgTo ( HashSet listsId, System.DateTime lastMsgTime, int msgNumber ) : List
listsId HashSet
lastMsgTime System.DateTime
msgNumber int
return List

GetMessage() public method

public GetMessage ( System.Guid msgId ) : IMessage
msgId System.Guid
return IMessage

GetTaggedFrom() public method

public GetTaggedFrom ( System.Guid accoundId, System.DateTime firstMsgDate, int msgNumber ) : List
accoundId System.Guid
firstMsgDate System.DateTime
msgNumber int
return List

GetTaggedTo() public method

public GetTaggedTo ( System.Guid accountId, System.DateTime lastMsgDate, int msgNumber ) : List
accountId System.Guid
lastMsgDate System.DateTime
msgNumber int
return List

MsgStorage() public method

public MsgStorage ( BlobFactory blobFactory ) : System
blobFactory BlobFactory
return System

Post() public method

public Post ( System.Guid accountId, string content ) : System.Guid
accountId System.Guid
content string
return System.Guid

Remove() public method

public Remove ( System.Guid id ) : void
id System.Guid
return void

Tag() public method

public Tag ( System.Guid accountId, System.Guid msgId ) : void
accountId System.Guid
msgId System.Guid
return void

Untag() public method

public Untag ( System.Guid accountId, System.Guid msgId ) : void
accountId System.Guid
msgId System.Guid
return void