C# 클래스 GSoft.Dynamite.Setup.PageCreator

Adds pages to the Pages library
파일 보기 프로젝트 열기: GSoft-SharePoint/Dynamite-2010 1 사용 예제들

공개 메소드들

메소드 설명
Create ( SPWeb web, PageInfo pageInfo ) : PublishingPage

Creates a page in the Pages library

Create ( SPWeb web, int folderId, PageInfo pageInfo ) : PublishingPage

Creates a page in the Pages library

Create ( SPWeb web, int folderId, SPContentTypeId contentTypeId, string pageLayoutName, string pageTitle, string pageName ) : PublishingPage

Create publishing page in Pages Library

GetPageLayout ( PublishingSite publishingSite, string pageLayoutName, bool excludeObsolete ) : PageLayout

Get the page layout

PageCreator ( FolderRepository folderRepository, ILogger logger ) : System

PageCreator constructor

비공개 메소드들

메소드 설명
EnsureFolderPublish ( SPFolder folder ) : void
GetDefaultContentTypeId ( SPFolder folder ) : string

메소드 상세

Create() 공개 메소드

Creates a page in the Pages library
public Create ( SPWeb web, PageInfo pageInfo ) : PublishingPage
web SPWeb the current web
pageInfo PageInfo the pageInfo of the page
리턴 PublishingPage

Create() 공개 메소드

Creates a page in the Pages library
public Create ( SPWeb web, int folderId, PageInfo pageInfo ) : PublishingPage
web SPWeb The current web
folderId int The folder in which to add the item
pageInfo PageInfo The pageInfo of the page
리턴 PublishingPage

Create() 공개 메소드

Create publishing page in Pages Library
public Create ( SPWeb web, int folderId, SPContentTypeId contentTypeId, string pageLayoutName, string pageTitle, string pageName ) : PublishingPage
web SPWeb the current web
folderId int the current folder id
contentTypeId SPContentTypeId the current content type id
pageLayoutName string the page layout name
pageTitle string the page title
pageName string the page name
리턴 PublishingPage

GetPageLayout() 공개 메소드

Get the page layout
public GetPageLayout ( PublishingSite publishingSite, string pageLayoutName, bool excludeObsolete ) : PageLayout
publishingSite PublishingSite the current publishing site
pageLayoutName string the page layout name
excludeObsolete bool exclude obsolete page layout
리턴 PageLayout

PageCreator() 공개 메소드

PageCreator constructor
public PageCreator ( FolderRepository folderRepository, ILogger logger ) : System
folderRepository GSoft.Dynamite.Repositories.FolderRepository Folder repository
logger ILogger the current logger
리턴 System