Example #1
0
 public FolderStreamWriter(IOrchardServices services, IContentItemDescriptorManager contentItemDescriptorManager, IFolderService folderService)
 {
     this.folderService = folderService;
     this.contentItemDescriptorManager = contentItemDescriptorManager;
     this.services = services;
     this.T        = NullLocalizer.Instance;
 }
 public FolderController(
     IIndexProvider indexProvider,
     IContentOwnershipHelper contentOwnershipHelper,
     ICRMContentOwnershipService crmContentOwnershipService,
     IExtendedContentManager extendedContentManager,
     ITransactionManager transactionManager,
     IWidgetService widgetService,
     IThemeAwareViewEngine themeAwareViewEngine,
     IShapeFactory shapeFactory,
     IContentManager contentManager,
     IOrchardServices services,
     IDisplayHelperFactory displayHelperFactory,
     IBusinessUnitService businessUnitService,
     ISiteService siteService,
     IBasicDataService basicDataService,
     IContentDefinitionManager contentDefinitionManager,
     IIndexManager indexManager,
     IWorkContextAccessor workContextAccessor,
     IActivityStreamService activityStreamService,
     IContentItemDescriptorManager contentItemDescriptorManager)
     : base(ContentTypes.FolderContentType, "Folder_Edit", indexProvider, services, crmContentOwnershipService, transactionManager, extendedContentManager, contentManager, widgetService, themeAwareViewEngine, shapeFactory, displayHelperFactory, basicDataService, contentOwnershipHelper, activityStreamService, contentItemDescriptorManager)
 {
     this.T      = NullLocalizer.Instance;
     this.Logger = NullLogger.Instance;
 }
 public AttachToProjectStreamWriter(IContentItemDescriptorManager contentItemDescriptorManager, IProjectService projectService, ICRMContentOwnershipService contentOwnershipService)
 {
     this.contentOwnershipService      = contentOwnershipService;
     this.projectService               = projectService;
     this.contentItemDescriptorManager = contentItemDescriptorManager;
     this.T = NullLocalizer.Instance;
 }
Example #4
0
 public ProjectStreamWriter(IOrchardServices services, IContentItemDescriptorManager contentItemDescriptorManager, IProjectService projectService)
 {
     this.projectService = projectService;
     this.contentItemDescriptorManager = contentItemDescriptorManager;
     this.services = services;
     this.T        = NullLocalizer.Instance;
 }
Example #5
0
 public ActivityStreamTokenProvider(IContentManager contentManager, IActivityStreamService activityStreamService, UrlHelper urlHelper, IContentItemDescriptorManager contentItemDescriptorManager)
 {
     this.contentItemDescriptorManager = contentItemDescriptorManager;
     this.urlHelper             = urlHelper;
     this.activityStreamService = activityStreamService;
     this.contentManager        = contentManager;
     this.T = NullLocalizer.Instance;
 }
 public ContentItemPermissionPartStreamWriter(
     IOrchardServices services,
     IBasicDataService basicDataService,
     IContentItemDescriptorManager contentItemDescriptorManager)
 {
     this.contentItemDescriptorManager = contentItemDescriptorManager;
     this.basicDataService             = basicDataService;
     this.services = services;
     this.T        = NullLocalizer.Instance;
 }
