C# 클래스 Sitecore.SharedSource.Commons.Utilities.CreateItem

Operations related to creating new items and first checking to see if the item already exists
상속: ICreateItem
파일 보기 프로젝트 열기: Velir/Sitecore-Commons 1 사용 예제들

공개 메소드들

메소드 설명
CreateChild ( ) : ID

Creates the child.

CreateItem ( ID parentId, string cleanName, ID templateId, string dbName ) : System.Linq
CreateItem ( ID parentId, string cleanName, ID templateId, string dbName, Language language ) : System.Linq
GetChild ( ) : ID

Gets the child.

The algorithm is important for performs a) first get the parent item b) then check its children to see if the proposed item exists we don't want to look for the proposed item by path because it is slow if not found

메소드 상세

CreateChild() 공개 메소드

Creates the child.
public CreateChild ( ) : ID
리턴 ID

CreateItem() 공개 메소드

public CreateItem ( ID parentId, string cleanName, ID templateId, string dbName ) : System.Linq
parentId ID
cleanName string
templateId ID
dbName string
리턴 System.Linq

CreateItem() 공개 메소드

public CreateItem ( ID parentId, string cleanName, ID templateId, string dbName, Language language ) : System.Linq
parentId ID
cleanName string
templateId ID
dbName string
language Language
리턴 System.Linq

GetChild() 공개 메소드

Gets the child.
The algorithm is important for performs a) first get the parent item b) then check its children to see if the proposed item exists we don't want to look for the proposed item by path because it is slow if not found
public GetChild ( ) : ID
리턴 ID