Property | Type | Description | |
---|---|---|---|
BaseTemplateField | ID | ||
DisableItemHandlerWhenDeletingFields | bool | ||
GlassFolderId | ID |
Property | Type | Description | |
---|---|---|---|
BaseTemplateChecks | void | ||
ClearCaches | void | ||
CreateTemplateItem | ItemDefinition | ||
GetChildIDsSection | IDList | ||
GetChildIDsTemplate | IDList | ||
GetFieldFields | void | ||
GetGlassTemplateFolder | ItemDefinition | ||
GetSqlProvider | DataProvider | ||
GetStandardFields | void | ||
GetTemplateFolder | ItemDefinition | ||
RemoveDeletedClasses | bool |
Method | Description | |
---|---|---|
CreateItem ( ID itemId, string itemName, ID templateId, ItemDefinition parent, CallContext context ) : bool |
Creates a item.
|
|
DeleteItem ( ItemDefinition itemDefinition, CallContext context ) : bool |
Deletes an item.
|
|
GetChildIDs ( ItemDefinition itemDefinition, CallContext context ) : IDList |
Gets the child ids of an item.
|
|
GetItemDefinition ( ID itemId, CallContext context ) : ItemDefinition |
Gets the definition of an item.
|
|
GetItemFields ( ItemDefinition itemDefinition, VersionUri versionUri, CallContext context ) : FieldList |
Gets the fields of a specific item version.
|
|
GetLanguages ( CallContext context ) : LanguageCollection |
Gets a list of all the language that have been defined in the database.
|
|
GetParentID ( ItemDefinition itemDefinition, CallContext context ) : ID |
Gets the parent ID of an item.
|
|
GetUniqueGuid ( string input ) : System.Guid | ||
GlassDataProvider ( ) : System |
Initializes a new instance of the GlassDataProvider class.
|
|
GlassDataProvider ( string databaseName, string context ) : System |
Initializes a new instance of the GlassDataProvider class.
|
|
Initialise ( Database db ) : void |
Setups the specified context.
|
|
SaveItem ( ItemDefinition itemDefinition, ItemChanges changes, CallContext context ) : bool |
Saves an item.
|
Method | Description | |
---|---|---|
BaseTemplateChecks ( ItemDefinition template, Glass.Mapper.Sc.Configuration.SitecoreTypeConfiguration config, Database db ) : void |
Bases the template checks.
|
|
ClearCaches ( Database db ) : void |
Clears the all caches on the database
|
|
CreateTemplateItem ( Database db, Glass.Mapper.Sc.Configuration.SitecoreTypeConfiguration config, |
Creates the template item.
|
|
GetChildIDsSection ( Glass.Mapper.Sc.CodeFirst.SectionInfo section, CallContext context, DataProvider sqlProvider ) : IDList |
Gets the child I ds section.
|
|
GetChildIDsTemplate ( Glass.Mapper.Sc.Configuration.SitecoreTypeConfiguration template, ItemDefinition itemDefinition, CallContext context, DataProvider sqlProvider ) : IDList |
Gets the child I ds template.
|
|
GetFieldFields ( Glass.Mapper.Sc.CodeFirst.FieldInfo info, FieldList fields ) : void |
Gets the field fields.
|
|
GetGlassTemplateFolder ( DataProvider provider, CallContext context ) : ItemDefinition |
Creates the item /sitecore/templates/glasstemplates
|
|
GetSqlProvider ( Database db ) : DataProvider |
Gets the base SQL provider that will store physical items
|
|
GetStandardFields ( FieldList fields, int index ) : void |
Gets the standard fields.
|
|
GetTemplateFolder ( string nameSpace, ItemDefinition defaultFolder, DataProvider sqlDataProvider, CallContext context ) : ItemDefinition |
Gets the template folder that the class template should be created in using the classes namespace.
|
|
RemoveDeletedClasses ( ItemDefinition folder, DataProvider sqlDataProvider, CallContext context ) : bool |
Check a folder and all sub folders in Sitecore for templates
|
public CreateItem ( ID itemId, string itemName, ID templateId, ItemDefinition parent, CallContext context ) : bool | ||
itemId | ID | The item ID. |
itemName | string | Name of the item. |
templateId | ID | The template ID. |
parent | ItemDefinition | The parent. |
context | CallContext | The context. |
return | bool |
public DeleteItem ( ItemDefinition itemDefinition, CallContext context ) : bool | ||
itemDefinition | ItemDefinition | The item definition. |
context | CallContext | The context. |
return | bool |
public GetChildIDs ( ItemDefinition itemDefinition, CallContext context ) : IDList | ||
itemDefinition | ItemDefinition | The item definition. |
context | CallContext | The context. |
return | IDList |
public GetItemDefinition ( ID itemId, CallContext context ) : ItemDefinition | ||
itemId | ID | The item ID. |
context | CallContext | The context. |
return | ItemDefinition |
public GetItemFields ( ItemDefinition itemDefinition, VersionUri versionUri, CallContext context ) : FieldList | ||
itemDefinition | ItemDefinition | The item. |
versionUri | VersionUri | The version URI. |
context | CallContext | The context. |
return | FieldList |
public GetLanguages ( CallContext context ) : LanguageCollection | ||
context | CallContext | The context. |
return | LanguageCollection |
public GetParentID ( ItemDefinition itemDefinition, CallContext context ) : ID | ||
itemDefinition | ItemDefinition | The item definition. |
context | CallContext | The context. |
return | ID |
public static GetUniqueGuid ( string input ) : System.Guid | ||
input | string | |
return | System.Guid |
public GlassDataProvider ( string databaseName, string context ) : System | ||
databaseName | string | Name of the database. |
context | string | The context. |
return | System |
public SaveItem ( ItemDefinition itemDefinition, ItemChanges changes, CallContext context ) : bool | ||
itemDefinition | ItemDefinition | The item definition. |
changes | ItemChanges | The changes. |
context | CallContext | The context. |
return | bool |
public static bool DisableItemHandlerWhenDeletingFields | ||
return | bool |