public ImplementSectionEditorController(IBackOfficeRequestContext requestContext) 
     : base(requestContext)
 {
     _templateStore = BackOfficeRequestContext
         .Application
         .Hive
         .GetReader<IFileStore>(new Uri("storage://templates"));
 }
 public InsertPartialEditorController(IBackOfficeRequestContext requestContext)
     : base(requestContext)
 {
     _partialsStore = BackOfficeRequestContext
                      .Application
                      .Hive
                      .GetReader <IFileStore>(new Uri("storage://partials"));
 }
 //BUG: Well, not sure if this is a bug or not really but there's currently only 1 way to get the root HiveId for an IO
 // entity and thats to get Hive to return the entity based on a '/' Id.
 public static HiveId GetRootNodeId(this ReadonlyGroupUnitFactory <IFileStore> factory)
 {
     using (var uow = factory.CreateReadonly())
     {
         var e = uow.Repositories.Get <File>(new HiveId("/"));
         return(e.Id);
     }
 }
 public InsertPartialEditorController(IBackOfficeRequestContext requestContext) 
     : base(requestContext)
 {
     _partialsStore = BackOfficeRequestContext
         .Application
         .Hive
         .GetReader<IFileStore>(new Uri("storage://partials"));
 }
Beispiel #5
0
 public ImplementSectionEditorController(IBackOfficeRequestContext requestContext)
     : base(requestContext)
 {
     _templateStore = BackOfficeRequestContext
                      .Application
                      .Hive
                      .GetReader <IFileStore>(new Uri("storage://templates"));
 }
        public DictionaryEditorController(IBackOfficeRequestContext requestContext)
            : base(requestContext)
        {
            _hive         = BackOfficeRequestContext.Application.Hive.GetWriter(new Uri("dictionary://"));
            _readonlyHive = BackOfficeRequestContext.Application.Hive.GetReader <IContentStore>();

            Mandate.That(_hive != null, x => new NullReferenceException("Could not find hive provider for route dictionary://"));
        }
 public MemberEditorModel(ReadonlyGroupUnitFactory hive)
 {
     Hive = hive;
 }
 public InsertFieldEditorController(IBackOfficeRequestContext requestContext) 
     : base(requestContext)
 {
     _contentStore = BackOfficeRequestContext.Application.Hive.GetReader<IContentStore>();
 }
 public InsertFieldEditorController(IBackOfficeRequestContext requestContext)
     : base(requestContext)
 {
     _contentStore = BackOfficeRequestContext.Application.Hive.GetReader <IContentStore>();
 }
Beispiel #10
0
 public UserEditorModel(ReadonlyGroupUnitFactory hive)
     : base(hive)
 {
     ConfirmPassword = Password;
     UserGroups      = new List <HiveId>();
 }
 public MemberEditorModel(ReadonlyGroupUnitFactory hive)
 {
     Hive = hive;
 }