public SearchController( IProjectService projectService, IContentDefinitionManager contentDefinitionManager, ICRMContentOwnershipService contentOwnershipService, IProjectSearchService projectSearchService, IOrchardServices services, IContentManager contentManager, ISiteService siteService, IShapeFactory shapeFactory) { this.contentDefinitionManager = contentDefinitionManager; this.projectService = projectService; this.contentOwnershipService = contentOwnershipService; Services = services; _projectSearchService = projectSearchService; _contentManager = contentManager; _siteService = siteService; T = NullLocalizer.Instance; Logger = NullLogger.Instance; Shape = shapeFactory; searchFieldsBasedOnContentType.Add("Ticket", new[] { CRMCommentsPart.CommentsFieldName, TicketPart.DescriptionFieldName, TicketPart.TitleFieldName }); searchFieldsBasedOnContentType.Add(ContentTypes.DiscussionContentType, new[] { CRMCommentsPart.CommentsFieldName, FieldNames.BodyFieldName, FieldNames.TitleFieldName }); searchFieldsBasedOnContentType.Add(ContentTypes.WikiItemType, new[] { CRMCommentsPart.CommentsFieldName, FieldNames.BodyFieldName, FieldNames.TitleFieldName }); searchFieldsBasedOnContentType.Add(ContentTypes.FolderContentType, new[] { CRMCommentsPart.CommentsFieldName, FieldNames.TitleFieldName }); }
public UserController( IMasterDetailPermissionManager masterDetailPermissionManager, IIndexProvider indexProvider, IContentOwnershipHelper contentOwnershipHelper, IExtendedProjectService projectService, IHelperService helperService, IOrchardServices services, IActivityStreamService activityStreamService, ICRMContentOwnershipService contentOwnershipService, IBasicDataService basicDataService, IMembershipService membershipService, IUserService userService, IShapeFactory shapeFactory, IEnumerable <IUserEventHandler> userEventHandlers, ISiteService siteService) { this.masterDetailPermissionManager = masterDetailPermissionManager; this.indexProvider = indexProvider; this.contentOwnershipHelper = contentOwnershipHelper; this.projectService = projectService; this.activityStreamService = activityStreamService; this.contentOwnershipService = contentOwnershipService; this.basicDataService = basicDataService; this.services = services; this.helperService = helperService; _membershipService = membershipService; _userService = userService; _userEventHandlers = userEventHandlers; _siteService = siteService; T = NullLocalizer.Instance; Shape = shapeFactory; }
public bool CanApply(IContent content, ICRMContentOwnershipService contentOwnershipService) { var folderPart = content.As <FolderPart>(); var attachToFolder = content.As <AttachToFolderPart>(); return(folderPart != null || attachToFolder != null); }
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 CreateTicketActivity( IRepository <UserPartRecord> userRepository, IActivityStreamService activityStreamService, IFileService fileService, ITokenizer tokenizer, IContentOwnershipHelper contentOwnershipHelper, ICRMContentOwnershipService contentOwnershipService, IContentDefinitionManager contentDefinitionManager, IContentManager contentManager, IBasicDataService basicDataService, IRepository <TicketIdentityRecord> ticketIdentityRecordRepository, IRepository <ContentItemPermissionDetailRecord> contentItemPermissionDetailRepository) { this.userRepository = userRepository; this.fileService = fileService; this.contentDefinitionManager = contentDefinitionManager; this.contentOwnershipHelper = contentOwnershipHelper; this.tokenizer = tokenizer; this.ticketIdentityRecordRepository = ticketIdentityRecordRepository; this.contentOwnershipService = contentOwnershipService; this.basicDataService = basicDataService; this.contentItemPermissionDetailRepository = contentItemPermissionDetailRepository; this.contentManager = contentManager; this.activityStreamService = activityStreamService; T = NullLocalizer.Instance; Logger = NullLogger.Instance; }
public AttachToProjectStreamWriter(IContentItemDescriptorManager contentItemDescriptorManager, IProjectService projectService, ICRMContentOwnershipService contentOwnershipService) { this.contentOwnershipService = contentOwnershipService; this.projectService = projectService; this.contentItemDescriptorManager = contentItemDescriptorManager; this.T = NullLocalizer.Instance; }
public ContentOwnershipController( IMasterDetailPermissionManager masterDetailPermissionManager, IBasicDataService basicDataService, IActivityStreamService activityStreamService, IWorkContextAccessor workContextAccessor, IIndexProvider indexProvider, IOrchardServices orchardServices, IWidgetService widgetService, ICRMContentOwnershipService contentOwnershipService, IContentOwnershipHelper contentOwnershipHelper, IRepository <UserRolesPartRecord> userRolesRepository, IRepository <ContentItemPermissionDetailRecord> permissionDetailRecordRepository) { this.masterDetailPermissionManager = masterDetailPermissionManager; this.basicDataService = basicDataService; this.activityStreamService = activityStreamService; this.workContextAccessor = workContextAccessor; this.indexProvider = indexProvider; this.T = NullLocalizer.Instance; this.contentOwnershipHelper = contentOwnershipHelper; this.userRolesRepository = userRolesRepository; this.contentOwnershipService = contentOwnershipService; this.orchardServices = orchardServices; this.widgetService = widgetService; this.permissionDetailRecordRepository = permissionDetailRecordRepository; }
public ContentItemPermissionDriver(IProjectService projectService, ICRMContentOwnershipService contentOwnershipService, IOrchardServices orchardServices, IContentOwnershipHelper contentOwnershipHelper) { this.T = NullLocalizer.Instance; this.contentOwnershipHelper = contentOwnershipHelper; this.orchardServices = orchardServices; this.contentOwnershipService = contentOwnershipService; this.projectService = projectService; }
public FolderDriver( IExtendedProjectService projectService, IHelperService helperService, IFolderService folderService, ICRMContentOwnershipService contentOwnershipService, IOrchardServices services) : base(contentOwnershipService, projectService, services, helperService, folderService) { }
public SidebarDashboardDriver( ICRMContentOwnershipService crmContentOwnershipService, IContentDefinitionManager contentDefinitionManager, IOrchardServices orchardServices, ISiteService siteService, IFeedManager feedManager, IContainerService containerService) : base(crmContentOwnershipService, contentDefinitionManager, orchardServices, siteService, feedManager, containerService) { }
public SuiteCRMProjectDriver( IOrchardServices services, IWorkContextAccessor workContextAccessor, ICRMContentOwnershipService contentOwnershipService) { this.contentOwnershipService = contentOwnershipService; this.workContextAccessor = workContextAccessor; this.services = services; }
public ProjectTitleAndMenuDriver( IFolderService folderService, IOrchardServices services, IExtendedProjectService projectService, IHelperService helperService, ICRMContentOwnershipService contentOwnershipService) : base(contentOwnershipService, projectService, services, helperService, folderService) { this.extendedProjectService = projectService; }
public VisitController( IOrchardServices services, ICRMContentOwnershipService crmContentOwnershipService, IActivityNotificationService activityNotificationService) { this.activityNotificationService = activityNotificationService; this.crmContentOwnershipService = crmContentOwnershipService; this.services = services; T = NullLocalizer.Instance; }
public ContentItemPermissionFilter( IOrchardServices orchardServices, IBasicDataService basicDataService, ICRMContentOwnershipService contentOwnershipService) { this.contentOwnershipService = contentOwnershipService; this.orchardServices = orchardServices; this.basicDataService = basicDataService; this.T = NullLocalizer.Instance; }
public SuiteCRMTaskDriver( ISuiteCRMDataService suiteCRMDataService, IOrchardServices services, IWorkContextAccessor workContextAccessor, ICRMContentOwnershipService contentOwnershipService) { this.suiteCRMDataService = suiteCRMDataService; this.contentOwnershipService = contentOwnershipService; this.workContextAccessor = workContextAccessor; this.services = services; }
public GenericDashboardDriver( IContentDefinitionManager contentDefinitionManager, IOrchardServices orchardServices, ICRMContentOwnershipService crmContentOwnershipService, ISiteService siteService, IFeedManager feedManager, IContainerService containerService) : base(crmContentOwnershipService, contentDefinitionManager, orchardServices, siteService, feedManager, containerService) { // display all the items in the Dashboard pageSize = -1; }
public AttachToMilestoneDriver( IMilestoneService milestoneService, ICRMContentOwnershipService contentOwnershipService, IExtendedProjectService projectService, IOrchardServices services, IHelperService helperService, IFolderService folderService) : base(contentOwnershipService, projectService, services, helperService, folderService) { this.milestoneService = milestoneService; }
public ProjectDetailPermissionProvider( IContentManager contentManager, IRepository <ContentItemPermissionDetailRecord> permissionDetailRecordRepository, ICRMContentOwnershipService crmContentOwnershipService, IContentOwnershipHelper contentOwnershipHelper) { this.permissionDetailRecordRepository = permissionDetailRecordRepository; this.contentOwnershipHelper = contentOwnershipHelper; this.crmContentOwnershipService = crmContentOwnershipService; this.contentManager = contentManager; }
public TicketMenuItemDriver( IOrchardServices services, IContentOwnershipHelper contentOwnershipHelper, ICRMContentOwnershipService contentOwnershipService, IBasicDataService basicDataService) : base(services) { this.contentOwnershipHelper = contentOwnershipHelper; this.basicDataService = basicDataService; this.contentOwnershipService = contentOwnershipService; this.T = NullLocalizer.Instance; }
public BasicDataSelectForm( ICRMContentOwnershipService crmContentOwnershipService, ITagBuilderFactory tagBuilderFactory, IBasicDataService basicDataService, ITokenizer tokenizer) { this.crmContentOwnershipService = crmContentOwnershipService; this.basicDataService = basicDataService; this.tokenizer = tokenizer; this.tagBuilderFactory = tagBuilderFactory; this.T = NullLocalizer.Instance; }
public ProjectListDriver( IHelperService helperService, IProjectService projectService, ICRMContentOwnershipService contentOwnershipService, IOrchardServices services) { this.helperService = helperService; this.services = services; this.contentOwnershipService = contentOwnershipService; this.projectService = projectService; this.T = NullLocalizer.Instance; }
public TicketDriver( IBasicDataService basicDataService, ICRMContentOwnershipService contentOwnershipService, IOrchardServices orchardServices, IRepository <TicketIdentityRecord> ticketIdentityRecordRepository) { this.basicDataService = basicDataService; this.ticketIdentityRecordRepository = ticketIdentityRecordRepository; this.orchardServices = orchardServices; this.contentOwnershipService = contentOwnershipService; this.T = NullLocalizer.Instance; }
public MilestoneDriver( IBasicDataService basicDataService, IMilestoneService milestoneService, IExtendedProjectService projectService, IHelperService helperService, IFolderService folderService, ICRMContentOwnershipService contentOwnershipService, IOrchardServices services) : base(contentOwnershipService, projectService, services, helperService, folderService) { this.basicDataService = basicDataService; this.milestoneService = milestoneService; }
public FileUploadPartDriver( ICRMContentOwnershipService crmContentOwnershipService, IMediaLibraryService mediaService, IAliasService aliasService, IStorageProvider storageProvider, ITokenizer tokenizer) { this.crmContentOwnershipService = crmContentOwnershipService; this.storageProvider = storageProvider; _mediaService = mediaService; _aliasService = aliasService; _tokenizer = tokenizer; }
/// <summary> /// The base class for FolderDriver and ProjectTitleAndMenuDriver. /// </summary> public MenuBaseDriver( ICRMContentOwnershipService contentOwnershipService, IExtendedProjectService projectService, IOrchardServices services, IHelperService helperService, IFolderService folderService) { this.contentOwnershipService = contentOwnershipService; this.projectService = projectService; this.helperService = helperService; this.folderService = folderService; this.services = services; this.T = NullLocalizer.Instance; }
public DashboardDriver( ICRMContentOwnershipService crmContentOwnershipService, IOrchardServices orchardServices, IGroupQuery groupQuery, IBasicDataService basicDataService, IProjectionManagerWithDynamicSort projectionManagerWithDynamicSort ) : base(orchardServices) { this.crmContentOwnershipService = crmContentOwnershipService; this.groupQuery = groupQuery; this.projectionManagerWithDynamicSort = projectionManagerWithDynamicSort; this.basicDataService = basicDataService; }
public FolderService( IContentDefinitionManager contentDefinitionManager, ISiteService siteService, IOrchardServices services, ICRMContentOwnershipService crmContentOwnershipService, IProjectionManagerWithDynamicSort projectionManagerWithDynamicSort) : base(services, projectionManagerWithDynamicSort) { this.contentDefinitionManager = contentDefinitionManager; this.siteService = siteService; this.crmContentOwnershipService = crmContentOwnershipService; this.Logger = NullLogger.Instance; this.T = NullLocalizer.Instance; }
public TicketsForContentItemDriver( IWorkContextAccessor workContextAccessor, IOrchardServices services, ISearchTicketService searchTicketService, ICRMContentOwnershipService crmContentOwnershipService, IGroupQuery groupQuery, IBasicDataService basicDataService) : base(services) { this.searchTicketService = searchTicketService; this.workContextAccessor = workContextAccessor; this.crmContentOwnershipService = crmContentOwnershipService; this.groupQuery = groupQuery; this.basicDataService = basicDataService; }
public ProjectDriver( IMenuService menuService, IExtendedProjectService projectService, IProjectionManagerWithDynamicSort projectionWithDynamicSort, IActivityStreamService activityStreamService, ICRMContentOwnershipService contentOwnershipService, IOrchardServices services) { this.menuService = menuService; this.contentOwnershipService = contentOwnershipService; this.projectionWithDynamicSort = projectionWithDynamicSort; this.services = services; this.activityStreamService = activityStreamService; this.projectService = projectService; }
public CreateTicketActivityForm( IProjectService projectService, IBasicDataService basicDataService, IContentOwnershipHelper contentOwnershipHelper, ICRMContentOwnershipService contentOwnershipService, IShapeFactory shapeFactory, IContentManager contentManager) { this.contentOwnershipHelper = contentOwnershipHelper; this.contentOwnershipService = contentOwnershipService; this.basicDataService = basicDataService; this.contentManager = contentManager; this.projectService = projectService; this.Shape = shapeFactory; this.T = NullLocalizer.Instance; }