/// <summary>
    /// This method initialises the class and passs in the user profile.
    /// </summary>
    public EuUserRegistration (
      EuGlobalObjects ApplicationObjects,
      EvUserProfileBase ServiceUserProfile,
      EuSession SessionObjects,
      String UniFormBinaryFilePath,
      EvClassParameters Settings )
    {
      this.AdapterObjects = ApplicationObjects;
      this.ServiceUserProfile = ServiceUserProfile;
      this.Session = SessionObjects;
      this.UniForm_BinaryFilePath = UniFormBinaryFilePath;
      this.ClassParameters = Settings;

      this.LoggingLevel = Settings.LoggingLevel;

      this.ClassNameSpace = "Evado.UniForm.Clinical.EuDemoUserRegistration.";
      this.LogInitMethod ( "EuDemoUserRegistration initialisation" );
      this.LogInit ( "ServiceUserProfile.UserId: " + ServiceUserProfile.UserId );
      this.LogInit ( "SessionObjects.UserProfile.Userid: " + this.Session.UserProfile.UserId );
      this.LogInit ( "SessionObjects.UserProfile.CommonName: " + this.Session.UserProfile.CommonName );
      this.LogInit ( "UniFormBinaryFilePath: " + this.UniForm_BinaryFilePath );

      this.LogInit ( "Settings:" );
      this.LogInit ( "-PlatformId: " + this.ClassParameters.PlatformId );
      this.LogInit ( "-ApplicationGuid: " + this.ClassParameters.AdapterGuid );
      this.LogInit ( "-LoggingLevel: " + Settings.LoggingLevel );
      this.LogInit ( "-UserId: " + Settings.UserProfile.UserId );
      this.LogInit ( "-UserCommonName: " + Settings.UserProfile.CommonName );

      this._Bll_UserProfiles = new Evado.Digital.Bll.EdUserprofiles ( this.ClassParameters );

    }//END Method
    /// <summary>
    /// This method initialises the class and passs in the user profile.
    /// </summary>
    public EuNavigation (
      EuGlobalObjects AdapterObjects,
      EuSession Session,
      EvClassParameters ClassParameters )
    {
      this.ClassNameSpace = "Evado.UniForm.Clinical.EuNavigationCommands.";
      this.LogInitMethod ( "EuNavigationCommands initialisation" );
      this.ServiceUserProfile = ServiceUserProfile;
      this.Session = Session;
      this.AdapterObjects = AdapterObjects;
      this.ClassParameters = ClassParameters;

      this.LoggingLevel = this.ClassParameters.LoggingLevel;

    }//END Method
    /// <summary>
    /// This method initialises the class and passs in the user profile.
    /// </summary>
    public EuOrganisations (
      EuGlobalObjects AdapterObjects,
      EvUserProfileBase ServiceUserProfile,
      EuSession SessionObjects,
      String UniFormBinaryFilePath,
      String UniForm_BinaryServiceUrl,
      EvClassParameters Settings )
    {
      this.ClassNameSpace = "Evado.UniForm.Digital.EuOrganisations.";
      this.AdapterObjects = AdapterObjects;
      this.ServiceUserProfile = ServiceUserProfile;
      this.Session = SessionObjects;
      this.UniForm_BinaryFilePath = UniFormBinaryFilePath;
      this.UniForm_BinaryServiceUrl = UniForm_BinaryServiceUrl;
      this.ClassParameters = Settings;


      this.LogInitMethod ( "EuOrganisations initialisation" );
      this.LogInit ( "ServiceUserProfile.UserId: " + ServiceUserProfile.UserId );
      this.LogInit ( "Session.UserProfile.Userid: " + this.Session.UserProfile.UserId );
      this.LogInit ( "Session.UserProfile.CommonName: " + this.Session.UserProfile.CommonName );
      this.LogInit ( "UniFormBinaryFilePath: " + this.UniForm_BinaryFilePath );
      this.LogInit ( "UniForm BinaryServiceUrl: " + this.UniForm_BinaryServiceUrl );

      this.LogInit ( "Settings:" );
      this.LogInit ( "-PlatformId: " + this.ClassParameters.PlatformId );
      this.LogInit ( "-ApplicationGuid: " + this.ClassParameters.AdapterGuid );
      this.LogInit ( "-LoggingLevel: " + Settings.LoggingLevel );
      this.LogInit ( "-UserId: " + Settings.UserProfile.UserId );
      this.LogInit ( "-CommonName: " + Settings.UserProfile.CommonName );

      this._Bll_Organisations = new Evado.Digital.Bll.EdOrganisations ( this.ClassParameters );

      if ( this.Session.AdminOrganisation == null )
      {
        this.Session.AdminOrganisation = new EdOrganisation ( );
      }
      if ( this.Session.AdminOrganisationList == null )
      {
        this.Session.AdminOrganisationList = new List<EdOrganisation> ( );
      }

      if ( this.Session.SelectedOrganisationType == null )
      {
        this.Session.SelectedOrganisationType = String.Empty;
      }
    }//END Method
    /// <summary>
    /// This method initialises the class and passs in the user profile.
    /// </summary>
    public EuStaticContentTemplates (
      EuGlobalObjects ApplicationObjects,
      EvUserProfileBase ServiceUserProfile,
      EuSession SessionObjects,
      String UniFormBinaryFilePath )
    {
      this.AdapterObjects = ApplicationObjects;
      this.ServiceUserProfile = ServiceUserProfile;
      this.Session = SessionObjects;
      this.UniForm_BinaryFilePath = UniFormBinaryFilePath;
      this.ClassNameSpace = "Evado.UniForm.Clinical.EuStaticContentTemplates.";


      this.LogInitMethod ( "EuStaticContentTemplates initialisation" );
      this.LogInit ( "ServiceUserProfile.UserId: " + ServiceUserProfile.UserId );
      this.LogInit ( "SessionObjects.UserProfile.Userid: " + this.Session.UserProfile.UserId );
      this.LogInit ( "SessionObjects.UserProfile.CommonName: " + this.Session.UserProfile.CommonName );

    }//END Method
