C# 클래스 gov.va.medora.mdo.dao.oracle.mhv.sm.AddresseeDao

파일 보기 프로젝트 열기: OSEHRA/mdo 1 사용 예제들

공개 메소드들

메소드 설명
AddresseeDao ( AbstractConnection cxn ) : System
getAddressee ( Int32 addresseeId ) : Addressee
getAddresseesForMessage ( Int32 messageId ) : IList
moveMessage ( Message message, domain user, Folder folder ) : Addressee
readMessage ( Addressee addressee ) : Addressee

Mark a message as read in the Addressee table. Set the ReadDate property to current timestamp toggle the date on. Or, set the ReadDate property to a new DateTime() - year of 1 - to toggle the read date off

This function retrieves the message ID from the row that is updated. It does this so as not to put the burden on the consuming client application to pass the message ID value. This should make it less confusing which identifier is which and therefore the service easier to consume

toAddressees ( IDataReader rdr ) : IList
updateAddressee ( Addressee addressee ) : Addressee

비공개 메소드들

메소드 설명
addRecipientsToMessage ( Int32 triageGroupId, Message message ) : void
addSenderToMessage ( domain sender, Message message ) : void
buildCreateAddresseeQuery ( domain addressee, Int32 messageId ) : OracleQuery
buildDeleteAddresseeQuery ( Int32 addresseeId ) : OracleQuery
buildGetAddresseeForMessageQuery ( int messageId, int userId ) : OracleQuery
buildGetAddresseeQuery ( int addresseeId ) : OracleQuery
buildGetAddresseesForMessageQuery ( int messageId ) : OracleQuery
buildMoveMessageQuery ( Addressee addressee ) : OracleQuery
buildReadMessageRequest ( Addressee addressee ) : OracleQuery
buildUpdateAddresseeQuery ( Addressee addressee ) : OracleQuery
checkValidMove ( Folder oldFolder, Folder newFolder ) : void
createAddressee ( Addressee addressee, Int32 messageId ) : Addressee
createAddressees ( IList addressees, Int32 messageId ) : void
deleteAddressee ( Int32 addresseeId ) : void
getAddressee ( int messageId, int userId ) : Addressee
moveMessage ( Addressee addressee ) : Addressee
toAddressee ( IDataReader rdr ) : Addressee

메소드 상세

AddresseeDao() 공개 메소드

public AddresseeDao ( AbstractConnection cxn ) : System
cxn AbstractConnection
리턴 System

getAddressee() 공개 메소드

public getAddressee ( Int32 addresseeId ) : Addressee
addresseeId System.Int32
리턴 gov.va.medora.mdo.domain.sm.Addressee

getAddresseesForMessage() 공개 메소드

public getAddresseesForMessage ( Int32 messageId ) : IList
messageId System.Int32
리턴 IList

moveMessage() 공개 메소드

public moveMessage ( Message message, domain user, Folder folder ) : Addressee
message gov.va.medora.mdo.domain.sm.Message
user domain
folder gov.va.medora.mdo.domain.sm.Folder
리턴 gov.va.medora.mdo.domain.sm.Addressee

readMessage() 공개 메소드

Mark a message as read in the Addressee table. Set the ReadDate property to current timestamp toggle the date on. Or, set the ReadDate property to a new DateTime() - year of 1 - to toggle the read date off
This function retrieves the message ID from the row that is updated. It does this so as not to put the burden on the consuming client application to pass the message ID value. This should make it less confusing which identifier is which and therefore the service easier to consume
public readMessage ( Addressee addressee ) : Addressee
addressee gov.va.medora.mdo.domain.sm.Addressee
리턴 gov.va.medora.mdo.domain.sm.Addressee

toAddressees() 공개 메소드

public toAddressees ( IDataReader rdr ) : IList
rdr IDataReader
리턴 IList

updateAddressee() 공개 메소드

public updateAddressee ( Addressee addressee ) : Addressee
addressee gov.va.medora.mdo.domain.sm.Addressee
리턴 gov.va.medora.mdo.domain.sm.Addressee