Uses of Class
com.atlassian.confluence.api.model.content.ContentStatus
Packages that use ContentStatus
Package
Description
This package contains the code which communicates with Confluence via REST API.
-
Uses of ContentStatus in com.atlassian.confluence.api.impl.service.content
Methods in com.atlassian.confluence.api.impl.service.content with parameters of type ContentStatusModifier and TypeMethodDescriptionAttachmentServiceImpl.addAttachments
(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads) AttachmentServiceImpl.addAttachments
(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions) -
Uses of ContentStatus in com.atlassian.confluence.api.impl.service.content.finder
Methods in com.atlassian.confluence.api.impl.service.content.finder that return types with arguments of type ContentStatusMethods in com.atlassian.confluence.api.impl.service.content.finder with parameters of type ContentStatusMethod parameters in com.atlassian.confluence.api.impl.service.content.finder with type arguments of type ContentStatusModifier and TypeMethodDescriptionstatic Predicate<? super ContentEntityObject>
FinderPredicates.statusPredicate
(List<ContentStatus> statuses) AbstractContentFinder.withStatus
(Iterable<ContentStatus> statuses) -
Uses of ContentStatus in com.atlassian.confluence.api.impl.service.content.typebinding
Method parameters in com.atlassian.confluence.api.impl.service.content.typebinding with type arguments of type ContentStatusModifier and TypeMethodDescriptionAttachmentContentTypeApiSupport.getById
(ContentId attachmentId, List<ContentStatus> statuses, Expansions expansions) -
Uses of ContentStatus in com.atlassian.confluence.api.model.content
Fields in com.atlassian.confluence.api.model.content declared as ContentStatusModifier and TypeFieldDescriptionstatic final ContentStatus
ContentStatus.CURRENT
The default state of content ready to be viewed and edited.static final ContentStatus
ContentStatus.DRAFT
The state of content that has not yet been publishedstatic final ContentStatus
ContentStatus.HISTORICAL
The state of content that is not at its latest versionstatic final ContentStatus
ContentStatus.TRASHED
The state of content that has been trashed but not yet purged from the system.Fields in com.atlassian.confluence.api.model.content with type parameters of type ContentStatusMethods in com.atlassian.confluence.api.model.content that return ContentStatusModifier and TypeMethodDescriptionContent.getStatus()
ContentSelector.getStatus()
static ContentStatus
Return theContentType
for the given type string.Methods in com.atlassian.confluence.api.model.content with parameters of type ContentStatusModifier and TypeMethodDescriptionContent.ContentBuilder.status
(ContentStatus status) ContentSelector.ContentSelectorBuilder.status
(ContentStatus status) Method parameters in com.atlassian.confluence.api.model.content with type arguments of type ContentStatus -
Uses of ContentStatus in com.atlassian.confluence.api.model.search
Methods in com.atlassian.confluence.api.model.search that return types with arguments of type ContentStatusMethod parameters in com.atlassian.confluence.api.model.search with type arguments of type ContentStatusModifier and TypeMethodDescriptionSearchContext.Builder.contentStatus
(List<ContentStatus> contentStatuses) -
Uses of ContentStatus in com.atlassian.confluence.api.service.content
Methods in com.atlassian.confluence.api.service.content with parameters of type ContentStatusModifier and TypeMethodDescriptionAttachmentService.addAttachments
(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads) Add one or more attachments to a piece ofContent
.AttachmentService.addAttachments
(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions) Add one or more attachments to a piece ofContent
.boolean
AttachmentService.Validator.canCreateAttachments
(ContentId containerId, ContentStatus status) Checks if the user is permitted to add attachments to the given contentContentService.ParameterContentFinder.withStatus
(ContentStatus... status) Restrict the fetched content to that matching the given statuses.Method parameters in com.atlassian.confluence.api.service.content with type arguments of type ContentStatusModifier and TypeMethodDescriptionContentService.ParameterContentFinder.withStatus
(Iterable<ContentStatus> statuses) Restrict the fetched content to that matching the given statuses. -
Uses of ContentStatus in com.atlassian.confluence.api.testsupport.matchers.model.content
Methods in com.atlassian.confluence.api.testsupport.matchers.model.content with parameters of type ContentStatusModifier and TypeMethodDescriptionstatic org.hamcrest.Matcher<Content>
ContentMatchers.hasStatus
(ContentStatus contentStatus) -
Uses of ContentStatus in com.atlassian.confluence.core
Methods in com.atlassian.confluence.core that return ContentStatusModifier and TypeMethodDescriptionContentEntityObject.getContentStatusObject()
Get the api layer enum for content status, distinguishing CURRENT/HISTORICAL/DRAFT/TRASHED. -
Uses of ContentStatus in com.atlassian.confluence.core.persistence.hibernate
Method parameters in com.atlassian.confluence.core.persistence.hibernate with type arguments of type ContentStatusModifier and TypeMethodDescriptionConfluenceHibernateObjectDao.getContentStatusStringList
(List<ContentStatus> statuses) ConfluenceHibernateObjectDao.getStatusNames
(List<ContentStatus> statuses) ConfluenceHibernateObjectDao.scanFilteredContents
(Class clazz, Space space, List<ContentStatus> statuses, LimitedRequest pageRequest) ConfluenceHibernateObjectDao.scanFilteredContents
(Class clazz, List<ContentStatus> statuses, LimitedRequest pageRequest) -
Uses of ContentStatus in com.atlassian.confluence.dmz.pages
Method parameters in com.atlassian.confluence.dmz.pages with type arguments of type ContentStatusModifier and TypeMethodDescriptionlong
AttachmentManagerInternal.countAttachmentsBySpaceAndStatuses
(Space space, List<ContentStatus> statuses) This method only count the latest versions of attachments by statuses in a spacelong
AttachmentManagerInternal.countAttachmentsByStatuses
(List<ContentStatus> statuses) This method only count the latest versions of attachments by statuseslong
CommentManagerInternal.countCommentByStatuses
(List<ContentStatus> contentStatuses) Retrieve the latest content count of specific content type for a given space with a particular status.long
CommentManagerInternal.countSpaceCommentByStatuses
(Space space, List<ContentStatus> contentStatuses) Retrieve the latest content count of specific content type for a given space with a particular status.PageManagerInternal.getAbstractPages
(LocalDate creationDay, ZoneId zone, List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super AbstractPage>... filter) @NonNull PageResponse<AbstractPage>
PageManagerInternal.getFilteredAbstractPages
(Space space, String title, List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super AbstractPage>... filter) Returns pages and blog posts that belong to the space, exactly match the given title, are in any of the specified statuses, and match the given predicate, limited to the pagination request.@NonNull PageResponse<AbstractPage>
PageManagerInternal.getFilteredAbstractPages
(String title, List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super AbstractPage>... filter) Returns pages and blog posts that exactly match the given title, are in any of the specified statuses, and match the given predicate, limited to the pagination request.@NonNull PageResponse<Attachment>
AttachmentManagerInternal.scanFilteredAttachments
(Space space, List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super Attachment>... filter) Retrieves all the existing attachments associated with the instance of Confluence, while applying the specified pagination parameters to limit the number of results returned in each request.@NonNull PageResponse<Attachment>
AttachmentManagerInternal.scanFilteredAttachments
(List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super Attachment>... filter) Retrieves all the current attachments within the specified space, with the results limited according to the provided pagination parameters.@NonNull PageResponse<Comment>
CommentManagerInternal.scanFilteredComments
(Space space, List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super Comment>... filter) Retrieves all the existing comments associated with the instance of Confluence, while applying the specified pagination parameters to limit the number of results returned in each request.@NonNull PageResponse<Comment>
CommentManagerInternal.scanFilteredComments
(List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super Comment>... filter) Retrieves all the current comments within the specified space, with the results limited according to the provided pagination parameters. -
Uses of ContentStatus in com.atlassian.confluence.event.events.content.page.synchrony
Methods in com.atlassian.confluence.event.events.content.page.synchrony that return ContentStatusConstructors in com.atlassian.confluence.event.events.content.page.synchrony with parameters of type ContentStatusModifierConstructorDescriptionContentUpdatedEvent
(ConfluenceUser user, ContentId contentId, ContentStatus contentStatus, String spaceKey, String syncRev, PageUpdateTrigger updateTrigger) -
Uses of ContentStatus in com.atlassian.confluence.impl.content
Method parameters in com.atlassian.confluence.impl.content with type arguments of type ContentStatusModifier and TypeMethodDescriptionlong
DefaultCommentManager.countCommentByStatuses
(List<ContentStatus> contentStatuses) long
DefaultCommentManager.countSpaceCommentByStatuses
(Space space, List<ContentStatus> contentStatuses) DefaultPageManager.getAbstractPages
(LocalDate creationDay, ZoneId zone, List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super AbstractPage>... filter) @NonNull PageResponse<AbstractPage>
DefaultPageManager.getFilteredAbstractPages
(Space space, String title, List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super AbstractPage>... filter) @NonNull PageResponse<AbstractPage>
DefaultPageManager.getFilteredAbstractPages
(String title, List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super AbstractPage>... filter) @NonNull PageResponse<Comment>
DefaultCommentManager.scanFilteredComments
(Space space, List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super Comment>... filter) @NonNull PageResponse<Comment>
DefaultCommentManager.scanFilteredComments
(List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super Comment>... filter) -
Uses of ContentStatus in com.atlassian.confluence.impl.pages.attachments
Method parameters in com.atlassian.confluence.impl.pages.attachments with type arguments of type ContentStatusModifier and TypeMethodDescriptionlong
ReadThroughCachingAttachmentManager.countAttachmentsBySpaceAndStatuses
(Space space, List<ContentStatus> statuses) long
ReadThroughCachingAttachmentManager.countAttachmentsByStatuses
(List<ContentStatus> statuses) long
ReadThroughCachingAttachmentDao.countLatestVersionsOfAttachmentsBySpaceAndStatuses
(Space space, List<ContentStatus> statuses) long
ReadThroughCachingAttachmentDao.countLatestVersionsOfAttachmentsByStatuses
(List<ContentStatus> statuses) @NonNull List<Attachment>
ReadThroughCachingAttachmentDao.scanFilteredAttachments
(Space space, List<ContentStatus> statuses, LimitedRequest pageRequest) ReadThroughCachingAttachmentDao.scanFilteredAttachments
(List<ContentStatus> statuses, LimitedRequest pageRequest) @NonNull PageResponse<Attachment>
ReadThroughCachingAttachmentManager.scanFilteredAttachments
(Space space, List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super Attachment>... filter) @NonNull PageResponse<Attachment>
ReadThroughCachingAttachmentManager.scanFilteredAttachments
(List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super Attachment>... filter) -
Uses of ContentStatus in com.atlassian.confluence.impl.service.finder.content
Methods in com.atlassian.confluence.impl.service.finder.content with parameters of type ContentStatusMethod parameters in com.atlassian.confluence.impl.service.finder.content with type arguments of type ContentStatus -
Uses of ContentStatus in com.atlassian.confluence.internal.pages.persistence
Method parameters in com.atlassian.confluence.internal.pages.persistence with type arguments of type ContentStatusModifier and TypeMethodDescriptionlong
CommentDaoInternal.countCommentByStatuses
(List<ContentStatus> contentStatuses) Retrieve the latest content count of specific content type for a given space with a particular status.long
AttachmentDaoInternal.countLatestVersionsOfAttachmentsBySpaceAndStatuses
(Space space, List<ContentStatus> statuses) Returns the number of the latest versions of attachments by their statuses in a spacelong
AttachmentDaoInternal.countLatestVersionsOfAttachmentsByStatuses
(List<ContentStatus> statuses) Returns the number of the latest versions of attachments by their statuseslong
CommentDaoInternal.countSpaceCommentByStatuses
(Space space, List<ContentStatus> contentStatuses) Retrieve the latest content count of specific content type for a given space with a particular status.PageDaoInternal.getAbstractPages
(Space space, String title, List<ContentStatus> statuses, LimitedRequest pageRequest) PageDaoInternal.getAbstractPages
(com.atlassian.core.util.DateUtils.DateRange creationDate, List<ContentStatus> statuses, LimitedRequest pageRequest) PageDaoInternal.getAbstractPages
(String title, List<ContentStatus> statuses, LimitedRequest pageRequest) AttachmentDaoInternal.scanFilteredAttachments
(Space space, List<ContentStatus> statuses, LimitedRequest pageRequest) AttachmentDaoInternal.scanFilteredAttachments
(List<ContentStatus> statuses, LimitedRequest pageRequest) CommentDaoInternal.scanFilteredComments
(List<ContentStatus> statuses, LimitedRequest pageRequest) CommentDaoInternal.scanFilteredSpaceComments
(Space space, List<ContentStatus> statuses, LimitedRequest pageRequest) -
Uses of ContentStatus in com.atlassian.confluence.pages
Methods in com.atlassian.confluence.pages that return ContentStatusModifier and TypeMethodDescriptionReadOnlyAttachment.getContentStatusObject()
Deprecated, for removal: This API element is subject to removal in a future version.Method parameters in com.atlassian.confluence.pages with type arguments of type ContentStatusModifier and TypeMethodDescriptionlong
DefaultAttachmentManager.countAttachmentsBySpaceAndStatuses
(Space space, List<ContentStatus> statuses) long
DelegatorAttachmentManager.countAttachmentsBySpaceAndStatuses
(Space space, List<ContentStatus> statuses) long
DefaultAttachmentManager.countAttachmentsByStatuses
(List<ContentStatus> statuses) long
DelegatorAttachmentManager.countAttachmentsByStatuses
(List<ContentStatus> statuses) @NonNull PageResponse<Attachment>
DefaultAttachmentManager.scanFilteredAttachments
(Space space, List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super Attachment>... filter) @NonNull PageResponse<Attachment>
DefaultAttachmentManager.scanFilteredAttachments
(List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super Attachment>... filter) @NonNull PageResponse<Attachment>
DelegatorAttachmentManager.scanFilteredAttachments
(Space space, List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super Attachment>... filter) @NonNull PageResponse<Attachment>
DelegatorAttachmentManager.scanFilteredAttachments
(List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super Attachment>... filter) -
Uses of ContentStatus in com.atlassian.confluence.pages.attachments
Method parameters in com.atlassian.confluence.pages.attachments with type arguments of type ContentStatusModifier and TypeMethodDescriptionlong
AbstractDelegatingAttachmentDao.countLatestVersionsOfAttachmentsBySpaceAndStatuses
(Space space, List<ContentStatus> statuses) long
AbstractDelegatingAttachmentDao.countLatestVersionsOfAttachmentsByStatuses
(List<ContentStatus> statuses) AbstractDelegatingAttachmentDao.scanFilteredAttachments
(Space space, List<ContentStatus> statuses, LimitedRequest pageRequest) AbstractDelegatingAttachmentDao.scanFilteredAttachments
(List<ContentStatus> statuses, LimitedRequest pageRequest) -
Uses of ContentStatus in com.atlassian.confluence.pages.persistence.dao
Methods in com.atlassian.confluence.pages.persistence.dao with parameters of type ContentStatusModifier and TypeMethodDescriptionPageDao.getDescendantIds
(Page page, ContentStatus... statuses) Deprecated, for removal: This API element is subject to removal in a future version.Finds the ids of all descendant pages of the given pageMethod parameters in com.atlassian.confluence.pages.persistence.dao with type arguments of type ContentStatusModifier and TypeMethodDescriptionPageDao.getChildrenIds
(Page page, List<ContentStatus> statuses) Deprecated, for removal: This API element is subject to removal in a future version.Finds the ids of all children pages of the given pagelong
PageDao.getPageCount
(@NonNull String spaceKey, List<ContentStatus> statuses) Deprecated, for removal: This API element is subject to removal in a future version.Get total number of pages in a space, within any of the given statuses. -
Uses of ContentStatus in com.atlassian.confluence.pages.persistence.dao.hibernate
Methods in com.atlassian.confluence.pages.persistence.dao.hibernate with parameters of type ContentStatusModifier and TypeMethodDescriptionHibernatePageDao.getDescendantIds
(Page page, ContentStatus... contentStatus) Method parameters in com.atlassian.confluence.pages.persistence.dao.hibernate with type arguments of type ContentStatusModifier and TypeMethodDescriptionlong
HibernateCommentDao.countCommentByStatuses
(List<ContentStatus> contentStatuses) long
AbstractHibernateAttachmentDao.countLatestVersionsOfAttachmentsBySpaceAndStatuses
(Space space, List<ContentStatus> statuses) long
AbstractHibernateAttachmentDao.countLatestVersionsOfAttachmentsByStatuses
(List<ContentStatus> statuses) long
HibernateCommentDao.countSpaceCommentByStatuses
(Space space, List<ContentStatus> contentStatuses) HibernatePageDao.getAbstractPages
(Space space, String title, List<ContentStatus> statuses, LimitedRequest pageRequest) HibernatePageDao.getAbstractPages
(com.atlassian.core.util.DateUtils.DateRange range, List<ContentStatus> statuses, LimitedRequest pageRequest) HibernatePageDao.getAbstractPages
(String title, List<ContentStatus> statuses, LimitedRequest pageRequest) HibernatePageDao.getChildrenIds
(Page page, List<ContentStatus> contentStatus) long
HibernatePageDao.getPageCount
(@NonNull String spaceKey, List<ContentStatus> statuses) AbstractHibernateAttachmentDao.scanFilteredAttachments
(Space space, List<ContentStatus> statuses, LimitedRequest pageRequest) AbstractHibernateAttachmentDao.scanFilteredAttachments
(List<ContentStatus> statuses, LimitedRequest pageRequest) HibernateCommentDao.scanFilteredComments
(List<ContentStatus> statuses, LimitedRequest pageRequest) HibernateCommentDao.scanFilteredSpaceComments
(Space space, List<ContentStatus> statuses, LimitedRequest pageRequest) -
Uses of ContentStatus in com.atlassian.confluence.plugins.restapi.experimental.resources
Methods in com.atlassian.confluence.plugins.restapi.experimental.resources with parameters of type ContentStatusModifier and TypeMethodDescriptionjavax.ws.rs.core.Response
RelationResource.create
(String sourceType, String sourceKey, String relationName, String targetType, String targetKey, ContentStatus sourceStatus, ContentStatus targetStatus, Integer sourceVersion, Integer targetVersion) Add a relationship between two user, space, or content entities.javax.ws.rs.core.Response
RelationResource.delete
(String sourceType, String sourceKey, String relationName, String targetType, String targetKey, ContentStatus sourceStatus, ContentStatus targetStatus, Integer sourceVersion, Integer targetVersion) Remove a relationship between two user, space, or content entities.javax.ws.rs.core.Response
RelationResource.isRelated
(String sourceType, String sourceKey, String relationName, String targetType, String targetKey, ContentStatus sourceStatus, ContentStatus targetStatus, Integer sourceVersion, Integer targetVersion) Determines whether a relationship exists between two user, space or content entities. -
Uses of ContentStatus in com.atlassian.confluence.plugins.restapi.resources
Methods in com.atlassian.confluence.plugins.restapi.resources with parameters of type ContentStatusModifier and TypeMethodDescriptionAttachmentResource.createAttachments
(ContentId containerId, ContentStatus containerStatus, boolean allowDuplicated, String expand, List<com.atlassian.plugins.rest.api.multipart.FilePart> fileParts, @Nullable List<com.atlassian.plugins.rest.api.multipart.FilePart> comments, @Nullable List<com.atlassian.plugins.rest.api.multipart.FilePart> minorEdits, @Nullable List<com.atlassian.plugins.rest.api.multipart.FilePart> hiddens) ContentResource.createContent
(Content content, ContentStatus status, String expand) javax.ws.rs.core.Response
ContentResource.delete
(ContentId contentId, ContentStatus status) ContentBlueprintResource.publishLegacyDraft
(ContentId draftId, Content content, ContentStatus status, String expand) ContentBlueprintResource.publishSharedDraft
(ContentId draftId, Content content, ContentStatus status, String expand) ContentResource.update
(ContentId contentId, Content content, ContentStatus status, ContentDraftService.ConflictPolicy conflictPolicy, boolean asyncReconciliation) Method parameters in com.atlassian.confluence.plugins.restapi.resources with type arguments of type ContentStatusModifier and TypeMethodDescriptionContentResource.getContent
(String type, String spaceKey, String title, List<ContentStatus> statuses, String postingDay, String expand, int start, int limit, List<String> ids, javax.ws.rs.core.UriInfo uriInfo) ContentResource.getContentByGraph
(ContentId id, String expand, String type, String spaceKey, String title, String postingDay, List<ContentStatus> statuses, Integer version, int offset, String afterOffset, int limit, javax.ws.rs.core.UriInfo uriInfo) ContentResource.getContentById
(ContentId id, List<ContentStatus> statuses, Integer version, String expand) ContentResource.scanContent
(String spaceKey, List<ContentStatus> statuses, String expand, int limit, String cursor, String type, javax.ws.rs.core.UriInfo uriInfo) -
Uses of ContentStatus in com.atlassian.confluence.rest.client
Fields in com.atlassian.confluence.rest.client with type parameters of type ContentStatusModifier and TypeFieldDescriptionprotected List<ContentStatus>
AbstractRemoteContentService.AbstractRemoteContentFinder.statuses
Deprecated.since 8.7.0.Methods in com.atlassian.confluence.rest.client that return types with arguments of type ContentStatusModifier and TypeMethodDescriptionprotected List<ContentStatus>
AbstractRemoteContentService.AbstractRemoteContentFinder.getStatuses()
Methods in com.atlassian.confluence.rest.client with parameters of type ContentStatusModifier and TypeMethodDescriptionRemoteAttachmentService.addAttachmentsCompletionStage
(ContentId contentId, ContentStatus status, Collection<AttachmentUpload> uploads) RemoteAttachmentService.addAttachmentsCompletionStage
(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions) RemoteAttachmentServiceImpl.addAttachmentsCompletionStage
(ContentId contentId, ContentStatus status, Collection<AttachmentUpload> uploads) RemoteAttachmentServiceImpl.addAttachmentsCompletionStage
(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions) AbstractRemoteContentService.AbstractRemoteContentFinder.withStatus
(ContentStatus... status) RemoteContentService.RemoteContentFinder.withStatus
(ContentStatus... status) -
Uses of ContentStatus in com.atlassian.confluence.search.v2.query
Methods in com.atlassian.confluence.search.v2.query that return types with arguments of type ContentStatusConstructors in com.atlassian.confluence.search.v2.query with parameters of type ContentStatusConstructor parameters in com.atlassian.confluence.search.v2.query with type arguments of type ContentStatusModifierConstructorDescriptionContentStatusQuery
(Collection<ContentStatus> contentStatuses) Constructs a SearchQuery which matches content by their content statuses. -
Uses of ContentStatus in com.atlassian.confluence.spaces
Methods in com.atlassian.confluence.spaces that return ContentStatus