C# Class Sitecore.SharedSource.Commons.Abstractions.Templates.TemplateItemWrapper

Inheritance: ITemplateItem
ファイルを表示 Open project: Velir/Sitecore-Commons

Public Methods

Method Description
AddField ( string fieldName, string sectionName ) : TemplateFieldItem
AddSection ( string sectionName ) : TemplateSectionItem
AddSection ( string sectionName, bool allowInheritedSection ) : TemplateSectionItem
AddTo ( Item item, string name ) : ISitecoreItem
BeginEdit ( ) : void
CreateItemFrom ( string name, Item parent ) : ISitecoreItem
CreateStandardValues ( ) : ISitecoreItem
EndEdit ( ) : void
GetField ( ID fieldID ) : TemplateFieldItem
GetField ( string fieldName ) : TemplateFieldItem
GetSection ( ID sectionID ) : TemplateSectionItem
GetSection ( ID sectionID, bool allowInheritedSection ) : TemplateSectionItem
GetSection ( string sectionName ) : TemplateSectionItem
GetSections ( ) : TemplateSectionItem[]
RemoveField ( ID fieldID ) : void
RemoveField ( string fieldName ) : void
RemoveSection ( ID sectionID ) : void
RemoveSection ( string sectionName ) : void
TemplateItemWrapper ( TemplateItem templateItem ) : System.Collections.Generic

Method Details

AddField() public method

public AddField ( string fieldName, string sectionName ) : TemplateFieldItem
fieldName string
sectionName string
return TemplateFieldItem

AddSection() public method

public AddSection ( string sectionName ) : TemplateSectionItem
sectionName string
return TemplateSectionItem

AddSection() public method

public AddSection ( string sectionName, bool allowInheritedSection ) : TemplateSectionItem
sectionName string
allowInheritedSection bool
return TemplateSectionItem

AddTo() public method

public AddTo ( Item item, string name ) : ISitecoreItem
item Item
name string
return ISitecoreItem

BeginEdit() public method

public BeginEdit ( ) : void
return void

CreateItemFrom() public method

public CreateItemFrom ( string name, Item parent ) : ISitecoreItem
name string
parent Item
return ISitecoreItem

CreateStandardValues() public method

public CreateStandardValues ( ) : ISitecoreItem
return ISitecoreItem

EndEdit() public method

public EndEdit ( ) : void
return void

GetField() public method

public GetField ( ID fieldID ) : TemplateFieldItem
fieldID ID
return TemplateFieldItem

GetField() public method

public GetField ( string fieldName ) : TemplateFieldItem
fieldName string
return TemplateFieldItem

GetSection() public method

public GetSection ( ID sectionID ) : TemplateSectionItem
sectionID ID
return TemplateSectionItem

GetSection() public method

public GetSection ( ID sectionID, bool allowInheritedSection ) : TemplateSectionItem
sectionID ID
allowInheritedSection bool
return TemplateSectionItem

GetSection() public method

public GetSection ( string sectionName ) : TemplateSectionItem
sectionName string
return TemplateSectionItem

GetSections() public method

public GetSections ( ) : TemplateSectionItem[]
return TemplateSectionItem[]

RemoveField() public method

public RemoveField ( ID fieldID ) : void
fieldID ID
return void

RemoveField() public method

public RemoveField ( string fieldName ) : void
fieldName string
return void

RemoveSection() public method

public RemoveSection ( ID sectionID ) : void
sectionID ID
return void

RemoveSection() public method

public RemoveSection ( string sectionName ) : void
sectionName string
return void

TemplateItemWrapper() public method

public TemplateItemWrapper ( TemplateItem templateItem ) : System.Collections.Generic
templateItem TemplateItem
return System.Collections.Generic