示例#1
0
        /// <summary>
        /// Reload the <see cref="Component" /> with the specified <see cref="T:Tridion.ContentManager.CoreService.Client.ComponentData" />
        /// </summary>
        /// <param name="componentData"><see cref="T:Tridion.ContentManager.CoreService.Client.ComponentData" /></param>
        protected void Reload(ComponentData componentData)
        {
            if (componentData == null)
                throw new ArgumentNullException("componentData");

            mComponentData = componentData;
            base.Reload(componentData);

            mApprovalStatus = null;
            mSchema = null;

            mBinaryContent = null;
            mWorkflow = null;
        }
        /// <summary>
        /// Reload the <see cref="RepositoryLocalObject" /> with the specified <see cref="T:Tridion.ContentManager.CoreService.Client.RepositoryLocalObjectData" />
        /// </summary>
        /// <param name="repositoryLocalObjectData"><see cref="T:Tridion.ContentManager.CoreService.Client.RepositoryLocalObjectData" /></param>
        protected void Reload(RepositoryLocalObjectData repositoryLocalObjectData)
        {
            if (repositoryLocalObjectData == null)
                throw new ArgumentNullException("repositoryLocalObjectData");

            mRepositoryLocalObjectData = repositoryLocalObjectData;
            base.Reload(repositoryLocalObjectData);

            mLocation = null;
            mLockInfo = null;
            mBluePrint = null;

            mMetadataSchema = null;
            mCreator = null;
        }
        /// <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;
        }
        /// <summary>
        /// Reload the <see cref="VirtualFolder" /> with the specified <see cref="T:Tridion.ContentManager.CoreService.Client.VirtualFolderData" />
        /// </summary>
        /// <param name="folderData"><see cref="T:Tridion.ContentManager.CoreService.Client.VirtualFolderData" /></param>
        protected void Reload(VirtualFolderData virtualFolderData)
        {
            if (virtualFolderData == null)
                throw new ArgumentNullException("virtualFolderData");

            mVirtualFolderData = virtualFolderData;
            base.Reload(virtualFolderData);

            mApprovalStatus = null;
            mTypeSchema = null;
            mWorkflow = null;
        }
示例#5
0
        /// <summary>
        /// Reload the <see cref="Template" /> with the specified <see cref="T:Tridion.ContentManager.CoreService.Client.TemplateData" />
        /// </summary>
        /// <param name="templateData"><see cref="T:Tridion.ContentManager.CoreService.Client.TemplateData" /></param>
        protected void Reload(TemplateData templateData)
        {
            if (templateData == null)
                throw new ArgumentNullException("templateData");

            mTemplateData = templateData;
            base.Reload(templateData);

            mBinaryContent = null;
            mParameterSchema = null;
        }
示例#6
0
        /// <summary>
        /// Reload the <see cref="Folder" /> with the specified <see cref="T:Tridion.ContentManager.CoreService.Client.FolderData" />
        /// </summary>
        /// <param name="folderData"><see cref="T:Tridion.ContentManager.CoreService.Client.FolderData" /></param>
        protected void Reload(FolderData folderData)
        {
            if (folderData == null)
                throw new ArgumentNullException("folderData");

            mFolderData = folderData;
            base.Reload(folderData);

            mLinkedSchema = null;
        }
        /// <summary>
        /// Reload the <see cref="PageTemplate" /> with the specified <see cref="T:Tridion.ContentManager.CoreService.Client.PageTemplateData" />
        /// </summary>
        /// <param name="pageTemplateData"><see cref="T:Tridion.ContentManager.CoreService.Client.PageTemplateData" /></param>
        protected void Reload(PageTemplateData pageTemplateData)
        {
            if (pageTemplateData == null)
                throw new ArgumentNullException("pageTemplateData");

            mPageTemplateData = pageTemplateData;
            base.Reload(pageTemplateData);

            mApprovalStatus = null;
            mPageSchema = null;
            mWorkflow = null;
        }
示例#8
0
        /// <summary>
        /// Reload the <see cref="Category" /> with the specified <see cref="T:Tridion.ContentManager.CoreService.Client.CategoryData" />
        /// </summary>
        /// <param name="categoryData"><see cref="T:Tridion.ContentManager.CoreService.Client.CategoryData" /></param>
        protected void Reload(CategoryData categoryData)
        {
            if (categoryData == null)
                throw new ArgumentNullException("categoryData");

            mCategoryData = categoryData;
            base.Reload(categoryData);

            mAllowedParentCategories = null;
            mKeywordMetadataSchema = null;
        }