private void LoadSections(dtoBaseForPaper baseCall, dtoSubmissionRevision subRev, Boolean allowAdmin)
        {
            BaseForPaper call = ServiceCall.GetCall(baseCall.Id);

            if (call != null)
            {
                LoadSections(call, subRev, allowAdmin);
            }
        }
        public void LoadSections(long idCall, CallForPaperType type, long idSubmission, long idRevision, long idSubmitter, Boolean allowAdmin)
        {
            BaseForPaper call = ServiceCall.GetCall(idCall);

            if (call != null)
            {
                LoadSections(call, ServiceCall.GetSubmissionWithRevisions(idSubmission, true), allowAdmin);
            }
        }
        public void LoadSections(long idCall, dtoSubmissionRevision subRev, Boolean allowAdmin)
        {
            BaseForPaper call = ServiceCall.GetCall(idCall);

            if (call != null)
            {
                LoadSections(call, subRev, allowAdmin);
            }
        }
Пример #4
0
        public void StartManagerRevision(long idSubmission, long idRevision)
        {
            List <dtoCallSection <dtoSubmissionValueField> > sections = ServiceCall.GetSubmissionFields(ServiceCall.GetCall(View.IdCall), View.IdSubmitterType, idSubmission, View.IdRevision);
            Dictionary <long, FieldError> fieldsError = ServiceCall.GetSubmissionFieldErrors(idSubmission, View.IdRevision);

            if (sections != null && sections.Count > 0 && fieldsError != null)
            {
                sections.ForEach(s => s.Fields.ForEach(f => f.SetError(fieldsError)));
            }
            sections.ForEach(s => s.Fields.ForEach(f => f.AllowSelection = true));
            View.LoadSections(sections);
        }