|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.it.feed.FeedOptions
public class FeedOptions
Mutable object for setting options for use with the feed builder.
FeedBuilder| Method Summary | |
|---|---|
static FeedOptions |
getAuthenticated()
|
ContentType[] |
getBlogSubTypes()
|
static FeedOptions |
getDefault()
|
java.lang.String[] |
getExcludedSpaceKeys()
|
java.lang.String[] |
getLabels()
|
int |
getMaxResults()
|
ContentType[] |
getPageSubTypes()
|
FeedType |
getRssType()
|
Sort |
getSort()
|
SpaceScope |
getSpaceScope()
|
int |
getTimeSpan()
|
java.lang.String |
getTitle()
|
ContentType[] |
getTypes()
|
boolean |
isAuthenticatedFeed()
|
boolean |
isShowContent()
|
void |
setAuthenticatedFeed(boolean authenticatedFeed)
Sets whether to use basic HTTP authentication for the feed. |
void |
setBlogSubTypes(ContentType... blogSubTypes)
|
void |
setExcludedSpaces(java.lang.String... keys)
|
void |
setLabels(java.lang.String... labels)
Sets the labels to retrieve a feed for. |
void |
setMaxResults(int maxResults)
Sets the maximum number of entries in the feed. |
void |
setPageSubTypes(ContentType... pageSubTypes)
|
void |
setRssType(FeedType rssType)
Sets the type of feed to retrieve. |
void |
setShowContent(boolean showContent)
Sets whether to show full content in the feed or not. |
void |
setSort(Sort sort)
Sets the sort order of the feed. |
void |
setSpaceScope(SpaceScope spaceScope)
Set a list of spaces to return results from. |
void |
setTimeSpan(int timeSpan)
Sets the timespan of the feed in days. |
void |
setTitle(java.lang.String title)
Sets the title of the feed. |
void |
setTypes(ContentType... types)
Set the types of content to include in the feed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static FeedOptions getDefault()
public static FeedOptions getAuthenticated()
public ContentType[] getTypes()
public Sort getSort()
public SpaceScope getSpaceScope()
public java.lang.String[] getLabels()
public FeedType getRssType()
public int getMaxResults()
public int getTimeSpan()
public java.lang.String getTitle()
public boolean isAuthenticatedFeed()
public boolean isShowContent()
public void setTypes(ContentType... types)
ContentType.PAGE.
public void setSort(Sort sort)
Sort.MODIFIED.
public void setSpaceScope(SpaceScope spaceScope)
public void setLabels(java.lang.String... labels)
public void setRssType(FeedType rssType)
FeedType.RSS2.
public void setMaxResults(int maxResults)
public void setTimeSpan(int timeSpan)
public void setTitle(java.lang.String title)
public void setAuthenticatedFeed(boolean authenticatedFeed)
public void setShowContent(boolean showContent)
public void setPageSubTypes(ContentType... pageSubTypes)
public ContentType[] getPageSubTypes()
public void setBlogSubTypes(ContentType... blogSubTypes)
public ContentType[] getBlogSubTypes()
public void setExcludedSpaces(java.lang.String... keys)
public java.lang.String[] getExcludedSpaceKeys()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||