Interface NodeResolutionService

All Known Implementing Classes:
StandardNodeResolutionService

public interface NodeResolutionService
Service interface for structure generation processes. Concrete OOTB implementations will allow extensiosn to the functionality through overriding the methods defined in this interface

Supported API: true

Extendable: true
  • Method Details

    • resolveNodeForGeneration

      Method to resolve the source structure nodes to a resolution copy, reuse or remove.
      Parameters:
      sourceNodes - The nodes from the the source structure i.e. template from which to generate a structure
      Returns:
      A map identifying which nodes shoudl be reused copied or removed from the structure
      Throws:
      WTException -

      Supported API: true
    • resolveNodeForRegeneration

      Map<NavigationUnit,NodeResolutionService.ResolutionKey> resolveNodeForRegeneration(boolean isNew, NavigationUnit sourceNode) throws WTException
      Method to resolve the structure nodes to a resolution copy, reuse or remove. N.B the template structure will not be modified these resolutions are translated into to changes to the target structure
      Parameters:
      targetNodes - The nodes in the current structure being regenerated
      sourceNodes - The nodes from the the source structure (i.e. template used for original generation)
      Returns:
      A map identifying which nodes should be reused copied or removed from the structure
      Throws:
      WTException -

      Supported API: true
    • postGenerate

      void postGenerate(CopyObjectInfo[] originalsToCopies)
      Copy forward any attributes from the originals to their copies
      Parameters:
      originalsToCopies - An array of CopyObjectInfo objects containing the originals and copied objects

      Supported API: true
    • persistCustomCollections

      void persistCustomCollections() throws WTException
      Persists any custom objects created during the generate/regenerate process i.e. configurable links
      Throws:
      WTException -

      Supported API: true