C# Class PageTypeBuilder.Synchronization.PageDefinitionSynchronization.PageDefinitionUpdater

Inheritance: IPageDefinitionUpdater
Show file Open project: joelabrahamsson/Page-Type-Builder

Public Methods

Method Description
CreateNewPageDefinition ( PageTypePropertyDefinition propertyDefinition ) : void
PageDefinitionUpdater ( IPageDefinitionRepository pageDefinitionRepository, ITabDefinitionRepository tabDefinitionRepository, PageDefinitionTypeMapper pageDefinitionTypeMapper ) : System
UpdateExistingPageDefinition ( PageDefinition pageDefinition, PageTypePropertyDefinition pageTypePropertyDefinition ) : void

Protected Methods

Method Description
GetFieldOrder ( PageDefinition pageDefinition, PageTypePropertyAttribute propertyAttribute ) : int
GetPageDefinitionType ( PageTypePropertyDefinition definition ) : PageDefinitionType
SerializeValues ( PageDefinition pageDefinition ) : string
SetPageDefinitionType ( PageDefinition pageDefinition, PageTypePropertyDefinition propertyDefinition ) : void
UpdatePageDefinitionTab ( PageDefinition pageDefinition, PageTypePropertyAttribute propertyAttribute ) : void
UpdatePageDefinitionValues ( PageDefinition pageDefinition, PageTypePropertyDefinition pageTypePropertyDefinition ) : void

Private Methods

Method Description
CanModifyProperty ( PageDefinition pageDefinition, bool propertySet ) : bool
GetPageDefinitionKey ( PageDefinition pageDefinition ) : string

Method Details

CreateNewPageDefinition() public method

public CreateNewPageDefinition ( PageTypePropertyDefinition propertyDefinition ) : void
propertyDefinition PageTypeBuilder.Discovery.PageTypePropertyDefinition
return void

GetFieldOrder() protected method

protected GetFieldOrder ( PageDefinition pageDefinition, PageTypePropertyAttribute propertyAttribute ) : int
pageDefinition PageDefinition
propertyAttribute PageTypePropertyAttribute
return int

GetPageDefinitionType() protected method

protected GetPageDefinitionType ( PageTypePropertyDefinition definition ) : PageDefinitionType
definition PageTypeBuilder.Discovery.PageTypePropertyDefinition
return PageDefinitionType

PageDefinitionUpdater() public method

public PageDefinitionUpdater ( IPageDefinitionRepository pageDefinitionRepository, ITabDefinitionRepository tabDefinitionRepository, PageDefinitionTypeMapper pageDefinitionTypeMapper ) : System
pageDefinitionRepository IPageDefinitionRepository
tabDefinitionRepository ITabDefinitionRepository
pageDefinitionTypeMapper PageDefinitionTypeMapper
return System

SerializeValues() protected method

protected SerializeValues ( PageDefinition pageDefinition ) : string
pageDefinition PageDefinition
return string

SetPageDefinitionType() protected method

protected SetPageDefinitionType ( PageDefinition pageDefinition, PageTypePropertyDefinition propertyDefinition ) : void
pageDefinition PageDefinition
propertyDefinition PageTypeBuilder.Discovery.PageTypePropertyDefinition
return void

UpdateExistingPageDefinition() public method

public UpdateExistingPageDefinition ( PageDefinition pageDefinition, PageTypePropertyDefinition pageTypePropertyDefinition ) : void
pageDefinition PageDefinition
pageTypePropertyDefinition PageTypeBuilder.Discovery.PageTypePropertyDefinition
return void

UpdatePageDefinitionTab() protected method

protected UpdatePageDefinitionTab ( PageDefinition pageDefinition, PageTypePropertyAttribute propertyAttribute ) : void
pageDefinition PageDefinition
propertyAttribute PageTypePropertyAttribute
return void

UpdatePageDefinitionValues() protected method

protected UpdatePageDefinitionValues ( PageDefinition pageDefinition, PageTypePropertyDefinition pageTypePropertyDefinition ) : void
pageDefinition PageDefinition
pageTypePropertyDefinition PageTypeBuilder.Discovery.PageTypePropertyDefinition
return void