/// <summary> /// Enables the given addins /// </summary> /// <param name="surveyId"></param> /// <param name="addInId"></param> public void EnableWebSecurityAddIn(int surveyId, int addInId) { SecurityAddInFactory.Create().EnableWebSecurityAddIn(surveyId, addInId); }
/// <summary> /// Move the addin priority up /// </summary> /// <param name="surveyId"></param> /// <param name="addInOrder"></param> public void MoveWebSecurityAddInUp(int surveyId, int addInId) { SecurityAddInFactory.Create().MoveWebSecurityAddInUp(surveyId, addInId); }
/// <summary> /// Deletes the given security addin from the survey /// </summary> /// <param name="surveyId"></param> /// <param name="addInOrder"></param> public void DeleteWebSecurityAddIn(int surveyId, int addInId) { SecurityAddInFactory.Create().DeleteWebSecurityAddIn(surveyId, addInId); }
/// <summary> /// Adds the given security addin to the survey /// </summary> /// <param name="surveyId"></param> /// <param name="addInId"></param> /// <param name="addInOrder"></param> public void AddSecurityAddInToSurvey(int surveyId, int addInId, int addInOrder) { SecurityAddInFactory.Create().AddSecurityAddInToSurvey(surveyId, addInId, addInOrder); }
/// <summary> /// Get all security addins available for the survey /// </summary> public WebSecurityAddInData GetWebSecurityAddIns(int surveyId) { return(SecurityAddInFactory.Create().GetWebSecurityAddIns(surveyId)); }
/// <summary> /// Get a list of all available actions /// </summary> /// <returns></returns> public UnAuthentifiedUserActionData GetUnAuthentifiedUserActions() { return(SecurityAddInFactory.Create().GetUnAuthentifiedUserActions()); }
/// <summary> /// Return a AddIn object that reflects the database addin data /// </summary> /// <param name="addInId">Id of the addin you need</param> /// <returns>A WebSecurityAddInData object with the current database values</returns> public WebSecurityAddInData GetAddInById(int surveyId, int addInId) { return(SecurityAddInFactory.Create().GetSurveyAddInById(surveyId, addInId)); }