Ejemplo n.º 1
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;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Reload the <see cref="Schema" /> with the specified <see cref="T:Tridion.ContentManager.CoreService.Client.SchemaData" />
        /// </summary>
        /// <param name="schemaData"><see cref="T:Tridion.ContentManager.CoreService.Client.SchemaData" /></param>
        protected void Reload(SchemaData schemaData)
        {
            if (schemaData == null)
                throw new ArgumentNullException("schemaData");

            mSchemaData = schemaData;
            base.Reload(schemaData);

            mAllowedMultimediaTypes = null;
            mComponentProcess = null;
            mBundleProcess = null;
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Reload the <see cref="Repository" /> with the specified <see cref="T:Tridion.ContentManager.CoreService.Client.RepositoryData" />
        /// </summary>
        /// <param name="repositoryData"><see cref="T:Tridion.ContentManager.CoreService.Client.RepositoryData" /></param>
        protected void Reload(RepositoryData repositoryData)
        {
            if (repositoryData == null)
                throw new ArgumentNullException("repositoryData");

            mRepositoryData = repositoryData;
            base.Reload(repositoryData);

            mAccessControlList = null;
            mDefaultMultimediaSchema = null;
            mLocation = null;
            mMetadataSchema = null;
            mParents = null;
            mRootFolder = null;
            mTaskProcess = null;
        }
Ejemplo n.º 4
0
        /// <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;
        }