C# Class Tigwi.Storage.Library.MsgStorage

Inheritance: IMsgStorage
Afficher le fichier Open project: ismaelbelghiti/Tigwi

Méthodes publiques

Méthode 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

Méthode Description
TruncateDate ( System.DateTime d ) : System.DateTime
TruncateMessages ( List msgs ) : List

Method Details

Copy() public méthode

public Copy ( System.Guid accountId, System.Guid msgId ) : System.Guid
accountId System.Guid
msgId System.Guid
Résultat System.Guid

GetLastMessages() public méthode

public GetLastMessages ( ) : List
Résultat List

GetListsMsgFrom() public méthode

public GetListsMsgFrom ( HashSet listsId, System.DateTime firstMsgTime, int msgNumber ) : List
listsId HashSet
firstMsgTime System.DateTime
msgNumber int
Résultat List

GetListsMsgTo() public méthode

public GetListsMsgTo ( HashSet listsId, System.DateTime lastMsgTime, int msgNumber ) : List
listsId HashSet
lastMsgTime System.DateTime
msgNumber int
Résultat List

GetMessage() public méthode

public GetMessage ( System.Guid msgId ) : IMessage
msgId System.Guid
Résultat IMessage

GetTaggedFrom() public méthode

public GetTaggedFrom ( System.Guid accoundId, System.DateTime firstMsgDate, int msgNumber ) : List
accoundId System.Guid
firstMsgDate System.DateTime
msgNumber int
Résultat List

GetTaggedTo() public méthode

public GetTaggedTo ( System.Guid accountId, System.DateTime lastMsgDate, int msgNumber ) : List
accountId System.Guid
lastMsgDate System.DateTime
msgNumber int
Résultat List

MsgStorage() public méthode

public MsgStorage ( BlobFactory blobFactory ) : System
blobFactory BlobFactory
Résultat System

Post() public méthode

public Post ( System.Guid accountId, string content ) : System.Guid
accountId System.Guid
content string
Résultat System.Guid

Remove() public méthode

public Remove ( System.Guid id ) : void
id System.Guid
Résultat void

Tag() public méthode

public Tag ( System.Guid accountId, System.Guid msgId ) : void
accountId System.Guid
msgId System.Guid
Résultat void

Untag() public méthode

public Untag ( System.Guid accountId, System.Guid msgId ) : void
accountId System.Guid
msgId System.Guid
Résultat void