Class EzsPlugin

All Implemented Interfaces:
IElement, IPlugin, ITopic, IDeletionSupport, IProtocolSupport, ISecuritySupport, ISeoSupport, IUriSupport, Serializable

public class EzsPlugin extends PortalElement implements IPlugin
Author:
vlygeros
See Also:
  • Constructor Details

    • EzsPlugin

      public EzsPlugin(IModule module, com.axemble.easysite.dao.domain.impl.PluginImpl pluginImpl)
      Parameters:
      module -
      pluginImpl -
  • Method Details

    • getNativeObject

      public Object getNativeObject()
      Description copied from interface: IElement
      Gets the native object underneath.
      Specified by:
      getNativeObject in interface IElement
      Returns:
      an object.
    • getName

      public String getName()
      Specified by:
      getName in interface ITopic
      Returns:
      The system name of the topic.
    • getLabel

      public String getLabel()
      Specified by:
      getLabel in interface ITopic
      Returns:
      The label of the topic.
    • getSite

      public ISite getSite()
      Description copied from interface: ITopic
      Retrieves the site of the topic.
      Specified by:
      getSite in interface ITopic
      Returns:
      a ISite object.
    • isRoot

      public boolean isRoot()
      Description copied from interface: ITopic
      Checks if the current topic is the root.
      Specified by:
      isRoot in interface ITopic
      Returns:
      true if the topic is the root, otherwise false.
    • isSystem

      public boolean isSystem()
      Description copied from interface: ITopic
      Checks if the current topic is a system topic.
      Specified by:
      isSystem in interface ITopic
      Returns:
      true if the topic is a system topic, otherwise false.
    • delete

      public void delete(IContext context)
      Description copied from interface: IDeletionSupport
      Deletes the IElement object.
      Specified by:
      delete in interface IDeletionSupport
      Parameters:
      context - The Execution context.
    • getURI

      public String getURI()
      Description copied from interface: IUriSupport
      Gets the URI of the object supporting this interface
      Specified by:
      getURI in interface IUriSupport
      Returns:
      A String object.
    • getSEO

      public SEO getSEO()
      Specified by:
      getSEO in interface ISeoSupport
    • setSEO

      public void setSEO(SEO seo)
      Specified by:
      setSEO in interface ISeoSupport
    • getScope

      public IPluginScope getScope()
      Specified by:
      getScope in interface IPlugin
    • getConfiguration

      public IPluginConfiguration getConfiguration()
      Specified by:
      getConfiguration in interface IPlugin
    • getActivatedDate

      public Date getActivatedDate()
      Description copied from interface: ITopic
      Gets the activated date.
      Specified by:
      getActivatedDate in interface ITopic
      Returns:
      A Date object.
    • getExpiredDate

      public Date getExpiredDate()
      Description copied from interface: ITopic
      Gets the expired date.
      Specified by:
      getExpiredDate in interface ITopic
      Returns:
      A Date object.
    • includeToIndex

      public void includeToIndex(boolean include)
      Description copied from interface: ITopic
      Allows to include the topic to the index.
      Specified by:
      includeToIndex in interface ITopic
      Parameters:
      include - The include parameter.
    • includeToStats

      public void includeToStats(boolean include)
      Description copied from interface: ITopic
      Allows to include the topic to the statistics.
      Specified by:
      includeToStats in interface ITopic
      Parameters:
      include - The include parameter.
    • isActive

      public boolean isActive()
      Description copied from interface: ITopic
      Checks if the topic is active.
      Specified by:
      isActive in interface ITopic
      Returns:
      true if the topic is active, false otherwise.
    • isIncludedToIndex

      public boolean isIncludedToIndex()
      Description copied from interface: ITopic
      Checks if the topic is included to the index.
      Specified by:
      isIncludedToIndex in interface ITopic
      Returns:
      true if the topic is included to the index, false otherwise.
    • isIncludedToStats

      public boolean isIncludedToStats()
      Description copied from interface: ITopic
      Checks if the topic is included to the statistics.
      Specified by:
      isIncludedToStats in interface ITopic
      Returns:
      true if the topic is included to the statistics, false otherwise.
    • setActive

      public void setActive(boolean active)
      Description copied from interface: ITopic
      Allows to activate the topic.
      Specified by:
      setActive in interface ITopic
      Parameters:
      active - The active parameter.
    • getParent

      public Object getParent()
      Description copied from interface: ITopic
      Gets the parent object.
      Specified by:
      getParent in interface ITopic
      Returns:
      a ISite object if the topic is a root topic, a IFolder object otherwise.