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 SimpleContentlonggetId()getTitle()voidmergeFieldsFrom(SimpleContent other) Updates all fields from other (except id because id must not be changed).voidsetCreationDate(Instant creationDate) voidsetId(long id) voidsetLastModificationDate(Instant lastModificationDate) voidsetParentId(Long parentId) voidsetPosition(Integer position) voidsetSpaceId(Long spaceId) voidsetStatus(SimpleContent.ContentStatus status) void
-
Constructor Details
-
SimpleContent
public SimpleContent() -
SimpleContent
-
SimpleContent
-
-
Method Details
-
getId
public long getId()- Specified by:
getIdin interfaceSimplePageContent
-
setId
public void setId(long id) -
getTitle
- Specified by:
getTitlein interfaceSimplePageContent
-
setTitle
-
getCreationDate
- Specified by:
getCreationDatein interfaceSimplePageContent
-
setCreationDate
-
getLastModificationDate
- Specified by:
getLastModificationDatein interfaceSimplePageContent
-
setLastModificationDate
-
setStatus
-
getStatus
-
getContentStatus
- Specified by:
getContentStatusin interfaceSimplePageContent
-
getPosition
- Specified by:
getPositionin interfaceSimplePageContent
-
setPosition
-
getParentId
- Specified by:
getParentIdin interfaceSimplePageContent
-
setParentId
-
getSpaceId
- Specified by:
getSpaceIdin interfaceSimplePageContent
-
setSpaceId
-
mergeFieldsFrom
Updates all fields from other (except id because id must not be changed).- Parameters:
other- object to merge.
-
from
-