Class SimpleContent
java.lang.Object
com.atlassian.confluence.security.denormalisedpermissions.impl.content.domain.SimpleContent
- All Implemented Interfaces:
NotExportable
,SimplePageContent
,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()- Specified by:
getId
in interfaceSimplePageContent
-
setId
public void setId(long id) -
getTitle
- Specified by:
getTitle
in interfaceSimplePageContent
-
setTitle
-
getCreationDate
- Specified by:
getCreationDate
in interfaceSimplePageContent
-
setCreationDate
-
getLastModificationDate
- Specified by:
getLastModificationDate
in interfaceSimplePageContent
-
setLastModificationDate
-
setStatus
-
getStatus
-
getContentStatus
- Specified by:
getContentStatus
in interfaceSimplePageContent
-
getPosition
- Specified by:
getPosition
in interfaceSimplePageContent
-
setPosition
-
getParentId
- Specified by:
getParentId
in interfaceSimplePageContent
-
setParentId
-
getSpaceId
- Specified by:
getSpaceId
in interfaceSimplePageContent
-
setSpaceId
-
mergeFieldsFrom
Updates all fields from other (except id because id must not be changed).- Parameters:
other
- object to merge.
-
from
-