Click or drag to resize
Askia

IPageTemplate Interface

Page template interface

Namespace:  AskiaCore
Assembly:  AskiaCore (in AskiaCore.dll) Version: 6.0.0-build000000000000000000000000000000000000000001
Syntax
public interface IPageTemplate : IRecordEntity

The IPageTemplate type exposes the following members.

Properties
  NameDescription
Public propertyConfig
Configuration of the template
Public propertyCreatedAt
DateTime the record was created at
(Inherited from IRecordEntity.)
Public propertyCreatedBy
Id of the user which created the record
(Inherited from IRecordEntity.)
Public propertyData
Data contained within the file
Public propertyDeletedAt
DateTime at which the record was last deleted
(Inherited from IRecordEntity.)
Public propertyDeletedBy
Id of the user which last deleted the record
(Inherited from IRecordEntity.)
Public propertyId
Id of the record
(Inherited from IRecordEntity.)
Public propertyLastError
Last error that occurred
(Inherited from IRecordEntity.)
Public propertyName
Name of the template
Public propertyUpdatedAt
DateTime at which the record was last updated
(Inherited from IRecordEntity.)
Public propertyUpdatedBy
Id of the user which last updated the record
(Inherited from IRecordEntity.)
Top
Methods
  NameDescription
Public methodDelete
Deletes the record in the database
(Inherited from IRecordEntity.)
Public methodIsDeleted
Indicates if the record is flagged as deleted
(Inherited from IRecordEntity.)
Public methodIsLoaded
Checks if the record is successfully loaded from the database
(Inherited from IRecordEntity.)
Public methodLoadFromDirectory
Loads the template from a directory
Public methodLoadFromFileAndExtract
Loads the template from a file and extract its content to a directory
Public methodLoadFromMemoryAndExtract
Loads the template from memory and extracts its content to a directory
Public methodReload
Reloads the record
(Inherited from IRecordEntity.)
Public methodRenderForQuestion
Renders the template for a given question of a given survey interview
Public methodRestore
Restores the deleted record in the database
(Inherited from IRecordEntity.)
Public methodSave
Saves the record in the database
(Inherited from IRecordEntity.)
Top
See Also