Method | Description | |
---|---|---|
AddFakeItem ( DbItem item ) : void | ||
AddFakeItem ( DbItem item, Language language ) : void | ||
BuildItemFieldList ( DbItem fakeItem, ID templateId, Language language, Sitecore.Data.Version version ) : FieldList | ||
DataStorage ( Database database ) : System | ||
GetBlobStream ( Guid blobId ) : Stream | ||
GetFakeItem ( ID itemId ) : DbItem | ||
GetFakeItems ( ) : IEnumerable |
||
GetFakeTemplate ( ID templateId ) : DbTemplate | ||
GetFakeTemplates ( ) : IEnumerable |
||
GetSitecoreItem ( ID itemId ) : Item | ||
GetSitecoreItem ( ID itemId, Language language ) : Item | ||
GetSitecoreItem ( ID itemId, Language language, Sitecore.Data.Version version ) : Item | ||
RemoveFakeItem ( ID itemId ) : bool | ||
SetBlobStream ( Guid blobId, Stream stream ) : void |
Method | Description | |
---|---|---|
AddFieldsFromTemplate ( FieldList allFields, DbItem fakeItem, DbTemplate fakeTemplate, Language language, Sitecore.Data.Version version ) : void | ||
ExpandTemplatesSequence ( ID templateId ) : List |
Similar to Template.GetBaseTemplates() the method expands the template inheritance hierarchy
|
|
FillDefaultFakeItems ( ) : void | ||
FillDefaultFakeTemplates ( ) : void | ||
FindItemDbField ( DbItem fakeItem, DbField templateField ) : DbField |
Method | Description | |
---|---|---|
AssertDoesNotExists ( DbItem item ) : void | ||
GetSourceItem ( DbItem fakeItem ) : DbItem |
public AddFakeItem ( DbItem item, Language language ) : void | ||
item | DbItem | |
language | Language | |
return | void |
protected AddFieldsFromTemplate ( FieldList allFields, DbItem fakeItem, DbTemplate fakeTemplate, Language language, Sitecore.Data.Version version ) : void | ||
allFields | FieldList | |
fakeItem | DbItem | |
fakeTemplate | DbTemplate | |
language | Language | |
version | Sitecore.Data.Version | |
return | void |
public BuildItemFieldList ( DbItem fakeItem, ID templateId, Language language, Sitecore.Data.Version version ) : FieldList | ||
fakeItem | DbItem | |
templateId | ID | |
language | Language | |
version | Sitecore.Data.Version | |
return | FieldList |
public DataStorage ( Database database ) : System | ||
database | Database | |
return | System |
protected ExpandTemplatesSequence ( ID templateId ) : List |
||
templateId | ID | The template id. |
return | List |
protected FillDefaultFakeTemplates ( ) : void | ||
return | void |
protected FindItemDbField ( DbItem fakeItem, DbField templateField ) : DbField | ||
fakeItem | DbItem | |
templateField | DbField | |
return | DbField |
public GetBlobStream ( Guid blobId ) : Stream | ||
blobId | Guid | |
return | Stream |
public GetFakeTemplate ( ID templateId ) : DbTemplate | ||
templateId | ID | |
return | DbTemplate |
public GetSitecoreItem ( ID itemId, Language language ) : Item | ||
itemId | ID | |
language | Language | |
return | Item |
public GetSitecoreItem ( ID itemId, Language language, Sitecore.Data.Version version ) : Item | ||
itemId | ID | |
language | Language | |
version | Sitecore.Data.Version | |
return | Item |
public SetBlobStream ( Guid blobId, Stream stream ) : void | ||
blobId | Guid | |
stream | Stream | |
return | void |