Example #1
0
        static public FixedList <SignEventDTO> GetLastESignEvents(IContact requestedTo,
                                                                  string keywords)
        {
            FixedList <SignEvent> r = SignDataServices.GetLastESignEvents(requestedTo, keywords);

            return(ESignMapper.Map(r));
        }
Example #2
0
        static public FixedList <SignRequestDTO> GetESignRequests(IContact requestedTo, SignStatus status,
                                                                  string keywords)
        {
            FixedList <SignRequest> r = SignDataServices.GetESignRequests(requestedTo, status, keywords);

            return(ESignMapper.Map(r));
        }
Example #3
0
 protected override void OnSave()
 {
     if (base.IsNew)
     {
         this.PostedBy    = Contact.Parse(ExecutionServer.CurrentUserId);
         this.PostingTime = DateTime.Now;
     }
     SignDataServices.WriteDocument(this);
 }
Example #4
0
 protected override void OnSave()
 {
     if (this.IsNew)
     {
         SignDataServices.AppendSignEvent(this);
     }
     else
     {
         throw new InvalidOperationException("Update data of SignEvent instances is not allowed.");
     }
 }
Example #5
0
        static public SignRequestDTO GetESignRequestByDocumentNo(string documentNo)
        {
            SignRequest r = SignDataServices.GetESignRequestByDocumentNo(documentNo);

            return(ESignMapper.Map(r));
        }
Example #6
0
 protected override void OnSave()
 {
     SignDataServices.WriteSignRequest(this);
 }