|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface ContentService.ParameterContentFinder
A content finder allowing various parameters to be set to restrict the fetched content. This interface exists primarily to separate out the methods that identify a single piece of content, to those that restrict a collection of content based on a parameter.
Method Summary | |
---|---|
ContentService.ParameterContentFinder |
withContainer(Container container)
Restrict the fetched content to those with the given Container, this will by proxy restrict to certain types of content, as different types of content can have different types of containers. |
ContentService.ParameterContentFinder |
withCreatedDate(org.joda.time.LocalDate time)
Restrict the fetched content to those created / published on the given date |
ContentService.ParameterContentFinder |
withSpace(Space... space)
Restrict the fetched content to those in the given spaces. |
ContentService.ParameterContentFinder |
withTitle(java.lang.String title)
Restrict the fetched content to those with the given title |
ContentService.ParameterContentFinder |
withType(ContentType... type)
Restrict the fetched content to those matching the given contentType |
Methods inherited from interface com.atlassian.confluence.api.service.content.ContentService.ContentFetcher |
---|
fetchMany, fetchMappedByContentType |
Methods inherited from interface com.atlassian.confluence.api.service.finder.SingleFetcher |
---|
fetchOne, fetchOneOrNull |
Method Detail |
---|
ContentService.ParameterContentFinder withSpace(Space... space)
space
- the spaces to restrict the found content to
ContentService.ParameterContentFinder withType(ContentType... type)
type
- - the contentType to restrict to
ContentService.ParameterContentFinder withCreatedDate(org.joda.time.LocalDate time)
time
- - the publish date to restrict the content
ContentService.ParameterContentFinder withTitle(java.lang.String title)
title
- the title to restrict the content to
ContentService.ParameterContentFinder withContainer(Container container)
container
- the container to restrict the content to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |