Class EzsContent

All Implemented Interfaces:
IContent, IElement, IProtocolSupport, Serializable

public class EzsContent extends PortalElement implements IContent
Author:
vlygeros
See Also:
  • Constructor Details

    • EzsContent

      public EzsContent(IModule module, com.axemble.easysite.dao.domain.impl.ContentVersionImpl contentVersionImpl)
      Parameters:
      module -
  • 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.
    • getContentContainer

      public IContentContainer getContentContainer()
      Description copied from interface: IContent
      Gets the content container object.
      Specified by:
      getContentContainer in interface IContent
      Returns:
      A IContentContainer object.
    • getStatus

      public int getStatus()
      Description copied from interface: IContent
      Gets the status of the content.
      Specified by:
      getStatus in interface IContent
      Returns:
      An int value.
    • getBlock

      public IBlock getBlock()
      Description copied from interface: IContent
      Gets the root block of the content.
      Specified by:
      getBlock in interface IContent
      Returns:
      A IBlock object.
    • getCreatedBy

      public IUser getCreatedBy()
      Description copied from interface: IContent
      Gets the creator of the content.
      Specified by:
      getCreatedBy in interface IContent
      Returns:
      a IUser object.
    • getCreatedDate

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

      public Date getModifiedDate()
      Description copied from interface: IContent
      Gets the modified date.
      Specified by:
      getModifiedDate in interface IContent
      Returns:
      A Date object.
    • getOwner

      public IUser getOwner()
      Description copied from interface: IContent
      Gets the owner of the content.
      Specified by:
      getOwner in interface IContent
      Returns:
      a IUser object.
    • save

      public boolean save(IContext context)
      Description copied from interface: IElement
      Saves or updates the element.
      Specified by:
      save in interface IElement
      Overrides:
      save in class PortalElement
      Parameters:
      context - The Execution context.
      Returns:
      return true if succeeded, false otherwise.