Class AbstractContentEntity

    • Field Detail

      • lastModificationDate

        protected Date lastModificationDate
        Deprecated.
      • lastModifier

        protected User lastModifier
        Deprecated.
      • content

        protected String content
        Deprecated.
      • id

        protected long id
        Deprecated.
      • version

        protected int version
        Deprecated.
    • Constructor Detail

      • AbstractContentEntity

        protected AbstractContentEntity()
        Deprecated.
    • Method Detail

      • setLastModificationDate

        public void setLastModificationDate​(Date lastModificationDate)
        Deprecated.
      • setLastModifier

        public void setLastModifier​(User lastModifier)
        Deprecated.
      • setContent

        public void setContent​(String content)
        Deprecated.
      • setId

        public void setId​(long id)
        Deprecated.
        Description copied from interface: ContentEntity
        Set the id used for persistence of this entity.
        Specified by:
        setId in interface ContentEntity
      • getId

        public long getId()
        Deprecated.
        Specified by:
        getId in interface ContentEntity
        Returns:
        the id used for persistence of this entity.
      • getIdAsString

        public String getIdAsString()
        Deprecated.
      • setId

        public void setId​(ContentId id)
        Deprecated.
      • isMinorEdit

        public boolean isMinorEdit()
        Deprecated.
        Specified by:
        isMinorEdit in interface VersionedContent
        Returns:
        true if this entity at this current version is a minor edit. Currently, only attachments persist this property, and so will return false for all entities other than attachments.