Beispiel #1
0
 public virtual ISitecoreItem CreateItemFrom(string name, Item parent)
 {
     return(ItemFactory.BuildItem(_templateItem.CreateItemFrom(name, parent)));
 }
Beispiel #2
0
 public virtual ISitecoreItem CreateStandardValues()
 {
     return(ItemFactory.BuildItem(_templateItem.CreateStandardValues()));
 }
 public virtual IItem GetItem(string path, Language language, Version version)
 {
     return(ItemFactory.BuildItem(_database.GetItem(path, language, version)));
 }
Beispiel #4
0
 public virtual ISitecoreItem AddTo(Item item, string name)
 {
     return(ItemFactory.BuildItem(_templateItem.AddTo(item, name)));
 }
 public virtual IItem GetItem(ID itemId, Language language, Version version)
 {
     return(ItemFactory.BuildItem(_database.GetItem(itemId, language, version)));
 }
 public virtual IItem GetItem(string path)
 {
     return(ItemFactory.BuildItem(_database.GetItem(path)));
 }
 public virtual IItem CreateItemPath(string path, TemplateItem folderTemplate, TemplateItem itemTemplate)
 {
     return(ItemFactory.BuildItem(_database.CreateItemPath(path, folderTemplate, itemTemplate)));
 }
 public virtual IItem GetItem(ID itemId)
 {
     return(ItemFactory.BuildItem(_database.GetItem(itemId)));
 }
 public virtual IItem CreateItemPath(string path, TemplateItem template)
 {
     return(ItemFactory.BuildItem(_database.CreateItemPath(path, template)));
 }
 public virtual IItem SelectSingleItemUsingXPath(string query)
 {
     return(ItemFactory.BuildItem(_database.SelectSingleItemUsingXPath(query)));
 }
 public virtual IItem GetRootItem(Language language)
 {
     return(ItemFactory.BuildItem(_database.GetRootItem(language)));
 }
 public virtual IItem GetRootItem()
 {
     return(ItemFactory.BuildItem(_database.GetRootItem()));
 }
 public virtual IItem GetItem(DataUri uri)
 {
     return(ItemFactory.BuildItem(_database.GetItem(uri)));
 }