Exemple #5
0
    /// <summary>
    /// This method initialises the class and passs in the user profile.
    /// </summary>
    public EuApplicationEvents (
      EuGlobalObjects ApplicationObjects,
      EvUserProfileBase ServiceUserProfile,
      EuSession SessionObjects,
      String UniFormBinaryFilePath,
      EvClassParameters Settings )
    {
      this.ClassNameSpace = "Evado.UniForm.Clinical.EuAPplicationEvents. ";
      this.AdapterObjects = ApplicationObjects;
      this.ServiceUserProfile = ServiceUserProfile;
      this.Session = SessionObjects;
      this.UniForm_BinaryFilePath = UniFormBinaryFilePath;
      this.ClassParameters = Settings;

      this._Bll_ApplicationEvents = new Evado.Digital.Bll.EvApplicationEvents ( this.ClassParameters );

      this.LogInitMethod ( "EuApplicationEvents initialisation" );
      this.LogInit ( "ServiceUserProfile.UserId: " + ServiceUserProfile.UserId );
      this.LogInit ( "SessionObjects.UserProfile.Userid: " + this.Session.UserProfile.UserId );
      this.LogInit ( "SessionObjects.UserProfile.CommonName: " + this.Session.UserProfile.CommonName );
      this.LogInit ( "UniFormBinaryFilePath: " + this.UniForm_BinaryFilePath );

      this.LogInit ( "Settings:" );
      this.LogInit ( "-LoggingLevel: " + Settings.LoggingLevel );
      this.LogInit ( "-UserId: " + Settings.UserProfile.UserId );
      this.LogInit ( "-UserCommonName: " + Settings.UserProfile.CommonName );

      if ( this.Session.ApplicationEventList == null )
      {
        this.Session.ApplicationEventList = new List<EvApplicationEvent> ( );
      }

      if ( this.AdapterObjects.EventCodeSelectionList == null )
      {
        this.AdapterObjects.EventCodeSelectionList = new List<EvOption> ( );
      }


    }//END Method
    /// <summary>
    /// This method initialises the class and passs in the user profile.
    /// </summary>
    public EuMenus (
      EuGlobalObjects ApplicationObject,
      EvUserProfileBase ServiceUserProfile,
      EuSession SessionObjects,
      String UniFormBinaryFilePath,
      EvClassParameters Settings )
    {
      this.ClassNameSpace = "Evado.UniForm.Clinical.EuMenus.";
      this.AdapterObjects = ApplicationObject;
      this.ServiceUserProfile = ServiceUserProfile;
      this.Session = SessionObjects;
      this.UniForm_BinaryFilePath = UniFormBinaryFilePath;
      this.ClassParameters = Settings;


      this.LogInitMethod ( "Menu initialisation" );
      this.LogInit ( "ServiceUserProfile.UserId: " + ServiceUserProfile.UserId );
      this.LogInit ( "SessionObjects.UserProfile.Userid: " + this.Session.UserProfile.UserId );
      this.LogInit ( "SessionObjects.UserProfile.CommonName: " + this.Session.UserProfile.CommonName );
      this.LogInit ( "UniFormBinaryFilePath: " + this.UniForm_BinaryFilePath );

      this._Bll_Menus = new EvMenus ( this.ClassParameters );

    }//END Method