public class WoofChangesImpl extends Object implements WoofChanges
Constructor and Description |
---|
WoofChangesImpl(WoofModel model)
Initiate.
|
public WoofSectionModel getSection(WoofSectionInputModel input)
WoofSectionModel
for the
WoofSectionInputModel
.input
- WoofSectionInputModel
.WoofSectionModel
containing the
WoofSectionInputModel
or null
if not within
WoofModel
.public Map<String,WoofTemplateInheritance> getWoofTemplateInheritances()
WoofChanges
WoofTemplateInheritance
instances by their super
WoofTemplateModel
names.getWoofTemplateInheritances
in interface WoofChanges
WoofTemplateInheritance
instances by their super
WoofTemplateModel
names.public Change<WoofTemplateModel> addTemplate(String uri, String templatePath, String templateLogicClass, SectionType section, WoofTemplateModel superTemplate, String contentType, boolean isTemplateSecure, Map<String,Boolean> linksSecure, String[] renderRedirectHttpMethods, boolean isContinueRendering, WoofTemplateExtension[] extensions, WoofTemplateChangeContext context)
WoofChanges
WoofTemplateModel
.addTemplate
in interface WoofChanges
uri
- URI to the WoofTemplateModel
.templatePath
- Path to the template file.templateLogicClass
- Name of the logic Class
for the template.section
- SectionType
for the WoofTemplateModel
.superTemplate
- Super WoofTemplateModel
. May be null
.contentType
- Content-Type for the WoofTemplateModel
. May be
null
.isTemplateSecure
- true
for the WoofTemplateModel
to require
a secure ServerHttpConnection
.linksSecure
- Link secure configuration overriding WoofTemplateModel
secure.renderRedirectHttpMethods
- Listing of HTTP methods that require a redirect before
rendering the WoofTemplateModel
.isContinueRendering
- Indicates whether allowed to continue rendering on this
template completion.extensions
- WoofTemplateExtension
instances for the
WoofTemplateModel
.context
- WoofTemplateChangeContext
.Change
to add a WoofTemplateModel
.public Change<WoofTemplateModel> refactorTemplate(WoofTemplateModel template, String uri, String templatePath, String templateLogicClass, SectionType sectionType, WoofTemplateModel superTemplate, Set<String> inheritedTemplateOutputNames, String contentType, boolean isTemplateSecure, Map<String,Boolean> linksSecure, String[] renderRedirectHttpMethods, boolean isContinueRendering, WoofTemplateExtension[] extensions, Map<String,String> templateOutputNameMapping, WoofTemplateChangeContext context)
WoofChanges
WoofTemplateModel
.refactorTemplate
in interface WoofChanges
template
- WoofTemplateModel
to refactor.uri
- New URI for the WoofTemplateModel
.templatePath
- New template path for the WoofTemplateModel
.templateLogicClass
- New logic class for the WoofTemplateModel
.sectionType
- SectionType
for the refactored
WoofTemplateModel
.superTemplate
- Super WoofTemplateModel
. May be null
.inheritedTemplateOutputNames
- Inherited WoofTemplateOutputModel
configuration from
the super WoofTemplateModel
and its subsequent
ancestors.contentType
- Content-Type for the WoofTemplateModel
. May be
null
.isTemplateSecure
- true
for the WoofTemplateModel
to require
a secure ServerHttpConnection
.linksSecure
- Link secure configuration overriding WoofTemplateModel
secure.renderRedirectHttpMethods
- Listing of HTTP methods that require a redirect before
rendering the WoofTemplateModel
.isContinueRendering
- Indicates whether allowed to continue rendering on this
template completion.extensions
- WoofTemplateExtension
instances for the
WoofTemplateModel
.templateOutputNameMapping
- Mapping of SectionOutputType
name to existing
WoofTemplateOutputModel
name to allow maintaining
links to other items within the WoofModel
.context
- WoofTemplateChangeContext
.Change
to refactor the WoofTemplateModel
.public Change<WoofTemplateModel> changeTemplateUri(WoofTemplateModel template, String uri, WoofTemplateChangeContext context)
WoofChanges
WoofTemplateModel
.changeTemplateUri
in interface WoofChanges
template
- WoofTemplateModel
.uri
- URI.context
- WoofTemplateChangeContext
.Change
for the URI.public Change<WoofTemplateModel> removeTemplate(WoofTemplateModel template, WoofTemplateChangeContext context)
WoofChanges
WoofTemplateModel
.removeTemplate
in interface WoofChanges
template
- WoofTemplateModel
to remove.context
- WoofTemplateChangeContext
.Change
to remove the WoofTemplateModel
.public Change<WoofSectionModel> addSection(String sectionName, String sectionSourceClassName, String sectionLocation, PropertyList properties, SectionType section, Map<String,String> inputToUri)
WoofChanges
WoofSectionModel
.addSection
in interface WoofChanges
sectionName
- Name of the WoofSectionModel
.sectionSourceClassName
- SectionSource
class name.sectionLocation
- Location of the section.properties
- PropertyList
.section
- SectionType
for the WoofSectionModel
.inputToUri
- Mapping on input name to URI.Change
to add the WoofSectionModel
.public Change<WoofSectionModel> refactorSection(WoofSectionModel section, String sectionName, String sectionSourceClassName, String sectionLocation, PropertyList properties, SectionType sectionType, Map<String,String> sectionInputNameMapping, Map<String,String> sectionOutputNameMapping)
WoofChanges
WoofSectionModel
.refactorSection
in interface WoofChanges
section
- WoofSectionModel
to refactor.sectionName
- New name of the WoofSectionModel
.sectionSourceClassName
- New SectionSource
class name for the
WoofSectionModel
.sectionLocation
- New location for the WoofSectionModel
.properties
- New PropertyList
for the WoofSectionModel
.sectionType
- SectionType
of the refactor WoofSectionModel
.sectionInputNameMapping
- Mapping of SectionInputType
name to existing
WoofSectionInputModel
name to allow maintaining links
to other items within the WoofModel
.sectionOutputNameMapping
- Mapping of SectionOutputType
name to existing
WoofSectionOutputModel
name to allow maintaining links
to other items within the WoofModel
.Change
to refactor the WoofSectionModel
.public Change<WoofSectionInputModel> changeSectionInputUri(WoofSectionInputModel sectionInput, String uri)
WoofChanges
WoofSectionInputModel
.changeSectionInputUri
in interface WoofChanges
sectionInput
- WoofSectionInputModel
.uri
- URI.Change
for the URI.public Change<WoofSectionModel> removeSection(WoofSectionModel section)
WoofChanges
WoofSectionModel
.removeSection
in interface WoofChanges
section
- WoofSectionModel
to remove.Change
to remove the WoofSectionModel
.public Change<WoofAccessModel> setAccess(String httpSecuritySourceClassName, long timeout, PropertyList properties, HttpSecurityType<?,?,?,?> httpSecurityType)
WoofChanges
WoofAccessModel
.setAccess
in interface WoofChanges
httpSecuritySourceClassName
- HttpSecuritySource
class name.timeout
- Time out in authenticating.properties
- PropertyList
.httpSecurityType
- HttpSecurityType
for the WoofAccessModel
.Change
to specify the WoofAccessModel
.public Change<WoofAccessModel> refactorAccess(WoofAccessModel access, String httpSecuritySourceClassName, long timeout, PropertyList properties, HttpSecurityType<?,?,?,?> httpSecurityType, Map<String,String> accessOutputNameMapping)
WoofChanges
WoofAccessModel
.refactorAccess
in interface WoofChanges
access
- WoofAccessModel
to refactor.httpSecuritySourceClassName
- HttpSecuritySource
class name.timeout
- Time out in authenticating.properties
- PropertyList
.httpSecurityType
- HttpSecurityType
for the WoofAccessModel
.accessOutputNameMapping
- Mapping of HttpSecurityFlowType
name to existing
WoofAccessOutputModel
name to allow maintaining links
to other items within the WoofModel
.Change
to refactor the WoofAccessModel
.public Change<WoofAccessModel> removeAccess(WoofAccessModel access)
WoofChanges
WoofAccessModel
.removeAccess
in interface WoofChanges
access
- WoofAccessModel
to remove.Change
to remove the WoofAccessModel
.public Change<WoofGovernanceModel> addGovernance(String governanceName, String governanceSourceClassName, PropertyList properties, GovernanceType<?,?> governanceType)
WoofChanges
WoofGovernanceModel
.addGovernance
in interface WoofChanges
governanceName
- Name of the WoofGovernanceModel
.governanceSourceClassName
- GovernanceSource
class name.properties
- PropertyList
.governanceType
- GovernanceType
.Change
to add the WoofGovernanceModel
.public Change<WoofGovernanceModel> refactorGovernance(WoofGovernanceModel governance, String governanceName, String governanceSourceClassName, PropertyList properties, GovernanceType<?,?> governanceType)
WoofChanges
WoofGovernanceModel
.refactorGovernance
in interface WoofChanges
governance
- WoofGovernanceModel
to refactor.governanceName
- New name of the WoofGovernanceModel
.governanceSourceClassName
- New GovernanceSource
class name for the
WoofGovernanceModel
.properties
- New PropertyList
for the WoofGovernanceModel
.governanceType
- GovernanceType
of the refactored
WoofGovernanceModel
.Change
to refactor the WoofGovernanceModel
.public Change<WoofGovernanceModel> removeGovernance(WoofGovernanceModel governance)
WoofChanges
WoofGovernanceModel
.removeGovernance
in interface WoofChanges
governance
- WoofGovernanceModel
to remove.Change
to remove the WoofGovernanceModel
.public Change<WoofGovernanceAreaModel> addGovernanceArea(WoofGovernanceModel governance, int width, int height)
WoofChanges
WoofGovernanceAreaModel
for a WoofGovernanceModel
.addGovernanceArea
in interface WoofChanges
governance
- WoofGovernanceModel
.width
- Width of WoofGovernanceAreaModel
.height
- Height of WoofGovernanceAreaModel
.Change
to add WoofGovernanceAreaModel
.public Change<WoofGovernanceAreaModel> removeGovernanceArea(WoofGovernanceAreaModel governanceArea)
WoofChanges
WoofGovernanceAreaModel
.removeGovernanceArea
in interface WoofChanges
governanceArea
- WoofGovernanceAreaModel
.Change
to remove the WoofGovernanceAreaModel
.public Change<WoofResourceModel> addResource(String resourcePath)
WoofChanges
WoofResourceModel
.addResource
in interface WoofChanges
resourcePath
- Path to the resource.Change
to add the WoofResourceModel
.public Change<WoofResourceModel> refactorResource(WoofResourceModel resource, String resourcePath)
WoofChanges
WoofResourceModel
.refactorResource
in interface WoofChanges
resource
- WoofResourceModel
to refactor.resourcePath
- New resource path.Change
to refactor the WoofResourceModel
.public Change<WoofResourceModel> changeResourcePath(WoofResourceModel resource, String resourcePath)
WoofChanges
WoofResourceModel
.changeResourcePath
in interface WoofChanges
resource
- WoofResourceModel
.resourcePath
- Resource path.Change
for the resource path.public Change<WoofResourceModel> removeResource(WoofResourceModel resource)
WoofChanges
WoofResourceModel
.removeResource
in interface WoofChanges
resource
- WoofResourceModel
to remove.Change
to remove the WoofResourceModel
.public Change<WoofExceptionModel> addException(String exceptionClassName)
WoofChanges
WoofExceptionModel
.addException
in interface WoofChanges
exceptionClassName
- Throwable
class name.Change
to add the WoofExceptionModel
.public Change<WoofExceptionModel> refactorException(WoofExceptionModel exception, String exceptionClassName)
WoofChanges
WoofExceptionModel
.refactorException
in interface WoofChanges
exception
- WoofExceptionModel
to refactor.exceptionClassName
- New Exception
class name.Change
to refactor the WoofExceptionModel
.public Change<WoofExceptionModel> removeException(WoofExceptionModel exception)
WoofChanges
WoofExceptionModel
.removeException
in interface WoofChanges
exception
- WoofExceptionModel
to remove.Change
to remove the WoofExceptionModel
.public Change<WoofStartModel> addStart()
WoofChanges
WoofStartModel
.addStart
in interface WoofChanges
Change
to add the WoofStartModel
.public Change<WoofStartModel> removeStart(WoofStartModel start)
WoofChanges
WoofStartModel
.removeStart
in interface WoofChanges
start
- WoofStartModel
to remove.Change
to remove the WoofStartModel
.public Change<WoofTemplateOutputToWoofTemplateModel> linkTemplateOutputToTemplate(WoofTemplateOutputModel templateOutput, WoofTemplateModel template)
WoofChanges
WoofTemplateOutputModel
to the
WoofTemplateModel
.linkTemplateOutputToTemplate
in interface WoofChanges
templateOutput
- WoofTemplateOutputModel
.template
- WoofTemplateModel
.Change
to make the link.public Change<WoofTemplateOutputToWoofTemplateModel> removeTemplateOuputToTemplate(WoofTemplateOutputToWoofTemplateModel link)
WoofChanges
WoofTemplateOutputToWoofTemplateModel
.removeTemplateOuputToTemplate
in interface WoofChanges
link
- WoofTemplateOutputToWoofTemplateModel
.Change
to remove the link.public Change<WoofTemplateOutputToWoofSectionInputModel> linkTemplateOutputToSectionInput(WoofTemplateOutputModel templateOutput, WoofSectionInputModel sectionInput)
WoofChanges
WoofTemplateOutputModel
to the
WoofSectionInputModel
.linkTemplateOutputToSectionInput
in interface WoofChanges
templateOutput
- WoofTemplateOutputModel
.sectionInput
- WoofSectionInputModel
.Change
to make the link.public Change<WoofTemplateOutputToWoofSectionInputModel> removeTemplateOuputToSectionInput(WoofTemplateOutputToWoofSectionInputModel link)
WoofChanges
WoofTemplateOutputToWoofSectionInputModel
.removeTemplateOuputToSectionInput
in interface WoofChanges
link
- WoofTemplateOutputToWoofSectionInputModel
.Change
to remove the link.public Change<WoofTemplateOutputToWoofAccessInputModel> linkTemplateOutputToAccessInput(WoofTemplateOutputModel templateOutput, WoofAccessInputModel accessInput)
WoofChanges
WoofTemplateOutputModel
to the
WoofAccessInputModel
.linkTemplateOutputToAccessInput
in interface WoofChanges
templateOutput
- WoofTemplateOutputModel
.accessInput
- WoofAccessInputModel
.Change
to make the link.public Change<WoofTemplateOutputToWoofAccessInputModel> removeTemplateOuputToAccessInput(WoofTemplateOutputToWoofAccessInputModel link)
WoofChanges
WoofTemplateOutputToWoofAccessInputModel
.removeTemplateOuputToAccessInput
in interface WoofChanges
link
- WoofTemplateOutputToWoofAccessInputModel
.Change
to remove the link.public Change<WoofTemplateOutputToWoofResourceModel> linkTemplateOutputToResource(WoofTemplateOutputModel templateOutput, WoofResourceModel resource)
WoofChanges
WoofTemplateOutputModel
to the
WoofResourceModel
.linkTemplateOutputToResource
in interface WoofChanges
templateOutput
- WoofTemplateOutputModel
.resource
- WoofResourceModel
.Change
to make the link.public Change<WoofTemplateOutputToWoofResourceModel> removeTemplateOuputToResource(WoofTemplateOutputToWoofResourceModel link)
WoofChanges
WoofTemplateOutputToWoofResourceModel
.removeTemplateOuputToResource
in interface WoofChanges
link
- WoofTemplateOutputToWoofResourceModel
.Change
to remove the link.public Change<WoofSectionOutputToWoofTemplateModel> linkSectionOutputToTemplate(WoofSectionOutputModel sectionOutput, WoofTemplateModel template)
WoofChanges
WoofSectionOutputModel
to the WoofTemplateModel
.linkSectionOutputToTemplate
in interface WoofChanges
sectionOutput
- WoofSectionOutputModel
.template
- WoofTemplateModel
.Change
to make the link.public Change<WoofSectionOutputToWoofTemplateModel> removeSectionOuputToTemplate(WoofSectionOutputToWoofTemplateModel link)
WoofChanges
WoofSectionOutputToWoofTemplateModel
.removeSectionOuputToTemplate
in interface WoofChanges
link
- WoofSectionOutputToWoofTemplateModel
.Change
to remove the link.public Change<WoofSectionOutputToWoofSectionInputModel> linkSectionOutputToSectionInput(WoofSectionOutputModel sectionOutput, WoofSectionInputModel sectionInput)
WoofChanges
WoofSectionOutputModel
to the
WoofSectionInputModel
.linkSectionOutputToSectionInput
in interface WoofChanges
sectionOutput
- WoofSectionOutputModel
.sectionInput
- WoofSectionInputModel
.Change
to make the link.public Change<WoofSectionOutputToWoofSectionInputModel> removeSectionOuputToSectionInput(WoofSectionOutputToWoofSectionInputModel link)
WoofChanges
WoofSectionOutputToWoofSectionInputModel
.removeSectionOuputToSectionInput
in interface WoofChanges
link
- WoofSectionOutputToWoofSectionInputModel
.Change
to remove the link.public Change<WoofSectionOutputToWoofAccessInputModel> linkSectionOutputToAccessInput(WoofSectionOutputModel sectionOutput, WoofAccessInputModel accessInput)
WoofChanges
WoofSectionOutputModel
to the
WoofAccessInputModel
.linkSectionOutputToAccessInput
in interface WoofChanges
sectionOutput
- WoofAccessOutputModel
.accessInput
- WoofAccessInputModel
.Change
to make the link.public Change<WoofSectionOutputToWoofAccessInputModel> removeSectionOuputToAccessInput(WoofSectionOutputToWoofAccessInputModel link)
WoofChanges
WoofSectionOutputToWoofAccessInputModel
.removeSectionOuputToAccessInput
in interface WoofChanges
link
- WoofSectionOutputToWoofAccessInputModel
.Change
to remove the link.public Change<WoofSectionOutputToWoofResourceModel> linkSectionOutputToResource(WoofSectionOutputModel sectionOutput, WoofResourceModel resource)
WoofChanges
WoofSectionOutputModel
to the WoofResourceModel
.linkSectionOutputToResource
in interface WoofChanges
sectionOutput
- WoofSectionOutputModel
.resource
- WoofResourceModel
.Change
to make the link.public Change<WoofSectionOutputToWoofResourceModel> removeSectionOuputToResource(WoofSectionOutputToWoofResourceModel link)
WoofChanges
WoofSectionOutputToWoofResourceModel
.removeSectionOuputToResource
in interface WoofChanges
link
- WoofSectionOutputToWoofResourceModel
.Change
to remove the link.public Change<WoofAccessOutputToWoofTemplateModel> linkAccessOutputToTemplate(WoofAccessOutputModel accessOutput, WoofTemplateModel template)
WoofChanges
WoofAccessOutputModel
to the WoofTemplateModel
.linkAccessOutputToTemplate
in interface WoofChanges
accessOutput
- WoofAccessOutputModel
.template
- WoofTemplateModel
.Change
to make the link.public Change<WoofAccessOutputToWoofTemplateModel> removeAccessOuputToTemplate(WoofAccessOutputToWoofTemplateModel link)
WoofChanges
WoofAccessOutputToWoofTemplateModel
.removeAccessOuputToTemplate
in interface WoofChanges
link
- WoofAccessOutputToWoofTemplateModel
.Change
to remove the link.public Change<WoofAccessOutputToWoofSectionInputModel> linkAccessOutputToSectionInput(WoofAccessOutputModel accessOutput, WoofSectionInputModel sectionInput)
WoofChanges
WoofAccessOutputModel
to the
WoofSectionInputModel
.linkAccessOutputToSectionInput
in interface WoofChanges
accessOutput
- WoofAccessOutputModel
.sectionInput
- WoofSectionInputModel
.Change
to make the link.public Change<WoofAccessOutputToWoofSectionInputModel> removeAccessOuputToSectionInput(WoofAccessOutputToWoofSectionInputModel link)
WoofChanges
WoofAccessOutputToWoofSectionInputModel
.removeAccessOuputToSectionInput
in interface WoofChanges
link
- WoofAccessOutputToWoofSectionInputModel
.Change
to remove the link.public Change<WoofAccessOutputToWoofResourceModel> linkAccessOutputToResource(WoofAccessOutputModel accessOutput, WoofResourceModel resource)
WoofChanges
WoofAccessOutputModel
to the WoofResourceModel
.linkAccessOutputToResource
in interface WoofChanges
accessOutput
- WoofAccessOutputModel
.resource
- WoofResourceModel
.Change
to make the link.public Change<WoofAccessOutputToWoofResourceModel> removeAccessOuputToResource(WoofAccessOutputToWoofResourceModel link)
WoofChanges
WoofAccessOutputToWoofResourceModel
.removeAccessOuputToResource
in interface WoofChanges
link
- WoofAccessOutputToWoofResourceModel
.Change
to remove the link.public Change<WoofExceptionToWoofTemplateModel> linkExceptionToTemplate(WoofExceptionModel exception, WoofTemplateModel template)
WoofChanges
WoofExceptionModel
to the WoofTemplateModel
.linkExceptionToTemplate
in interface WoofChanges
exception
- WoofExceptionModel
.template
- WoofTemplateModel
.Change
to make the link.public Change<WoofExceptionToWoofTemplateModel> removeExceptionToTemplate(WoofExceptionToWoofTemplateModel link)
WoofChanges
WoofExceptionToWoofTemplateModel
.removeExceptionToTemplate
in interface WoofChanges
link
- WoofExceptionToWoofTemplateModel
.Change
to remove the link.public Change<WoofExceptionToWoofSectionInputModel> linkExceptionToSectionInput(WoofExceptionModel exception, WoofSectionInputModel sectionInput)
WoofChanges
WoofExceptionModel
to the WoofSectionInputModel
.linkExceptionToSectionInput
in interface WoofChanges
exception
- WoofExceptionModel
.sectionInput
- WoofSectionInputModel
.Change
to make the link.public Change<WoofExceptionToWoofSectionInputModel> removeExceptionToSectionInput(WoofExceptionToWoofSectionInputModel link)
WoofChanges
WoofExceptionToWoofSectionInputModel
.removeExceptionToSectionInput
in interface WoofChanges
link
- WoofExceptionToWoofSectionInputModel
.Change
to remove the link.public Change<WoofExceptionToWoofResourceModel> linkExceptionToResource(WoofExceptionModel exception, WoofResourceModel resource)
WoofChanges
WoofExceptionModel
to the WoofResourceModel
.linkExceptionToResource
in interface WoofChanges
exception
- WoofExceptionModel
.resource
- WoofResourceModel
.Change
to make the link.public Change<WoofExceptionToWoofResourceModel> removeExceptionToResource(WoofExceptionToWoofResourceModel link)
WoofChanges
WoofExceptionToWoofResourceModel
.removeExceptionToResource
in interface WoofChanges
link
- WoofExceptionToWoofResourceModel
.Change
to remove the link.public Change<WoofStartToWoofSectionInputModel> linkStartToSectionInput(WoofStartModel start, WoofSectionInputModel sectionInput)
WoofChanges
WoofStartModel
to the WoofSectionInputModel
.linkStartToSectionInput
in interface WoofChanges
start
- WoofStartModel
.sectionInput
- WoofSectionInputModel
.Change
to make the link.public Change<WoofStartToWoofSectionInputModel> removeStartToSectionInput(WoofStartToWoofSectionInputModel link)
WoofChanges
WoofStartToWoofSectionInputModel
.removeStartToSectionInput
in interface WoofChanges
link
- WoofStartToWoofSectionInputModel
.Change
to remove the link.Copyright © 2005–2016. All rights reserved.