Example #1
0
 public GroupController(
     IGroupService groupService,
     IGroupMemberService groupMemberService,
     IMediaHelper mediaHelper,
     IGroupLinkProvider groupLinkProvider,
     IUserService userService,
     IGroupMediaService groupMediaService,
     IIntranetUserService <IGroupMember> intranetUserService,
     IProfileLinkProvider profileLinkProvider,
     UmbracoHelper umbracoHelper,
     IDocumentTypeAliasProvider documentTypeAliasProvider,
     IImageHelper imageHelper,
     IGroupPermissionsService groupPermissionsService,
     ICommandPublisher commandPublisher)
     : base(
         groupService,
         groupMemberService,
         mediaHelper,
         groupMediaService,
         intranetUserService,
         profileLinkProvider,
         groupLinkProvider,
         imageHelper,
         commandPublisher)
 {
     _intranetUserService       = intranetUserService;
     _umbracoHelper             = umbracoHelper;
     _documentTypeAliasProvider = documentTypeAliasProvider;
     _groupPermissionsService   = groupPermissionsService;
 }
 public GroupFeedLinkProvider(
     IActivityPageHelper activityPageHelper,
     IProfileLinkProvider profileLinkProvider,
     IGroupLinkProvider groupLinkProvider)
     : base(activityPageHelper, profileLinkProvider)
 {
     _groupLinkProvider = groupLinkProvider;
 }
Example #3
0
 protected GroupsSectionControllerBase(
     IGroupService groupsService,
     IGroupLinkProvider groupLinkProvider,
     IIntranetUserService <IIntranetUser> intranetUserService,
     ICommandPublisher commandPublisher)
 {
     _groupsService       = groupsService;
     _groupLinkProvider   = groupLinkProvider;
     _intranetUserService = intranetUserService;
     _commandPublisher    = commandPublisher;
 }
 public NotifierDataHelper(
     IActivityLinkService linkService,
     ICommentLinkHelper commentLinkHelper,
     IGroupService groupService,
     IGroupLinkProvider groupLinkProvider
     )
 {
     _linkService       = linkService;
     _commentLinkHelper = commentLinkHelper;
     _groupService      = groupService;
     _groupLinkProvider = groupLinkProvider;
 }
 public GroupMemberService(
     ISqlRepository <GroupMember> groupMemberRepository,
     ICacheableIntranetMemberService memberCacheService,
     IMediaHelper mediaHelper,
     IGroupService groupService,
     IGroupMediaService groupMediaService,
     IGroupLinkProvider groupLinkProvider)
     : base(groupMemberRepository)
 {
     _groupMemberRepository = groupMemberRepository;
     _memberCacheService    = memberCacheService;
     _mediaHelper           = mediaHelper;
     _groupService          = groupService;
     _groupMediaService     = groupMediaService;
     _groupLinkProvider     = groupLinkProvider;
 }
Example #6
0
 protected GroupControllerBase(
     IGroupService groupService,
     IGroupMemberService groupMemberService,
     IMediaHelper mediaHelper,
     IGroupMediaService groupMediaService,
     IIntranetMemberService <IGroupMember> memberService,
     IProfileLinkProvider profileLinkProvider,
     IGroupLinkProvider groupLinkProvider,
     IImageHelper imageHelper,
     ICommandPublisher commandPublisher)
 {
     _groupService        = groupService;
     _groupMemberService  = groupMemberService;
     _mediaHelper         = mediaHelper;
     _groupMediaService   = groupMediaService;
     _memberService       = memberService;
     _profileLinkProvider = profileLinkProvider;
     _groupLinkProvider   = groupLinkProvider;
     _imageHelper         = imageHelper;
     _commandPublisher    = commandPublisher;
 }
