Class EzsAlias

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

public class EzsAlias extends PortalElement implements IAlias
Author:
vlygeros
See Also:
  • Constructor Details

    • EzsAlias

      public EzsAlias(IModule module, com.axemble.easysite.dao.domain.impl.AliasImpl aliasImpl)
  • 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()
      Description copied from interface: IAlias
      Gets the name of the alias.
      Specified by:
      getName in interface IAlias
      Returns:
      The system name of the alias.
    • setName

      public void setName(String name)
      Description copied from interface: IAlias
      Sets the name of the alias.
      Specified by:
      setName in interface IAlias
      Parameters:
      name - The name to set the alias with.
    • setLabel

      public void setLabel(String label)
      Description copied from interface: IAlias
      Sets the label of the alias.
      Specified by:
      setLabel in interface IAlias
      Parameters:
      label - the new label to set.
    • getLabel

      public String getLabel()
      Description copied from interface: IAlias
      Gets the label of the alias.
      Specified by:
      getLabel in interface IAlias
      Returns:
      The label of the alias.
    • setDescription

      public void setDescription(String description)
      Description copied from interface: IAlias
      Sets the description of the alias.
      Specified by:
      setDescription in interface IAlias
      Parameters:
      description - the new description to set.
    • getDescription

      public String getDescription()
      Description copied from interface: IAlias
      Gets the description of the alias.
      Specified by:
      getDescription in interface IAlias
      Returns:
      a java.lang.String of the alias.
    • save

      public boolean save()
    • 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.
    • getTarget

      public IElement getTarget()
      Description copied from interface: IAlias
      Gets the target as an IElement object.
      Specified by:
      getTarget in interface IAlias
      Returns:
      A IElement object.
    • getSEO

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

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

      public String getDigest()
      Description copied from interface: IAlias
      Gets the digest of the alias.
      Specified by:
      getDigest in interface IAlias
      Returns:
      A java.lang.String value.
    • setDigest

      public void setDigest(String digest)
      Description copied from interface: IAlias
      Sets the digest of the alias.
      Specified by:
      setDigest in interface IAlias
      Parameters:
      digest - The digest of the alias to set.
    • getActivatedDate

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

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

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

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

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

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

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

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