Click or drag to resize

Repository Class

The Repository class defines all the default values, configurations and security of the application and contains the current MetaSource and OutputDevice objects .
Inheritance Hierarchy
SystemObject
  Seal.ModelRepository

Namespace: Seal.Model
Assembly: SealLibrary (in SealLibrary.dll) Version: 8.0.0.0+c5a14bc14715399f60fcf611201a5e8ad953fbc3
Syntax
C#
public class Repository

The Repository type exposes the following members.

Constructors
 NameDescription
Public methodRepositoryInitializes a new instance of the Repository class
Top
Properties
 NameDescription
Public propertyAssembliesFolder Assemblies folder
Public propertyConfiguration Current configuration
Public propertyConfigurationPath Configuration file path
Public propertyCultureInfo Default CultureInfo
Public propertyStatic memberDefaultRepository 
Public propertyDevices List of OutputDevice in the repository
Public propertyDevicesEmailFolder Devices Email folder
Public propertyDevicesFileServerFolder Devices File Server folder
Public propertyDevicesFolder Devices folder
Public propertyStatic memberInstance A general static instance of the repository
Public propertyJSTranslations Current JavaScript translations
Public propertyLicenseText License text
Public propertyLogsFolder Logs folder
Public propertyMomentJSShortDateFormat Short Date format for MomentJS
Public propertyMomentJSShortDateTimeFormat Short Date Time format for MomentJS
Public propertyNVD3Translations Current NVD3 translations (for NVD3 charts)
Public propertyPersonalFolder SpecialsFolder Personal folder
Public propertyStatic memberProductVersion Product version
Public propertyReportsFolder Reports folder
Public propertyRepositoryPath Current path
Public propertyRepositoryTranslations Current repository translations
Public propertyRepositoryTranslationsPath Repository translations file name
Public propertyResultAllFormats All report formats available
Public propertyResultAllowedFormats Result report formats allowed by the configuration
Public propertySchedulesFolder SpecialsFolder Schedules folder
Public propertySealConverterPath SealConverter assembly path
Public propertySealTaskSchedulerPath The SealTaskScheduler executable full path
Public propertySecurity Current security
Public propertySecurityFolder Security folder
Public propertySecurityPath Security file path
Public propertySecurityProvidersFolder Security Providers folder
Public propertySettingsFolder Settings folder
Public propertySources List of MetaSource in the repository
Public propertySourcesFolder Sources folder
Public propertySpecialsFolder SpecialFolders folder
Public propertySubReportsFolder SubReports folder
Public propertyTableTemplatesFolder Table templates folder
Public propertyTaskTemplatesFolder Task templates folder
Public propertyTranslations Current translations
Public propertyTranslationsExcelPattern Translations file name pattern
Public propertyTranslationsPattern Translations file name pattern
Public propertyUseSealScheduler True if the Seal Scheduler is used instead of the Windows Tasks Scheduler
Public propertyViewContentFolder View Content folder
Public propertyViewImagesFolder View Images folder
Public propertyViewScriptsFolder View Scripts folder
Public propertyViewsFolder Views folder
Top
Methods
 NameDescription
Public methodCheckFolders Check repository folders and create them if necessary
Public methodStatic memberCreate Creates a basic repository
Public methodCreateFast Creates a basic repository: properties are shared or cloned for performance reasons
Public methodDecryptValue Decrypt a value using the key name and the encryption mode
Public methodEncryptValue Encrypt a value using the key name and the encryption mode
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodFindReport Find and load report form its identifier
Public methodStatic memberFindRepository Find the current repository path (normally defined in the .config file)
Public methodFindRepositoryTranslation Find a repository translation from a culture, context, instance and reference
Public methodFlushTranslationUsage 
Public methodGetApplicationKey Get an application key or password
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetInstalledTranslationLanguages 
Public methodGetPersonalFolder Returns the personal folder path of a user
Public methodGetPersonalFolderName Returns the personal folder name of a user
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInit Init the repository from a given path
Public methodLoadRepositoryTranslationsFromDataTable Load repository translations from a data table having columns: Context,Instance,Reference,en,fr,etc.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodMustReload True if the configuration or security file has been modified
Public methodReloadConfiguration Forces a configuration reload
Public methodStatic memberReloadInstance Force a reload of the repository Instance
Public methodReloadRepositoryTranslations Force reload of repository translations
Public methodReloadSecurity Forces a security reload for Web
Public methodReplaceRepositoryKeyword Replace the repository keywords in a string
Public methodRepositoryTranslate(String, String, String) Translate a reference text in a repository context with the current culture
Public methodRepositoryTranslate(String, String, String, String) Translate a reference text in a repository context
Public methodSendNotificationEmail Send an Email using the first Notification Email Device.
Public methodSetCultureInfo Set culture from a name, returns true if the change is done.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTranslate(String, String) Translate a reference text in a context
Public methodTranslate(String, String, String) Translate a reference text
Public methodTranslateCategory Translate a Category
Public methodTranslateCategoryPath Translate a full category path
Public methodTranslateColumn Translate an Element
Public methodTranslateConnection Translate a Connection
Public methodTranslateDevice Translate a Device
Public methodTranslateFileName Translate a file name
Public methodTranslateFolderName Translate a folder name
Public methodTranslateFolderPath Translate a full Folder Path
Public methodTranslateReport Translate a reference text in a Report context
Public methodTranslateReportDisplayName Translate a report display name
Public methodTranslateReportToJS Translate a reference text in a Report context for JavaScript use
Public methodTranslateWeb Translate a reference text in a Web context
Public methodTranslateWebJS Translate a reference text in a WebJS context
Top
Fields
See Also