Exemple #1
0
 public SubForumManager(ForumRepository forumRepository, CategoryRepository categoryRepository,
                        ForumAccessSubwork forumAccessSubwork, ForumSiteUrlHelper forumSiteUrlHelper)
 {
     m_forumRepository    = forumRepository;
     m_categoryRepository = categoryRepository;
     m_forumAccessSubwork = forumAccessSubwork;
     m_forumSiteUrlHelper = forumSiteUrlHelper;
 }
Exemple #2
0
 public ForumSiteManager(ProjectRepository projectRepository, MetadataRepository metadataRepository, ForumManager forumManager,
                         ForumSiteUrlHelper forumSiteUrlHelper, IOptions <ForumOption> forumOptions, IMapper mapper)
 {
     m_projectRepository  = projectRepository;
     m_metadataRepository = metadataRepository;
     m_forumManager       = forumManager;
     m_forumSiteUrlHelper = forumSiteUrlHelper;
     m_mapper             = mapper;
     m_forumOptions       = forumOptions.Value;
 }
 public CreateVirtualForumsForCategoriesWork(ForumRepository forumRepository, ForumAccessSubwork forumAccessSubwork,
                                             ForumSiteUrlHelper forumSiteUrlHelper, IList <int> categoryIds, IList <int> oldCategoryIds, long projectId) : base(
         forumRepository)
 {
     m_forumRepository    = forumRepository;
     m_forumAccessSubwork = forumAccessSubwork;
     m_forumSiteUrlHelper = forumSiteUrlHelper;
     m_categoryIds        = categoryIds;
     m_oldCategoryIds     = oldCategoryIds;
     m_projectId          = projectId;
 }
Exemple #4
0
 public ForumManager(ForumRepository forumRepository, CategoryRepository categoryRepository,
                     UserRepository userRepository, ForumAccessSubwork forumAccessSubwork, MessageSubwork messageSubwork,
                     ForumSiteUrlHelper forumSiteUrlHelper, ForumDefaultMessageGenerator forumDefaultMessageGenerator, IOptions <ForumOption> forumOptions)
 {
     m_forumRepository              = forumRepository;
     m_categoryRepository           = categoryRepository;
     m_userRepository               = userRepository;
     m_forumAccessSubwork           = forumAccessSubwork;
     m_messageSubwork               = messageSubwork;
     m_forumSiteUrlHelper           = forumSiteUrlHelper;
     m_forumDefaultMessageGenerator = forumDefaultMessageGenerator;
     m_forumOptions = forumOptions.Value;
 }
Exemple #5
0
 public CreateForumWork(CategoryRepository categoryRepository,
                        UserRepository userRepository, ForumAccessSubwork forumAccessSubwork, MessageSubwork messageSubwork,
                        ForumSiteUrlHelper forumSiteUrlHelper, ProjectDetailContract project, short[] bookTypeIds, string messageText, string username,
                        string firstTopicName) : base(
         categoryRepository)
 {
     m_categoryRepository = categoryRepository;
     m_userRepository     = userRepository;
     m_forumAccessSubwork = forumAccessSubwork;
     m_messageSubwork     = messageSubwork;
     m_forumSiteUrlHelper = forumSiteUrlHelper;
     m_project            = project;
     m_bookTypeIds        = bookTypeIds;
     m_messageText        = messageText;
     m_username           = username;
     m_firstTopicName     = firstTopicName;
 }
Exemple #6
0
 public BookManager(MetadataRepository metadataRepository, CategoryRepository categoryRepository,
                    BookViewRepository bookRepository, IFileSystemManager fileSystemManager,
                    FulltextStorageProvider fulltextStorageProvider, AuthorizationManager authorizationManager,
                    AuthenticationManager authenticationManager, ForumSiteUrlHelper forumSiteUrlHelper,
                    IMapper mapper, PortalTypeProvider portalTypeProvider)
 {
     m_metadataRepository      = metadataRepository;
     m_categoryRepository      = categoryRepository;
     m_bookRepository          = bookRepository;
     m_fileSystemManager       = fileSystemManager;
     m_fulltextStorageProvider = fulltextStorageProvider;
     m_authorizationManager    = authorizationManager;
     m_authenticationManager   = authenticationManager;
     m_forumSiteUrlHelper      = forumSiteUrlHelper;
     m_mapper             = mapper;
     m_portalTypeProvider = portalTypeProvider;
     m_filterBookType     = new[] { BookTypeEnum.CardFile };
 }
Exemple #7
0
 public BookSearchManager(MetadataRepository metadataRepository, SnapshotRepository snapshotRepository,
                          ResourceRepository resourceRepository,
                          MetadataSearchCriteriaProcessor metadataSearchCriteriaProcessor, BookViewRepository bookRepository,
                          CorpusSearchManager corpusSearchManager, HeadwordSearchManager headwordSearchManager,
                          FulltextStorageProvider fulltextStorageProvider, AuthorizationManager authorizationManager,
                          ForumSiteUrlHelper forumSiteUrlHelper, IMapper mapper)
 {
     m_metadataRepository = metadataRepository;
     m_snapshotRepository = snapshotRepository;
     m_resourceRepository = resourceRepository;
     m_metadataSearchCriteriaProcessor = metadataSearchCriteriaProcessor;
     m_bookRepository          = bookRepository;
     m_corpusSearchManager     = corpusSearchManager;
     m_headwordSearchManager   = headwordSearchManager;
     m_fulltextStorageProvider = fulltextStorageProvider;
     m_authorizationManager    = authorizationManager;
     m_forumSiteUrlHelper      = forumSiteUrlHelper;
     m_mapper = mapper;
 }