Class StaticPost

All Implemented Interfaces:
Serializable, Cloneable, pt.ist.fenixframework.DomainObject

public class StaticPost extends StaticPost_Base
See Also:
  • Constructor Details

    • StaticPost

      public StaticPost(Post post)
  • Method Details

    • handle

      public void handle(Page page, TemplateContext local, TemplateContext global)
      Description copied from class: Component
      Provides the necessary info needed to render the component on a given page and context.
      Specified by:
      handle in class Component
      Parameters:
      page - the page where the component will be rendered.
      local - local context for the component.
      global - global context where the component is being rendered.
    • clone

      public StaticPost clone(CloneCache cloneCache)
      Specified by:
      clone in interface Cloneable
      Specified by:
      clone in class Component
    • delete

      public void delete()
      Overrides:
      delete in class Component
    • getName

      public String getName()
      Overrides:
      getName in class Component
      Returns:
      the name of the component.
    • getPage

      public Page getPage()
    • json

      public com.google.gson.JsonObject json()
      Specified by:
      json in class Component