public SitecoreSaverUtil(Func <string, ISitecoreService> sitecoreFactory, ArticleUtil articleUtil, IArticleSearch searcher, EmailUtil emailUtil, ISitePublicationWorkflow siteWorkflow) { _sitecoreMasterService = sitecoreFactory(Constants.MasterDb); TempFileLocation = IsNullOrEmpty(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)) ? TempFolderFallover : Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + @"\temp."; _articleUtil = articleUtil; _articleSearcher = searcher; _emailUtil = emailUtil; _siteWorkflow = siteWorkflow; }
//protected readonly ISiteRootContext _siteRootContext; public EmailUtil( ArticleUtil articleUtil, Func <string, ISitecoreService> sitecoreFactory, IEmailSender emailSender, IHtmlEmailTemplateFactory htmlEmailTemplateFactory, ILogWrapper logger, ISitePublicationWorkflow siteWorkflow) { EmailSender = emailSender; _articleUtil = articleUtil; _service = sitecoreFactory(Constants.MasterDb); HtmlEmailTemplateFactory = htmlEmailTemplateFactory; Logger = logger; _siteWorkflow = siteWorkflow; // _siteRootContext = siteRootContext; }
public GetWordVersionNumByNumberController(ArticleUtil articleUtil) { _articleUtil = articleUtil; }
public GetArticlePreviewInfoController(ArticleUtil articleUtil) { _articleUtil = articleUtil; }
public GetArticlePreviewInfoByGuidsController(Func <string, ISitecoreService> sitecoreFactory, ArticleUtil articleUtil) { _sitecoreMasterService = sitecoreFactory(Constants.MasterDb); _articleUtil = articleUtil; }
public GetArticleUrlController(ArticleUtil articleUtil) { _articleUtil = articleUtil; }
public GetArticleGuidByNumController(ArticleUtil articleUtil) { _articleUtil = articleUtil; }
public CheckInArticleByGuidController(Func <string, ISitecoreService> sitecoreFactory, ArticleUtil articleUtil) { _sitecoreMasterService = sitecoreFactory(Constants.MasterDb); _articleUtil = articleUtil; }
public GetLockedStatusController(ArticleUtil articleUtil) { _articleUtil = articleUtil; }
public SaveArticleTextController(SitecoreSaverUtil sitecoreSaverUtil, ArticleUtil articleUtil) { _sitecoreSaverUtil = sitecoreSaverUtil; _articleUtil = articleUtil; }
public GetArticleActualPublishedDateController(ArticleUtil articleUtil) { _articleUtil = articleUtil; }
public GetArticleDetailsBgController(ArticleUtil articleUtil, Func <string, ISitecoreService> sitecoreFactory) { _sitecoreService = sitecoreFactory(Constants.MasterDb); _articleUtil = articleUtil; }
public GetArticleDetailsController(ArticleUtil articleUtil) { _articleUtil = articleUtil; }
public WorkflowController(ArticleUtil articleUtil) { _articleUtil = articleUtil; }
public GetWordVersionNumByGuidController(Func <string, ISitecoreService> sitecoreFactory, ArticleUtil articleUtil) { _sitecoreMasterService = sitecoreFactory(Constants.MasterDb); _articleUtil = articleUtil; }
public CheckInArticleController(ArticleUtil articleUtil) { _articleUtil = articleUtil; }
public DoesArticleHaveTextController(ArticleUtil articleUtil) { _articleUtil = articleUtil; }
public SendDocumentToSitecoreController(SitecoreSaverUtil sitecoreSaverUtil, ArticleUtil articleUtil) { _sitecoreSaverUtil = sitecoreSaverUtil; _articleUtil = articleUtil; }
public DoesArticleGuidHaveTextController(Func <string, ISitecoreService> sitecoreFactory, ArticleUtil articleUtil) { _sitecoreMasterService = sitecoreFactory(Constants.MasterDb); _articleUtil = articleUtil; }
public PreviewUrlArticleController(ArticleUtil articleUtil) { _articleUtil = articleUtil; }
public CreateArticleController(Func <string, ISitecoreService> sitecoreFactory, ArticleUtil articleUtil, IArticleSearch search) { _sitecoreMasterService = sitecoreFactory(Constants.MasterDb); _articleUtil = articleUtil; _articleSearch = search; }
public WorkFlowUtil(Func <string, ISitecoreService> sitecoreFactory, SitecoreSaverUtil sitecoreSaverUtil, ArticleUtil articleUtil) { _sitecoreMasterService = sitecoreFactory(Constants.MasterDb); SitecoreUtil = sitecoreSaverUtil; ArticleUtil = articleUtil; }
public DoesArticleExistController(ArticleUtil articleUtil) { _articleUtil = articleUtil; }