Example #7
0
 public GroupController(
     IGroupService groupService,
     IGroupMemberService groupMemberService,
     IMediaHelper mediaHelper,
     IGroupMediaService groupMediaService,
     IIntranetMemberService <IntranetMember> intranetMemberService,
     IImageHelper imageHelper,
     ICommandPublisher commandPublisher,
     IMediaModelService mediaModelService,
     IGroupLinkProvider groupLinkProvider)
 {
     _groupService       = groupService;
     _groupMemberService = groupMemberService;
     _mediaHelper        = mediaHelper;
     _memberService      = intranetMemberService;
     _groupMediaService  = groupMediaService;
     _imageHelper        = imageHelper;
     _commandPublisher   = commandPublisher;
     _mediaModelService  = mediaModelService;
     _groupLinkProvider  = groupLinkProvider;
 }
        public NavigationController(
            ILeftSideNavigationModelBuilder leftSideNavigationModelBuilder,
            ISubNavigationModelBuilder subNavigationModelBuilder,
            ITopNavigationModelBuilder topNavigationModelBuilder,
            ICentralFeedContentService centralFeedContentService,
            ISystemLinksModelBuilder systemLinksModelBuilder,
            IDocumentTypeAliasProvider documentTypeAliasProvider,
            IGroupService groupService,
            IGroupFeedContentService groupFeedContentService,
            IIntranetUserService <IntranetUser> intranetUserService,
            IGroupLinkProvider groupLinkProvider,
            IGroupContentProvider groupContentProvider,
            IGroupHelper groupHelper,
            ICentralFeedHelper centralFeedHelper,
            IProfileLinkProvider profileLinkProvider,
            IPermissionsService permissionsService,
            IUserService userService,
            IGroupContentProvider contentProvider)
            : base(
                leftSideNavigationModelBuilder,
                subNavigationModelBuilder,
                topNavigationModelBuilder,
                systemLinksModelBuilder,
                intranetUserService,
                profileLinkProvider,
                permissionsService,
                userService)
        {
            _documentTypeAliasProvider = documentTypeAliasProvider;
            _groupService              = groupService;
            _groupFeedContentService   = groupFeedContentService;
            _intranetUserService       = intranetUserService;
            _groupLinkProvider         = groupLinkProvider;
            _groupContentProvider      = groupContentProvider;
            _subNavigationModelBuilder = subNavigationModelBuilder;
            _groupHelper       = groupHelper;
            _centralFeedHelper = centralFeedHelper;

            SystemLinksContentXPath = $"root/{_documentTypeAliasProvider.GetDataFolder()}[@isDoc]/{_documentTypeAliasProvider.GetSystemLinkFolder()}[@isDoc]/{_documentTypeAliasProvider.GetSystemLink()}[@isDoc]";
        }
Example #9
0
 public GroupHelper(
     IGroupService groupService,
     IGroupLinkProvider groupLinkProvider,
     IGroupMemberService groupMemberService,
     IIntranetMemberService <IntranetMember> memberService,
     IImageHelper imageHelper,
     IMediaModelService mediaModelService,
     ILightboxHelper lightboxHelper,
     INodeModelService nodeModelService,
     IPermissionsService permissionsService)
 {
     _groupService       = groupService;
     _groupLinkProvider  = groupLinkProvider;
     _groupMemberService = groupMemberService;
     _memberService      = memberService;
     _groupLinkProvider  = groupLinkProvider;
     _imageHelper        = imageHelper;
     _mediaModelService  = mediaModelService;
     _groupService       = groupService;
     _lightboxHelper     = lightboxHelper;
     _nodeModelService   = nodeModelService;
     _permissionsService = permissionsService;
 }
 public DisabledGroupActionFilter()
 {
     _groupService      = HttpContext.Current.GetService <IGroupService>();
     _groupLinkProvider = HttpContext.Current.GetService <IGroupLinkProvider>();
 }
 public GroupsSectionController(IGroupService groupsService, IGroupLinkProvider groupLinkProvider, IIntranetUserService <IIntranetUser> intranetUserService, ICommandPublisher commandPublisher)
     : base(groupsService, groupLinkProvider, intranetUserService, commandPublisher)
 {
 }
Example #12
0
 public FeedActivityHelper(IGroupActivityService groupActivityService, IGroupService groupService, IGroupLinkProvider groupLinkProvider)
 {
     _groupActivityService = groupActivityService;
     _groupService         = groupService;
     _groupLinkProvider    = groupLinkProvider;
 }