Class SimpleContent

    • Constructor Detail

      • SimpleContent

        public SimpleContent()
      • SimpleContent

        public SimpleContent​(long id,
                             Long spaceId,
                             Long parentId,
                             String title,
                             Date creationDate,
                             Date lastModificationDate,
                             String status,
                             Integer position)
    • Method Detail

      • getId

        public long getId()
      • setId

        public void setId​(long id)
      • getTitle

        public String getTitle()
      • setTitle

        public void setTitle​(String title)
      • getCreationDate

        public Instant getCreationDate()
      • setCreationDate

        public void setCreationDate​(Instant creationDate)
      • getLastModificationDate

        public Instant getLastModificationDate()
      • setLastModificationDate

        public void setLastModificationDate​(Instant lastModificationDate)
      • getPosition

        public Integer getPosition()
      • setPosition

        public void setPosition​(Integer position)
      • getParentId

        public Long getParentId()
      • setParentId

        public void setParentId​(Long parentId)
      • getSpaceId

        public Long getSpaceId()
      • setSpaceId

        public void setSpaceId​(Long spaceId)
      • mergeFieldsFrom

        public void mergeFieldsFrom​(SimpleContent other)
        Updates all fields from other (except id because id must not be changed).
        Parameters:
        other - object to merge.