Example #7
0
 public TicketController(
     Lazy <IEnumerable <IContentHandler> > handlers,
     IProjectService projectService,
     IIndexProvider indexProvider,
     ISearchTicketService searchTicketService,
     IContentOwnershipHelper contentOwnershipHelper,
     IRepository <UserRolesPartRecord> userRolesRepository,
     ICRMContentOwnershipService crmContentOwnershipService,
     IExtendedContentManager extendedContentManager,
     ITransactionManager transactionManager,
     IWidgetService widgetService,
     IThemeAwareViewEngine themeAwareViewEngine,
     IShapeFactory shapeFactory,
     IContentManager contentManager,
     IOrchardServices services,
     IDisplayHelperFactory displayHelperFactory,
     IBusinessUnitService businessUnitService,
     ISiteService siteService,
     IBasicDataService basicDataService,
     IContentDefinitionManager contentDefinitionManager,
     IRepository <BusinessUnitMemberPartRecord> businessUnitMembersRepository,
     IIndexManager indexManager,
     IWorkContextAccessor workContextAccessor,
     IActivityStreamService streamService,
     IContentItemDescriptorManager contentItemDescriptorManager)
     : base("Ticket", "Ticket_Edit", indexProvider, services, crmContentOwnershipService, transactionManager, extendedContentManager, contentManager, widgetService, themeAwareViewEngine, shapeFactory, displayHelperFactory, basicDataService, contentOwnershipHelper, streamService, contentItemDescriptorManager)
 {
     this.handlers                      = handlers;
     this.projectService                = projectService;
     this.workContextAccessor           = workContextAccessor;
     this.searchTicketService           = searchTicketService;
     this.userRolesRepository           = userRolesRepository;
     this.businessUnitService           = businessUnitService;
     this.siteService                   = siteService;
     this.contentDefinitionManager      = contentDefinitionManager;
     this.indexManager                  = indexManager;
     this.businessUnitMembersRepository = businessUnitMembersRepository;
     this.T                = NullLocalizer.Instance;
     this.Logger           = NullLogger.Instance;
     this.defaultQueryHint = this.defaultQueryHint.ExpandRecords <TicketPartRecord>();
     this.defaultQueryHint = this.defaultQueryHint.ExpandRecords <ContentItemPermissionPartRecord>();
     this.defaultQueryHint = this.defaultQueryHint.ExpandRecords <CRMCommentsPartRecord>();
 }
 public ItemController(
     IIndexProvider indexProvider,
     ICRMContentOwnershipService crmContentOwnershipService,
     IContentOwnershipHelper contentOwnershipHelper,
     IOrchardServices services,
     IExtendedContentManager extendedContentManager,
     ITransactionManager transactionManager,
     IWidgetService widgetService,
     IThemeAwareViewEngine themeAwareViewEngine,
     IShapeFactory shapeFactory,
     IContentManager contentManager,
     IBasicDataService basicDataService,
     IDisplayHelperFactory displayHelperFactory,
     IActivityStreamService streamService,
     IContentItemDescriptorManager contentItemDescriptorManager)
     : base(string.Empty, string.Empty, indexProvider, services, crmContentOwnershipService, transactionManager, extendedContentManager, contentManager, widgetService, themeAwareViewEngine, shapeFactory, displayHelperFactory, basicDataService, contentOwnershipHelper, streamService, contentItemDescriptorManager)
 {
     this.T = NullLocalizer.Instance;
 }
 public CRMCommentController(
     IContentItemDescriptorManager contentItemDescriptorManager,
     IActivityStreamService activityStreamService,
     ICRMContentOwnershipService contentOwnershipService,
     IContentManager contentManager,
     IOrchardServices services,
     IThemeAwareViewEngine themeAwareViewEngine,
     IShapeFactory shapeFactory,
     IDisplayHelperFactory displayHelperFactory,
     IIndexProvider indexProvider)
 {
     this.contentItemDescriptorManager = contentItemDescriptorManager;
     this.activityStreamService        = activityStreamService;
     this.indexProvider           = indexProvider;
     this.contentOwnershipService = contentOwnershipService;
     this.themeAwareViewEngine    = themeAwareViewEngine;
     this.contentManager          = contentManager;
     this.services             = services;
     this.displayHelperFactory = displayHelperFactory;
     this.Shape = shapeFactory;
     this.T     = NullLocalizer.Instance;
 }
 public BaseController(
     string controllerContentType,
     string editMetadataType,
     IIndexProvider indexProvider,
     IOrchardServices services,
     ICRMContentOwnershipService crmContentOwnershipService,
     ITransactionManager transactionManager,
     IExtendedContentManager extendedContentManager,
     IContentManager contentManager,
     IWidgetService widgetService,
     IThemeAwareViewEngine themeAwareViewEngine,
     IShapeFactory shapeFactory,
     IDisplayHelperFactory displayHelperFactory,
     IBasicDataService basicDataService,
     IContentOwnershipHelper contentOwnershipHelper,
     IActivityStreamService streamService,
     IContentItemDescriptorManager contentItemDescriptorManager)
 {
     this.contentItemDescriptorManager = contentItemDescriptorManager;
     this.streamService          = streamService;
     this.indexProvider          = indexProvider;
     this.services               = services;
     this.basicDataService       = basicDataService;
     this.transactionManager     = transactionManager;
     this.ControllerContentType  = controllerContentType;
     this.EditMetadataType       = editMetadataType;
     this.extendedContentManager = extendedContentManager;
     this.contentManager         = contentManager;
     this.widgetService          = widgetService;
     this.themeAwareViewEngine   = themeAwareViewEngine;
     this.displayHelperFactory   = displayHelperFactory;
     this.Shape = shapeFactory;
     this.crmContentOwnershipService = crmContentOwnershipService;
     this.T = NullLocalizer.Instance;
     this.contentOwnershipHelper = contentOwnershipHelper;
 }
 public AttachToMilestoneStreamWriter(IContentItemDescriptorManager contentItemDescriptorManager, IMilestoneService milestoneService)
 {
     this.milestoneService             = milestoneService;
     this.contentItemDescriptorManager = contentItemDescriptorManager;
     this.T = NullLocalizer.Instance;
 }
 public AttachToFolderStreamWriter(IContentItemDescriptorManager contentItemDescriptorManager, IFolderService folderService)
 {
     this.folderService = folderService;
     this.contentItemDescriptorManager = contentItemDescriptorManager;
     this.T = NullLocalizer.Instance;
 }
Example #13
0
 public TitlePartStreamWriter(IContentItemDescriptorManager contentItemDescriptorManager)
 {
     this.contentItemDescriptorManager = contentItemDescriptorManager;
     this.T = NullLocalizer.Instance;
 }