Click or drag to resize

ISurvey Interface

Manage an AskiaPortal survey.

Namespace:  AskiaPortalCmn
Assembly:  AskiaPortalCmn (in AskiaPortalCmn.dll) Version: 1.7.0-build068
Syntax
public interface ISurvey : ISurveyBase, 
	IOwnerEntity, IOwnerEntityBase, IEntityBase

The ISurvey type exposes the following members.

Properties
  NameDescription
Public propertyCreatedAt
Get the date of the creation
(Inherited from IOwnerEntityBase.)
Public propertyCreatedBy
Get the id of the user who have create the entity
(Inherited from IOwnerEntityBase.)
Public propertyCreatedFrom
Get the GUID of the module that has created the survey.
Public propertyDeletedAt
Get the date of deletion
(Inherited from IOwnerEntityBase.)
Public propertyDeletedBy
Get the id of the user who have delete the entity
(Inherited from IOwnerEntityBase.)
Public propertyDeletedFrom
Get the GUID of the module that has deleted the survey.
Public propertyDescription
Get or set a description for the survey.
(Inherited from ISurveyBase.)
Public propertyGuid
Gets the GUID of the survey.
Public propertyId
Get the id of the current entity
(Inherited from IOwnerEntityBase.)
Public propertyIsDeleted
Indicates if the current entity is flag as deleted
(Inherited from IOwnerEntityBase.)
Public propertyName
Get or set the name of the survey.
(Inherited from ISurveyBase.)
Public propertySettings
Gets the settings associated with the survey.
Public propertyState
Get or set the state of the survey.
(Inherited from ISurveyBase.)
Public propertyUpdatedAt
Get the date of the latest update
(Inherited from IOwnerEntityBase.)
Public propertyUpdatedBy
Get the id of the last user who have update the entity
(Inherited from IOwnerEntityBase.)
Public propertyUpdatedFrom
Get the GUID of the latest module that updated the survey.
Top
Methods
  NameDescription
Public methodAddToModule
Indicates that the survey is accessible through the specified module.
It will not save the change in the database unless you explicitly call the Save method.
Public methodAddToServer
Add the management of the current survey in the specified server.
It will not save the change in the database unless you explicitly call the Save method.
Public methodDelete
Flag the entity as deleted in database
(Inherited from IEntityBase.)
Public methodDelete(Boolean)
Flag an entity as deleted or definitively delete it in the database.
(Inherited from IOwnerEntity.)
Public methodGetAllModuleGuids
Returns the list of all module GUIDs that hold the current survey.
Public methodGetAllServerMapItems
Returns the list of all servers that manage the current survey.
Public methodGetSerializedData
Returns the serialized version of survey.
Public methodReload
Reload the entity, using the current database value. Returns successful value when the operation succeed
(Inherited from IOwnerEntity.)
Public methodRemoveFromModule
Indicates that the survey is no more available in the specifie module.
It will not save the change in the database unless you explicitly call the Save method.
Public methodRemoveFromServer
Remove the management of the current survey from the specified server.
It will not save the change in the database unless you explicitly call the Save method.
Public methodRestore
Restore an entity flag as deleted
(Inherited from IOwnerEntity.)
Public methodSave
Save (create or update) an entity
(Inherited from IEntityBase.)
Public methodSetSerializedData
Set the serialized version of the survey.
It will not save the change in the database unless you explicitly call the Save method.
Public methodValidate
Validate the integrity of the entity
(Inherited from IEntityBase.)
Top
See Also