Class SimpleContent
java.lang.Object
com.atlassian.confluence.security.denormalisedpermissions.impl.content.domain.SimpleContent
- All Implemented Interfaces:
NotExportable
,Serializable
Lite representation of content table used by denormalised permissions.
Contains only crucial information.
- Since:
- 7.11.0
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSimpleContent
(long id, Long spaceId, Long parentId, String title, Instant creationDate, Instant lastModificationDate, String status, Integer position) SimpleContent
(long id, Long spaceId, Long parentId, String title, Date creationDate, Date lastModificationDate, String status, Integer position) -
Method Summary
Modifier and TypeMethodDescriptionstatic SimpleContent
long
getId()
getTitle()
void
mergeFieldsFrom
(SimpleContent other) Updates all fields from other (except id because id must not be changed).void
setCreationDate
(Instant creationDate) void
setId
(long id) void
setLastModificationDate
(Instant lastModificationDate) void
setParentId
(Long parentId) void
setPosition
(Integer position) void
setSpaceId
(Long spaceId) void
setStatus
(SimpleContent.ContentStatus status) void
-
Constructor Details
-
SimpleContent
public SimpleContent() -
SimpleContent
-
SimpleContent
-
-
Method Details
-
getId
public long getId() -
setId
public void setId(long id) -
getTitle
-
setTitle
-
getCreationDate
-
setCreationDate
-
getLastModificationDate
-
setLastModificationDate
-
getStatus
-
setStatus
-
getPosition
-
setPosition
-
getParentId
-
setParentId
-
getSpaceId
-
setSpaceId
-
mergeFieldsFrom
Updates all fields from other (except id because id must not be changed).- Parameters:
other
- object to merge.
-
from
-