Ejemplo n.º 1
0
        public static bool ModificaDelegaAmm(Page page, DocsPAWA.DocsPaWR.InfoDelega delegaOld, DocsPAWA.DocsPaWR.InfoDelega delegaNew, string tipoDelega, string dataScadenzaOld, string dataDecorrenzaOld)
        {
            bool retValue = false;

            try
            {
                retValue = docsPaWS.DelegaModificaAmm(delegaOld, delegaNew, tipoDelega, dataScadenzaOld, dataDecorrenzaOld);
            }
            catch (System.Exception exc)
            {
                ErrorManager.redirect(page, exc);
            }
            return(retValue);
        }
Ejemplo n.º 2
0
        public static bool VerificaUnicaDelegaAmministrazione(Page page, DocsPAWA.DocsPaWR.InfoDelega delega)
        {
            bool retValue = false;

            try
            {
                retValue = docsPaWS.DelegaVerificaUnicaAssegnataAmm(delega);
            }
            catch (System.Exception exc)
            {
                ErrorManager.redirect(page, exc);
            }
            return(retValue);
        }
Ejemplo n.º 3
0
        public static bool CreaNuovaDelegaAmm(Page page, DocsPAWA.DocsPaWR.InfoDelega delega)
        {
            bool retValue = false;

            try
            {
                retValue = docsPaWS.DelegaCreaNuova(null, delega);
            }
            catch (System.Exception exc)
            {
                ErrorManager.redirect(page, exc);
            }
            return(retValue);
        }
Ejemplo n.º 4
0
        public static bool ModificaDelega(Page page, DocsPAWA.DocsPaWR.InfoDelega delega, string tipoDelega, string idRuoloOld, string idUtenteOld, string dataScadenzaOld, string dataDecorrenzaOld, string idRuoloDeleganteOld)
        {
            bool retValue = false;

            try
            {
                DocsPAWA.DocsPaWR.InfoUtente infoUtente = UserManager.getInfoUtente(page);
                retValue = docsPaWS.DelegaModifica(infoUtente, delega, tipoDelega, idRuoloOld, idUtenteOld, dataScadenzaOld, dataDecorrenzaOld, idRuoloDeleganteOld);
            }
            catch (System.Exception exc)
            {
                ErrorManager.redirect(page, exc);
            }
            return(retValue);
        }
Ejemplo n.º 5
0
        public static bool VerificaUnicaDelega(Page page, DocsPAWA.DocsPaWR.InfoDelega delega)
        {
            bool retValue = false;

            try
            {
                DocsPAWA.DocsPaWR.InfoUtente infoUtente = UserManager.getInfoUtente(page);
                retValue = docsPaWS.DelegaVerificaUnicaAssegnata(infoUtente, delega);
            }
            catch (System.Exception exc)
            {
                ErrorManager.redirect(page, exc);
            }
            return(retValue);
        }