Beispiel #1
0
        public static void BackupChannelsAndContents(int publishmentSystemId, string filePath)
        {
            var exportObject = new ExportObject(publishmentSystemId);

            var nodeIdList = DataProvider.NodeDao.GetNodeIdListByParentId(publishmentSystemId, publishmentSystemId);

            exportObject.ExportChannels(nodeIdList, filePath);
        }
Beispiel #2
0
        public static void BackupChannelsAndContents(int siteId, string filePath, string adminName)
        {
            var exportObject = new ExportObject(siteId, adminName);

            var channelIdList = ChannelManager.GetChannelIdList(ChannelManager.GetChannelInfo(siteId, siteId), EScopeType.Children, string.Empty, string.Empty, string.Empty);

            exportObject.ExportChannels(channelIdList, filePath);
        }
Beispiel #3
0
        public static void BackupChannelsAndContents(int siteId, string filePath)
        {
            var exportObject = new ExportObject(siteId);

            var channelIdList = DataProvider.ChannelDao.GetIdListByParentId(siteId, siteId);

            exportObject.ExportChannels(channelIdList, filePath);
        }