Свойство | Type | Description | |
---|---|---|---|
BaseTemplateField | ID | ||
DisableItemHandlerWhenDeletingFields | bool | ||
GlassFolderId | ID |
Свойство | Type | Description | |
---|---|---|---|
BaseTemplateChecks | void | ||
ClearCaches | void | ||
CreateTemplateItem | ItemDefinition | ||
GetChildIDsSection | IDList | ||
GetChildIDsTemplate | IDList | ||
GetFieldFields | void | ||
GetGlassTemplateFolder | ItemDefinition | ||
GetSqlProvider | DataProvider | ||
GetStandardFields | void | ||
GetTemplateFolder | ItemDefinition | ||
RemoveDeletedClasses | bool |
Méthode | 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.
|
Méthode | 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. |
Résultat | bool |
public DeleteItem ( ItemDefinition itemDefinition, CallContext context ) : bool | ||
itemDefinition | ItemDefinition | The item definition. |
context | CallContext | The context. |
Résultat | bool |
public GetChildIDs ( ItemDefinition itemDefinition, CallContext context ) : IDList | ||
itemDefinition | ItemDefinition | The item definition. |
context | CallContext | The context. |
Résultat | IDList |
public GetItemDefinition ( ID itemId, CallContext context ) : ItemDefinition | ||
itemId | ID | The item ID. |
context | CallContext | The context. |
Résultat | ItemDefinition |
public GetItemFields ( ItemDefinition itemDefinition, VersionUri versionUri, CallContext context ) : FieldList | ||
itemDefinition | ItemDefinition | The item. |
versionUri | VersionUri | The version URI. |
context | CallContext | The context. |
Résultat | FieldList |
public GetLanguages ( CallContext context ) : LanguageCollection | ||
context | CallContext | The context. |
Résultat | LanguageCollection |
public GetParentID ( ItemDefinition itemDefinition, CallContext context ) : ID | ||
itemDefinition | ItemDefinition | The item definition. |
context | CallContext | The context. |
Résultat | ID |
public static GetUniqueGuid ( string input ) : System.Guid | ||
input | string | |
Résultat | System.Guid |
public GlassDataProvider ( string databaseName, string context ) : System | ||
databaseName | string | Name of the database. |
context | string | The context. |
Résultat | System |
public Initialise ( Database db ) : void | ||
db | Database | The db. |
Résultat | void |
public SaveItem ( ItemDefinition itemDefinition, ItemChanges changes, CallContext context ) : bool | ||
itemDefinition | ItemDefinition | The item definition. |
changes | ItemChanges | The changes. |
context | CallContext | The context. |
Résultat | bool |
public static bool DisableItemHandlerWhenDeletingFields | ||
Résultat | bool |