Class EzsSite

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

public class EzsSite extends PortalElement implements ISite
Author:
vlygeros
See Also:
  • Constructor Details

    • EzsSite

      public EzsSite(IModule module, com.axemble.easysite.dao.domain.impl.SiteImpl siteImpl)
      Site constructor
      Parameters:
      module - The site module
      siteImpl - The native object
  • Method Details

    • getCreatedBy

      public IUser getCreatedBy()
    • getCreatedDate

      public Date getCreatedDate()
      Description copied from interface: ISite
      Gets the created date.
      Specified by:
      getCreatedDate in interface ISite
      Returns:
      a Date object.
    • getDescription

      public String getDescription()
      Description copied from interface: ISite
      Gets the description of the site.
      Specified by:
      getDescription in interface ISite
      Returns:
      a String of the site.
    • getLabel

      public String getLabel()
      Specified by:
      getLabel in interface ISite
      Returns:
      The label of the site
    • getModifiedBy

      public IUser getModifiedBy()
    • getModifiedDate

      public Date getModifiedDate()
    • getName

      public String getName()
      Specified by:
      getName in interface ISite
      Returns:
      The system name of the site
    • setName

      public void setName(String name)
      Description copied from interface: ISite
      Sets the name of the site.
      Specified by:
      setName in interface ISite
      Parameters:
      name - the new name to set.
    • setCreatedDate

      public void setCreatedDate(Date date)
      Description copied from interface: ISite
      Sets the created date.
      Specified by:
      setCreatedDate in interface ISite
      Parameters:
      date - The Date to set.
    • setDescription

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

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

      public void setModifiedBy(IUser user)
    • setModifiedDate

      public void setModifiedDate(Date date)
    • getNativeObject

      public Object getNativeObject()
      Description copied from interface: IElement
      Gets the native object underneath.
      Specified by:
      getNativeObject in interface IElement
      Returns:
      an object.
    • 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.
    • 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.
    • getLibrary

      public ILibrary getLibrary()
      Description copied from interface: ISite
      Gets the associated ILibrary object.
      Specified by:
      getLibrary in interface ISite
      Returns:
      A ILibrary object.
    • getLibraries

      public Collection getLibraries()
      Description copied from interface: ISite
      Gets all the additional libraries.
      Specified by:
      getLibraries in interface ISite
      Returns:
      A java.util.Collection of ILibrary objects.
    • getOrganization

      public IOrganization getOrganization()
      Description copied from interface: ISite
      Gets the organization object.
      Specified by:
      getOrganization in interface ISite
      Returns:
      A IOrganization object.
    • delete

      public void delete(IContext context, boolean deleteLinkedLibrary)
      Description copied from interface: ISite
      Deletes a site and allows to specify if the linked ILibrary object should be deleted.
      Specified by:
      delete in interface ISite
      Parameters:
      context - The execution context.
      deleteLinkedLibrary - Flag to specify if the linked library should be deleted.
    • getHeadTagCode

      public final String getHeadTagCode()
      Description copied from interface: ISite
      Gets the head tag code.
      Specified by:
      getHeadTagCode in interface ISite
      Returns:
      the headTagCode
    • setHeadTagCode

      public final void setHeadTagCode(String headTagCode)
      Description copied from interface: ISite
      Sets the head tag code.
      Specified by:
      setHeadTagCode in interface ISite
      Parameters:
      headTagCode - the headTagCode to set
    • getBodyTagCode

      public final String getBodyTagCode()
      Description copied from interface: ISite
      Gets the body tag code.
      Specified by:
      getBodyTagCode in interface ISite
      Returns:
      the bodyTagCode
    • setBodyTagCode

      public final void setBodyTagCode(String bodyTagCode)
      Description copied from interface: ISite
      Sets the body tag code.
      Specified by:
      setBodyTagCode in interface ISite
      Parameters:
      bodyTagCode - the bodyTagCode to set
    • getCssClassRules

      public final String getCssClassRules()
      Description copied from interface: ISite
      Gets the CSS class rules.
      Specified by:
      getCssClassRules in interface ISite
      Returns:
      the cssClassRules
    • setCssClassRules

      public final void setCssClassRules(String cssClassRules)
      Description copied from interface: ISite
      Sets the CSS class rules.
      Specified by:
      setCssClassRules in interface ISite
      Parameters:
      cssClassRules - the cssClassRules to set
    • getDomains

      public Collection getDomains()
      Description copied from interface: ISite
      Returns all the domains associated with this site.
      Specified by:
      getDomains in interface ISite
      Returns:
      A java.util.Collection of java.lang.String domain names.
    • setDomains

      public void setDomains(Collection domains)
      Description copied from interface: ISite
      Sets the domains associated with this site.
      Specified by:
      setDomains in interface ISite
      Parameters:
      domains - A java.util.Collection of java.lang.String domain names
    • getSEO

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

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