Uses of Class
com.atlassian.confluence.api.model.content.ContentStatus
-
-
Uses of ContentStatus in com.atlassian.confluence.api.impl.service.content
Methods in com.atlassian.confluence.api.impl.service.content with parameters of type ContentStatus Modifier and Type Method Description PageResponse<Content>
AttachmentServiceImpl. addAttachments(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads)
PageResponse<Content>
AttachmentServiceImpl. addAttachments(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions)
Method parameters in com.atlassian.confluence.api.impl.service.content with type arguments of type ContentStatus Modifier and Type Method Description Content
ContentServiceImpl. buildContent(ContentEntityObject entity, List<ContentStatus> statuses, Expansion... expansions)
-
Uses of ContentStatus in com.atlassian.confluence.api.impl.service.content.finder
Method parameters in com.atlassian.confluence.api.impl.service.content.finder with type arguments of type ContentStatus Modifier and Type Method Description static Predicate<? super ContentEntityObject>
FinderPredicates. statusPredicate(List<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 ContentStatus Modifier and Type Method Description Optional<Content>
AttachmentContentTypeApiSupport. 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 ContentStatus Modifier and Type Field Description static ContentStatus
ContentStatus. CURRENT
The default state of content ready to be viewed and edited.static ContentStatus
ContentStatus. DRAFT
The state of content that has not yet been publishedstatic ContentStatus
ContentStatus. HISTORICAL
The state of content that is not at its latest versionstatic 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 ContentStatus Modifier and Type Field Description static List<ContentStatus>
ContentStatus. BUILT_IN
Methods in com.atlassian.confluence.api.model.content that return ContentStatus Modifier and Type Method Description ContentStatus
Content. getStatus()
ContentStatus
ContentSelector. getStatus()
static ContentStatus
ContentStatus. valueOf(String str)
Return theContentType
for the given type string.Methods in com.atlassian.confluence.api.model.content with parameters of type ContentStatus Modifier and Type Method Description Content.ContentBuilder
Content.ContentBuilder. status(ContentStatus status)
ContentSelector.ContentSelectorBuilder
ContentSelector.ContentSelectorBuilder. status(ContentStatus status)
-
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 ContentStatus Modifier and Type Method Description Optional<List<ContentStatus>>
SearchContext. contentStatuses()
com.atlassian.fugue.Option<List<ContentStatus>>
SearchContext. getContentStatuses()
Deprecated.since 7.0.1.Method parameters in com.atlassian.confluence.api.model.search with type arguments of type ContentStatus Modifier and Type Method Description SearchContext.Builder
SearchContext.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 ContentStatus Modifier and Type Method Description PageResponse<Content>
AttachmentService. addAttachments(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads)
Add one or more attachments to a piece ofContent
.PageResponse<Content>
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.ContentFinder
ContentService.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 ContentStatus Modifier and Type Method Description ContentService.ContentFinder
ContentService.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 ContentStatus Modifier and Type Method Description static org.hamcrest.Matcher<Content>
ContentMatchers. hasStatus(ContentStatus contentStatus)
-
Uses of ContentStatus in com.atlassian.confluence.core
Methods in com.atlassian.confluence.core that return ContentStatus Modifier and Type Method Description ContentStatus
ContentEntityObject. getContentStatusObject()
Get the api layer enum for content status, distinguishing CURRENT/HISTORICAL/DRAFT/TRASHED. -
Uses of ContentStatus in com.atlassian.confluence.event.events.content.page.synchrony
Methods in com.atlassian.confluence.event.events.content.page.synchrony that return ContentStatus Modifier and Type Method Description ContentStatus
ContentUpdatedEvent. getContentStatus()
Constructors in com.atlassian.confluence.event.events.content.page.synchrony with parameters of type ContentStatus Constructor Description ContentUpdatedEvent(ConfluenceUser user, ContentId contentId, ContentStatus contentStatus, String spaceKey, String syncRev)
ContentUpdatedEvent(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 ContentStatus Modifier and Type Method Description @NonNull PageResponse<AbstractPage>
DefaultPageManager. getAbstractPages(Space space, String title, List<ContentStatus> statuses, LimitedRequest pageRequest, com.google.common.base.Predicate<? super AbstractPage>... filter)
Deprecated.since 7.0.1.@NonNull PageResponse<AbstractPage>
DefaultPageManager. getAbstractPages(String title, List<ContentStatus> statuses, LimitedRequest pageRequest, com.google.common.base.Predicate<? super AbstractPage>... filter)
Deprecated.since 7.0.1.@NonNull PageResponse<AbstractPage>
DefaultPageManager. getAbstractPages(org.joda.time.DateTime date, List<ContentStatus> statuses, LimitedRequest pageRequest, com.google.common.base.Predicate<? super AbstractPage>... filter)
Deprecated.since 7.0.1.@NonNull PageResponse<Page>
DefaultPageManager. scanFilteredPages(Space space, List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super Page>... filter)
@NonNull PageResponse<Page>
DefaultPageManager. scanFilteredPages(List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super Page>... 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 ContentStatus Modifier and Type Method Description ContentService.ContentFinder
NoopContentFinder. withStatus(ContentStatus... status)
Method parameters in com.atlassian.confluence.impl.service.finder.content with type arguments of type ContentStatus Modifier and Type Method Description ContentService.ContentFinder
NoopContentFinder. withStatus(Iterable<ContentStatus> statuses)
-
Uses of ContentStatus in com.atlassian.confluence.internal.pages
Method parameters in com.atlassian.confluence.internal.pages with type arguments of type ContentStatus Modifier and Type Method Description @NonNull PageResponse<AbstractPage>
PageManagerInternal. getAbstractPages(Space space, String title, List<ContentStatus> statuses, LimitedRequest pageRequest, com.google.common.base.Predicate<? super AbstractPage>... filter)
Deprecated.since 7.0.1.@NonNull PageResponse<AbstractPage>
PageManagerInternal. getAbstractPages(String title, List<ContentStatus> statuses, LimitedRequest pageRequest, com.google.common.base.Predicate<? super AbstractPage>... filter)
Deprecated.since 7.0.1.@NonNull PageResponse<AbstractPage>
PageManagerInternal. getAbstractPages(org.joda.time.DateTime date, List<ContentStatus> statuses, LimitedRequest pageRequest, com.google.common.base.Predicate<? super AbstractPage>... filter)
Deprecated.since 7.0.1.default @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.default @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.default @NonNull PageResponse<AbstractPage>
PageManagerInternal. getFilteredAbstractPages(org.joda.time.DateTime date, List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super AbstractPage>... filter)
Returns pages and blog posts created on the specified date, that are in any of the given statuses, and also match the given predicate, limited to the page request.default @NonNull PageResponse<Page>
PageManagerInternal. scanFilteredPages(Space space, List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super Page>... filter)
Returns all pages in the space which has specified content statuses, limited to the pagination request.default @NonNull PageResponse<Page>
PageManagerInternal. scanFilteredPages(List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super Page>... filter)
Returns all pages with specified content statuses, limited to the pagination request. -
Uses of ContentStatus in com.atlassian.confluence.internal.pages.persistence
Method parameters in com.atlassian.confluence.internal.pages.persistence with type arguments of type ContentStatus Modifier and Type Method Description default PageResponse<AbstractPage>
PageDaoInternal. getFilteredAbstractPages(Space space, String title, List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super AbstractPage> filter)
Returns the abstract pages from a space that exactly match the given title and are in any of the specified statuses, and match the given filter, limited to the pagination request.default PageResponse<AbstractPage>
PageDaoInternal. getFilteredAbstractPages(String title, List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super AbstractPage> filter)
Returns the abstract pages that exactly match the given title, are in any of the specified statuses, and match the given filter, limited to the pagination request.default PageResponse<AbstractPage>
PageDaoInternal. getFilteredAbstractPages(org.joda.time.DateTime date, List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super AbstractPage> filter)
Returns the abstract pages created on the given date and are in the , that also match the given filter, limited to the page request.PageResponse<Page>
PageDaoInternal. scanFilteredPages(Space space, List<ContentStatus> statuses, LimitedRequest pageRequest, @Nullable Predicate<? super Page> filter)
Retrieves a page response of all pages in space with specified content statuses.PageResponse<Page>
PageDaoInternal. scanFilteredPages(List<ContentStatus> statuses, LimitedRequest pageRequest, @Nullable Predicate<? super Page> filter)
Retrieves a page response of all the pages with specified content statuses. -
Uses of ContentStatus in com.atlassian.confluence.pages.persistence.dao
Methods in com.atlassian.confluence.pages.persistence.dao with parameters of type ContentStatus Modifier and Type Method Description List<Long>
DelegatingPageDao. getDescendantIds(Page page, ContentStatus... statuses)
List<Long>
PageDao. getDescendantIds(Page page, ContentStatus... statuses)
Finds the ids of all descendant pages of the given pageMethod parameters in com.atlassian.confluence.pages.persistence.dao with type arguments of type ContentStatus Modifier and Type Method Description PageResponse<AbstractPage>
DelegatingPageDao. getAbstractPages(Space space, String title, List<ContentStatus> statuses, LimitedRequest pageRequest, com.google.common.base.Predicate<? super AbstractPage> filter)
Deprecated.PageResponse<AbstractPage>
DelegatingPageDao. getAbstractPages(String title, List<ContentStatus> statuses, LimitedRequest pageRequest, com.google.common.base.Predicate<? super AbstractPage> filter)
Deprecated.PageResponse<AbstractPage>
DelegatingPageDao. getAbstractPages(org.joda.time.DateTime date, List<ContentStatus> statuses, LimitedRequest pageRequest, com.google.common.base.Predicate<? super AbstractPage> filter)
Deprecated.PageResponse<AbstractPage>
PageDao. getAbstractPages(Space space, String title, List<ContentStatus> statuses, LimitedRequest pageRequest, com.google.common.base.Predicate<? super AbstractPage> filter)
Deprecated.since 7.0.1.PageResponse<AbstractPage>
PageDao. getAbstractPages(String title, List<ContentStatus> statuses, LimitedRequest pageRequest, com.google.common.base.Predicate<? super AbstractPage> filter)
Deprecated.since 7.0.1.PageResponse<AbstractPage>
PageDao. getAbstractPages(org.joda.time.DateTime date, List<ContentStatus> statuses, LimitedRequest pageRequest, com.google.common.base.Predicate<? super AbstractPage> filter)
Deprecated.since 7.0.1.long
DelegatingPageDao. getPageCount(@NonNull String spaceKey, List<ContentStatus> statuses)
long
PageDao. getPageCount(@NonNull String spaceKey, List<ContentStatus> statuses)
Get total number of pages in a space, within any of the given statuses.@NonNull PageResponse<Page>
DelegatingPageDao. scanFilteredPages(Space space, List<ContentStatus> statuses, LimitedRequest pageRequest, @Nullable Predicate<? super Page> filter)
@NonNull PageResponse<Page>
DelegatingPageDao. scanFilteredPages(List<ContentStatus> statuses, LimitedRequest pageRequest, @Nullable Predicate<? super Page> filter)
-
Uses of ContentStatus in com.atlassian.confluence.pages.persistence.dao.hibernate
Methods in com.atlassian.confluence.pages.persistence.dao.hibernate with parameters of type ContentStatus Modifier and Type Method Description List<Long>
HibernatePageDao. getDescendantIds(Page page, ContentStatus... contentStatus)
Method parameters in com.atlassian.confluence.pages.persistence.dao.hibernate with type arguments of type ContentStatus Modifier and Type Method Description PageResponse<AbstractPage>
HibernatePageDao. getAbstractPages(Space space, String title, List<ContentStatus> statuses, LimitedRequest pageRequest, com.google.common.base.Predicate<? super AbstractPage> filter)
Deprecated.since 7.0.1.PageResponse<AbstractPage>
HibernatePageDao. getAbstractPages(String title, List<ContentStatus> statuses, LimitedRequest pageRequest, com.google.common.base.Predicate<? super AbstractPage> filter)
Deprecated.since 7.0.1.PageResponse<AbstractPage>
HibernatePageDao. getAbstractPages(org.joda.time.DateTime date, List<ContentStatus> statuses, LimitedRequest pageRequest, com.google.common.base.Predicate<? super AbstractPage> filter)
Deprecated.since 7.0.1.long
HibernatePageDao. getPageCount(@NonNull String spaceKey, List<ContentStatus> statuses)
PageResponse<Page>
HibernatePageDao. scanFilteredPages(Space space, List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super Page> filter)
PageResponse<Page>
HibernatePageDao. scanFilteredPages(List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super Page> filter)
-
Uses of ContentStatus in com.atlassian.confluence.plugins.restapi.experimental.resources
Methods in com.atlassian.confluence.plugins.restapi.experimental.resources with parameters of type ContentStatus Modifier and Type Method Description javax.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 ContentStatus Modifier and Type Method Description RestList<Content>
AttachmentResource. createAttachments(ContentId containerId, ContentStatus containerStatus, boolean allowDuplicated, String expand, List<com.atlassian.plugins.rest.common.multipart.FilePart> fileParts, @Nullable List<com.atlassian.plugins.rest.common.multipart.FilePart> comments, @Nullable List<com.atlassian.plugins.rest.common.multipart.FilePart> minorEdits, @Nullable List<com.atlassian.plugins.rest.common.multipart.FilePart> hiddens)
Add one or more attachments to a Confluence Content entity, with optional comments.Content
ContentResource. createContent(Content content, ContentStatus status, String expand)
Creates a new piece of Content or publishes the draft if the content id is present.javax.ws.rs.core.Response
ContentResource. delete(ContentId contentId, ContentStatus status)
Trashes or purges a piece of Content, based on itsContentType
andContentStatus
.Content
ContentBlueprintResource. publishLegacyDraft(ContentId draftId, Content content, ContentStatus status, String expand)
Publishes a legacy draft of a Content created from a ContentBlueprintContent
ContentBlueprintResource. publishSharedDraft(ContentId draftId, Content content, ContentStatus status, String expand)
Publishes a shared draft of a Content created from a ContentBlueprintContent
ContentResource. update(ContentId contentId, Content content, ContentStatus status, ContentDraftService.ConflictPolicy conflictPolicy)
Updates a piece of Content, including changes to content statusMethod parameters in com.atlassian.confluence.plugins.restapi.resources with type arguments of type ContentStatus Modifier and Type Method Description PageResponse<Content>
ContentResource. getContent(String type, String spaceKey, String title, List<ContentStatus> statuses, String postingDay, String expand, int start, int limit, javax.ws.rs.core.UriInfo uriInfo)
Returns a paginated list of Content.PageResponse<Content>
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)
Content
ContentResource. getContentById(ContentId id, List<ContentStatus> statuses, Integer version, String expand)
Returns a piece of Content.PageResponse<Content>
ContentResource. scanContent(String spaceKey, List<ContentStatus> statuses, String expand, int limit, String cursor, javax.ws.rs.core.UriInfo uriInfo)
Returns a paginated list of Content. -
Uses of ContentStatus in com.atlassian.confluence.rest.client
Fields in com.atlassian.confluence.rest.client with type parameters of type ContentStatus Modifier and Type Field Description protected com.google.common.collect.ImmutableList<ContentStatus>
AbstractRemoteContentService.AbstractRemoteContentFinder. statuses
Methods in com.atlassian.confluence.rest.client with parameters of type ContentStatus Modifier and Type Method Description com.atlassian.util.concurrent.Promise<PageResponse<Content>>
RemoteAttachmentService. addAttachments(ContentId contentId, ContentStatus status, Collection<AttachmentUpload> uploads)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<PageResponse<Content>>
RemoteAttachmentService. addAttachments(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<PageResponse<Content>>
RemoteAttachmentServiceImpl. addAttachments(ContentId contentId, ContentStatus status, Collection<AttachmentUpload> uploads)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<PageResponse<Content>>
RemoteAttachmentServiceImpl. addAttachments(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions)
Deprecated.since 7.0.1.CompletionStage<PageResponse<Content>>
RemoteAttachmentService. addAttachmentsCompletionStage(ContentId contentId, ContentStatus status, Collection<AttachmentUpload> uploads)
CompletionStage<PageResponse<Content>>
RemoteAttachmentService. addAttachmentsCompletionStage(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions)
CompletionStage<PageResponse<Content>>
RemoteAttachmentServiceImpl. addAttachmentsCompletionStage(ContentId contentId, ContentStatus status, Collection<AttachmentUpload> uploads)
CompletionStage<PageResponse<Content>>
RemoteAttachmentServiceImpl. addAttachmentsCompletionStage(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions)
RemoteContentService.RemoteContentFinder
AbstractRemoteContentService.AbstractRemoteContentFinder. withStatus(ContentStatus... status)
RemoteContentService.RemoteContentFinder
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 ContentStatus Modifier and Type Method Description Collection<ContentStatus>
ContentStatusQuery. getContentStatuses()
Constructors in com.atlassian.confluence.search.v2.query with parameters of type ContentStatus Constructor Description ContentStatusQuery(ContentStatus... contentStatuses)
Constructor parameters in com.atlassian.confluence.search.v2.query with type arguments of type ContentStatus Constructor Description ContentStatusQuery(Collection<ContentStatus> contentStatuses)
Constructs a SearchQuery which matches content by their content statuses.
-