예제 #1
0
        /// <summary>
        /// Reload the <see cref="Page" /> with the specified <see cref="T:Tridion.ContentManager.CoreService.Client.PageData" />
        /// </summary>
        /// <param name="pageData"><see cref="T:Tridion.ContentManager.CoreService.Client.PageData" /></param>
        protected void Reload(PageData pageData)
        {
            if (pageData == null)
                throw new ArgumentNullException("pageData");

            mPageData = pageData;
            base.Reload(pageData);

            mApprovalStatus = null;
            mComponentPresentations = null;
            mPageTemplate = null;
            mRegionSchema = null;
            mWorkflow = null;
        }
예제 #2
0
        /// <summary>
        /// Reload the <see cref="Publication" /> with the specified <see cref="T:Tridion.ContentManager.CoreService.Client.PublicationData" />
        /// </summary>
        /// <param name="publicationData"><see cref="T:Tridion.ContentManager.CoreService.Client.PublicationData" /></param>
        protected void Reload(PublicationData publicationData)
        {
            if (publicationData == null)
                throw new ArgumentNullException("publicationData");

            mPublicationData = publicationData;
            base.Reload(publicationData);

            mComponentSnapshotTemplate = null;
            mComponentTemplateProcess = null;
            mDefaultComponentTemplate = null;
            mDefaultPageTemplate = null;
            mDefaultTemplateBuildingBlock = null;
            mPageSnapshotTemplate = null;
            mPageTemplateProcess = null;
            mTemplateBundleProcess = null;
            mRootStructureGroup = null;
        }
        /// <summary>
        /// Reload the <see cref="StructureGroup" /> with the specified <see cref="T:Tridion.ContentManager.CoreService.Client.StructureGroupData" />
        /// </summary>
        /// <param name="structureGroupData"><see cref="T:Tridion.ContentManager.CoreService.Client.StructureGroupData" /></param>
        protected void Reload(StructureGroupData structureGroupData)
        {
            if (structureGroupData == null)
                throw new ArgumentNullException("structureGroupData");

            mStructureGroupData = structureGroupData;
            base.Reload(structureGroupData);

            mDefaultPageTemplate = null;
            mPageBundleProcess = null;
            mPageProcess = null;
        }