TempFileLinkProvider - конструктор
Provider for creation file and file version temporary access tokens and accessing its content.
Makes no permission check. Use it if you are absolutely sure it's safe to do.
Пространство имён: Tessa.Content.FilesСборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
public TempFileLinkProvider(
IDbScope dbScope,
ISession session,
ICardCache cardCache,
ITokenRepositoryCached tokenRepositoryCached,
TokenInfoBuilderFactory tokenInfoBuilderFactory,
ICardStreamServerRepository cardStreamServerRepository,
IFormattingSettingsCache formattingSettingsCache,
ICardServerPermissionsProvider cardServerPermissionsProvider,
IFileContentActionHistoryStrategy contentHistoryStrategy
)
Public Sub New (
dbScope As IDbScope,
session As ISession,
cardCache As ICardCache,
tokenRepositoryCached As ITokenRepositoryCached,
tokenInfoBuilderFactory As TokenInfoBuilderFactory,
cardStreamServerRepository As ICardStreamServerRepository,
formattingSettingsCache As IFormattingSettingsCache,
cardServerPermissionsProvider As ICardServerPermissionsProvider,
contentHistoryStrategy As IFileContentActionHistoryStrategy
)
public:
TempFileLinkProvider(
IDbScope^ dbScope,
ISession^ session,
ICardCache^ cardCache,
ITokenRepositoryCached^ tokenRepositoryCached,
TokenInfoBuilderFactory^ tokenInfoBuilderFactory,
ICardStreamServerRepository^ cardStreamServerRepository,
IFormattingSettingsCache^ formattingSettingsCache,
ICardServerPermissionsProvider^ cardServerPermissionsProvider,
IFileContentActionHistoryStrategy^ contentHistoryStrategy
)
new :
dbScope : IDbScope *
session : ISession *
cardCache : ICardCache *
tokenRepositoryCached : ITokenRepositoryCached *
tokenInfoBuilderFactory : TokenInfoBuilderFactory *
cardStreamServerRepository : ICardStreamServerRepository *
formattingSettingsCache : IFormattingSettingsCache *
cardServerPermissionsProvider : ICardServerPermissionsProvider *
contentHistoryStrategy : IFileContentActionHistoryStrategy -> TempFileLinkProvider
Параметры
- dbScope IDbScope
Объект для взаимодействия с базой данных.
Определяет область видимости объекта
DbManager.
- session ISession
Сессия пользователя.
- cardCache ICardCache
Потокобезопасный кэш с карточками и дополнительными настройками.
- tokenRepositoryCached ITokenRepositoryCached
Repository for working with tokens.
- tokenInfoBuilderFactory TokenInfoBuilderFactory
Factory class to create instances of
TokenInfoBuilder with predefined configurations.
- cardStreamServerRepository ICardStreamServerRepository
Репозиторий для потокового управления карточками на сервере.
- formattingSettingsCache IFormattingSettingsCache
Кэш, предоставляющий информацию по доступным настройкам форматирования
IFormattingSettings.
Возвращаемые объекты доступны только для чтения.
- cardServerPermissionsProvider ICardServerPermissionsProvider
Объект, предоставляющий права доступа в соответствии с активной системой прав.
Например, для типового решения предоставляет токен KrToken с полным набором прав.
- contentHistoryStrategy IFileContentActionHistoryStrategy
Strategy for managing action history for file content access tokens.