Method | Description | |
---|---|---|
CreateOrUpdateContentType ( |
||
Filter ( Umbraco nodes, bool &changesMade ) : void | ||
Initialise ( IEnumerable |
||
IsFilter ( string treeAlias ) : bool | ||
TryGetContentType ( |
||
TryGetContentType ( string alias, |
Method | Description | |
---|---|---|
ContentTypeModuleBase ( IPropertyModule propertyModule, System.Guid performanceTimer ) : System | ||
CreateContentType ( |
This method is called when the Content Type declared in the attribute hasn't been found in Umbraco
|
|
CreateContentType ( IContentTypeBase parent ) : IContentTypeComposition | ||
CreateRegistration ( |
||
Delete ( IContentTypeBase contentType ) : void | ||
DeleteContentType ( IContentTypeBase contentType ) : void | ||
DoPerType ( IEnumerable |
||
DoPerTypeConcurrent ( IEnumerable |
||
GenerateContentTypes ( string nameSpace, string folderPath, string attributeName, Func |
||
GetAllContentTypes ( ) : IEnumerable |
||
GetChildren ( IContentTypeBase contentType ) : IEnumerable |
||
GetContentTypeByAlias ( string alias ) : IContentTypeComposition | ||
GetRegistration ( |
||
GetRegistration ( string alias ) : |
||
Register ( |
||
ResetContentTypesCache ( ) : void | ||
Save ( IContentTypeBase contentType ) : void | ||
SaveContentType ( IContentTypeBase contentType ) : void | ||
SyncAllowedChildren ( |
||
SyncCompositions ( |
||
UpdateContentType ( |
Update the existing content Type based on the data in the attributes
|
Method | Description | |
---|---|---|
AddAllowedChildTypes ( IContentTypeComposition node, |
||
AddCompositions ( List |
||
AddProperties ( List |
||
AddTabs ( string nspace, IContentTypeComposition node, |
||
BuildContentTypeModel ( string nameSpace, IContentTypeComposition node, string attributeName, ContentTypeDescription>.Action |
||
BuildContentTypeModels ( string nameSpace, string folderPath, string attributeName, List |
||
BuildPropertyModel ( string nameSpace, string tabName, PropertyType propType, string typeName ) : |
||
BuildTabModel ( string nameSpace, PropertyGroup group, List |
||
CheckBuiltIn ( |
||
CreateProperties ( |
Every property on the Tab object is scanned for the UmbracoProperty attribute
|
|
CreateTabs ( IContentTypeBase newContentType, List |
Scans for properties on the model which have the UmbracoTab attribute
|
|
CreateTypeDescription ( IContentTypeComposition node, string attributeName ) : |
||
FetchAllowedContentTypes ( |
Gets the allowed children
|
|
GenerateClassFiles ( string nameSpace, string folderPath, List |
||
GetAliasesFromTypes ( |
Gets all the document type aliases from the supplied list of types
|
|
GetAllAncestorTypes ( |
||
GetCodeFirstParent ( |
||
GetComposingTypes ( |
||
Prune ( IContentTypeBase contentType, |
||
RemovePropertyFromChildren ( string alias, IEnumerable |
||
Reparent ( |
||
SyncChildrenAndCompositions ( List |
||
SyncContentTypes ( List |
||
ValidateComposition ( |
||
VerifyAllPropertiesOnTab ( |
Scan the properties on tabs
|
|
VerifyProperties ( IContentTypeBase contentType, |
Loop through all properties and remove existing ones if necessary
|
protected ContentTypeModuleBase ( IPropertyModule propertyModule, System.Guid performanceTimer ) : System | ||
propertyModule | IPropertyModule | |
performanceTimer | System.Guid | |
return | System |
protected CreateContentType ( |
||
registration | ||
modified | bool | |
return | IContentTypeBase |
protected abstract CreateContentType ( IContentTypeBase parent ) : IContentTypeComposition | ||
parent | IContentTypeBase | |
return | IContentTypeComposition |
public CreateOrUpdateContentType ( |
||
registration | ||
return | void |
protected abstract CreateRegistration ( |
||
type | ||
return |
protected Delete ( IContentTypeBase contentType ) : void | ||
contentType | IContentTypeBase | |
return | void |
protected abstract DeleteContentType ( IContentTypeBase contentType ) : void | ||
contentType | IContentTypeBase | |
return | void |
protected DoPerType ( IEnumerable |
||
types | IEnumerable |
|
action | Action |
|
resetCacheBeforeAndAfter | bool | |
return | void |
protected DoPerTypeConcurrent ( IEnumerable |
||
types | IEnumerable |
|
action | Action |
|
resetCacheBeforeAndAfter | bool | |
return | void |
public Filter ( Umbraco nodes, bool &changesMade ) : void | ||
nodes | Umbraco | |
changesMade | bool | |
return | void |
protected GenerateContentTypes ( string nameSpace, string folderPath, string attributeName, Func |
||
nameSpace | string | |
folderPath | string | |
attributeName | string | |
selector | Func |
|
customAction | ContentTypeDescription>.Action | |
return | void |
protected abstract GetAllContentTypes ( ) : IEnumerable |
||
return | IEnumerable |
protected abstract GetChildren ( IContentTypeBase contentType ) : IEnumerable |
||
contentType | IContentTypeBase | |
return | IEnumerable |
protected abstract GetContentTypeByAlias ( string alias ) : IContentTypeComposition | ||
alias | string | |
return | IContentTypeComposition |
protected GetRegistration ( |
||
type | ||
return |
protected GetRegistration ( string alias ) : |
||
alias | string | |
return |
public Initialise ( IEnumerable |
||
types | IEnumerable |
|
return | void |
public abstract IsFilter ( string treeAlias ) : bool | ||
treeAlias | string | |
return | bool |
protected Register ( |
||
registration | ||
return | void |
protected Save ( IContentTypeBase contentType ) : void | ||
contentType | IContentTypeBase | |
return | void |
protected abstract SaveContentType ( IContentTypeBase contentType ) : void | ||
contentType | IContentTypeBase | |
return | void |
protected SyncAllowedChildren ( |
||
docTypeReg | ||
return | void |
protected SyncCompositions ( |
||
docTypeReg | ||
return | void |
public TryGetContentType ( |
||
type | ||
registration | ||
return | bool |
public TryGetContentType ( string alias, |
||
alias | string | |
registration | ||
return | bool |
protected UpdateContentType ( |
||
registration | ||
modified | bool | |
return | IContentTypeBase |