Click or drag to resize
Askia

SurveyFactory Class

Factory to create an instance of ISurvey using the specified context
Inheritance Hierarchy
SystemObject
  AskiaCoreSurveyFactory

Namespace:  AskiaCore
Assembly:  AskiaCore (in AskiaCore.dll) Version: 6.0.0-build000000000000000000000000000000000000000001
Syntax
public static class SurveyFactory

The SurveyFactory type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCheckSurveyExist
Check if a survey exists given its id
Public methodStatic memberCheckSurveyExistByPortalId
Check if a survey exists given its Portal id
Public methodStatic memberCheckSurveysExist
Check if a collection of surveys exist given their ids
Public methodStatic memberCheckSurveysExistByPortalId
Check if a collection of surveys exist given their Portal ids
Public methodStatic memberClearCache
Clears the cached surveys
Public methodStatic memberCode exampleCreate
Create a new blank survey
Public methodStatic memberCreateQuestionsTemplate
Create a new blank questions template
Public methodStatic memberCreateSurveyTemplate
Create a new blank survey template
Public methodStatic memberCode exampleGet
Get an instance of an existing survey
Public methodStatic memberGetAllQuestionsTemplatesInformation
Get all instances of questions template SurveyInformations
Public methodStatic memberGetAllSurveysInformation
Get all instances of SurveyInformations
Public methodStatic memberGetAllSurveysInformationWithPortalId
Get all instances of SurveyInformations
Public methodStatic memberGetAllSurveyTemplatesInformation
Get all instances of survey template SurveyInformations
Public methodStatic memberGetQuestionsTemplate
Get an instance of an existing questions template given its id
Public methodStatic memberGetQuestionsTemplateInformation
Get an instance of an existing questions template SurveyInformation given its id
Public methodStatic memberGetQuestionsTemplatesInformation
Get instances of questions template SurveyInformations given their ids
Public methodStatic memberGetQuestionsTemplatesMap
Get all instances of QuestionsTemplates
Public methodStatic memberGetSurvey(IContext, Int32)
Get an instance of an existing survey given its id
Public methodStatic memberGetSurvey(IContext, Int32, IEnumerableSurveyComponent)
Get an instance of an existing survey given its id
Public methodStatic memberGetSurveyByPortalId(IContext, Int32)
Get an instance of an existing survey given its Portal id
Public methodStatic memberGetSurveyByPortalId(IContext, Int32, IEnumerableSurveyComponent)
Get an instance of an existing survey given its Portal id
Public methodStatic memberGetSurveyInformation
Get an instance of an existing SurveyInformation given its id
Public methodStatic memberGetSurveyInformationByPortalId
Get an instance of an existing SurveyInformation given its Portal id
Public methodStatic memberGetSurveysInformation
Get instances of SurveyInformations given their ids
Public methodStatic memberGetSurveysInformationByPortalId
Get instances of SurveyInformations given their Portal ids
Public methodStatic memberGetSurveyTemplate
Get an instance of an existing survey template given its id
Public methodStatic memberGetSurveyTemplateInformation
Get an instance of an existing survey template SurveyInformation given its id
Public methodStatic memberGetSurveyTemplatesInformation
Get instances of survey template SurveyInformations given their ids
Public methodStatic memberGetSurveyTemplatesMap
Get all instances of SurveyTemplates
Top
See Also