Interface SnippetHandler

All Known Implementing Classes:
PublishSnippetHandler

public interface SnippetHandler
Implement this interface to do something with the snippet when page content is duplicated.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(Entity snippet, CommandContext commandContext)
    Do something with the snippet (i.e.
  • Method Details

    • handle

      void handle(Entity snippet, CommandContext commandContext) throws Exception
      Do something with the snippet (i.e. copy related sections).
      Parameters:
      snippet - The snippet to handle.
      commandContext - The command context.
      Throws:
      Exception