Beispiel #1
0
 public ContentMigrationController()
 {
     _sitecore         = Bootstrap.Container.Resolve <ISitecoreAccessService>();
     _registration     = Bootstrap.Container.Resolve <IScsRegistrationService>();
     _migrationManager = Bootstrap.Container.Resolve <IContentMigrationManagerService>();
     _remoteContent    = Bootstrap.Container.Resolve <IRemoteContentService>();
 }
 public ContentItemPuller()
 {
     _remoteContent            = Bootstrap.Container.Resolve <IRemoteContentService>();
     _yamlSerializationService = Bootstrap.Container.Resolve <IYamlSerializationService>();
     _sitecore = Bootstrap.Container.Resolve <ISitecoreDataAccessService>();
     _log      = Bootstrap.Container.Resolve <ILoggingService>();
 }
Beispiel #3
0
 protected ContentMigrationController(ISitecoreAccessService sitecore, IScsRegistrationService registration, IContentMigrationManagerService migrationManager, IRemoteContentService remoteContent)
 {
     _sitecore         = sitecore;
     _registration     = registration;
     _migrationManager = migrationManager;
     _remoteContent    = remoteContent;
 }
Beispiel #4
0
 public ContentMigration(IContentItemPuller puller, IContentItemInstaller installer, IRemoteContentService remoteContent, ISitecoreAccessService sitecoreAccess, IScsRegistrationService registration)
 {
     _puller         = puller;
     _installer      = installer;
     _remoteContent  = remoteContent;
     _sitecoreAccess = sitecoreAccess;
     _registration   = registration;
 }
Beispiel #5
0
 public ContentMigration()
 {
     _remoteContent  = Bootstrap.Container.Resolve <IRemoteContentService>();
     _sitecoreAccess = Bootstrap.Container.Resolve <ISitecoreAccessService>();
     _registration   = Bootstrap.Container.Resolve <IScsRegistrationService>();
     _puller         = new ContentItemPuller();
     _installer      = new ContentItemInstaller();
 }
        public CompareContentTreeNode(IItemData item, bool open = true) : base(item, open)
        {
            SortedSet <string> tmp = new SortedSet <string>(_sitecoreAccessService.GetVersions(item));

            Revision       = string.Join("", tmp);
            Checksum       = ContentMigrationRegistration.GetChecksum(item.Id.ToString());
            _remoteContent = Bootstrap.Container.Resolve <IRemoteContentService>();
        }
Beispiel #7
0
 public ContentMigrationController()
 {
     _sitecore                 = Bootstrap.Container.Resolve <ISitecoreDataAccessService>();
     _registration             = Bootstrap.Container.Resolve <IScsRegistrationService>();
     _migrationManager         = Bootstrap.Container.Resolve <IContentMigrationManagerService>();
     _remoteContent            = Bootstrap.Container.Resolve <IRemoteContentService>();
     _yamlSerializationService = Bootstrap.Container.Resolve <IYamlSerializationService>();
     _checksumManager          = Bootstrap.Container.Resolve <IChecksumManager>();
 }
Beispiel #8
0
        public CompareContentTreeNode(Item item, bool open = true) : base(item, open)
        {
            SortedSet <string> tmp = new SortedSet <string>();

            foreach (Item version in item.Versions.GetVersions(true))
            {
                tmp.Add(version[FieldIDs.Revision]);
            }
            Revision       = string.Join("", tmp);
            Checksum       = ContentMigrationRegistration.GetChecksum(item.ID.ToString());
            _remoteContent = Bootstrap.Container.Resolve <IRemoteContentService>();
        }
Beispiel #9
0
 public ChildrenItemDataModel()
 {
     _remote = Bootstrap.Container.Resolve <IRemoteContentService>();
 }
 public ContentItemPuller(IRemoteContentService remoteContent)
 {
     _remoteContent = remoteContent;
 }
 public ContentItemPuller()
 {
     _remoteContent = Bootstrap.Container.Resolve <IRemoteContentService>();
 }
Beispiel #12
0
 public ChildrenItemDataModel(IRemoteContentService remote)
 {
     _remote = remote;
 }
 public CompareContentTreeNode()
 {
     _remoteContent         = Bootstrap.Container.Resolve <IRemoteContentService>();
     _sitecoreAccessService = Bootstrap.Container.Resolve <ISitecoreDataAccessService>();
 }
Beispiel #14
0
 public CompareContentTreeNode(IRemoteContentService remoteContent)
 {
     _remoteContent = remoteContent;
 }
Beispiel #15
0
 public CompareContentTreeNode()
 {
     _remoteContent = Bootstrap.Container.Resolve <IRemoteContentService>();
 }