|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.plugins.macros.dashboard.recentupdates.rest.RecentlyUpdatedContentResource
public class RecentlyUpdatedContentResource
REST service for the RecentlyUpdatedContentMacro
Constructor Summary | |
---|---|
RecentlyUpdatedContentResource(RecentlyUpdatedContentService recentlyUpdatedContentService,
RecentlyUpdatedMacroTabProvider tabProvider,
LabelManager labelManager,
UserAccessor userAccessor)
|
Method Summary | |
---|---|
javax.ws.rs.core.Response |
getDefault()
Get the default dashboard tab |
javax.ws.rs.core.Response |
getUpdates(java.lang.String tabKey,
int maxResults,
java.lang.String showProfilePic,
java.lang.String labelsFilter,
java.lang.String spacesFilter,
java.lang.String usersFilter,
java.lang.String typesFilter,
java.lang.String category,
java.lang.String spaceKey)
Query a list of recent updates matching the given parameters. |
javax.ws.rs.core.Response |
getUpdatesPost(java.lang.String tabKey,
int maxResults,
java.lang.String showProfilePic,
java.lang.String labelsFilter,
java.lang.String spacesFilter,
java.lang.String usersFilter,
java.lang.String typesFilter,
java.lang.String category,
java.lang.String spaceKey)
We support POST in case the query string is too long for GET. |
javax.ws.rs.core.Response |
setDefault(java.lang.String tabKey)
Set the default dashboard tab |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RecentlyUpdatedContentResource(RecentlyUpdatedContentService recentlyUpdatedContentService, RecentlyUpdatedMacroTabProvider tabProvider, LabelManager labelManager, UserAccessor userAccessor)
Method Detail |
---|
public javax.ws.rs.core.Response getUpdates(java.lang.String tabKey, int maxResults, java.lang.String showProfilePic, java.lang.String labelsFilter, java.lang.String spacesFilter, java.lang.String usersFilter, java.lang.String typesFilter, java.lang.String category, java.lang.String spaceKey) throws java.lang.Exception
tabKey
- The value from the tab's getName methodmaxResults
- The maximum number of results to return (number of RecentUpdate, not RecentUpdateGroup objects)
InvalidSearchException
- If the search failed
java.lang.Exception
public javax.ws.rs.core.Response getUpdatesPost(java.lang.String tabKey, int maxResults, java.lang.String showProfilePic, java.lang.String labelsFilter, java.lang.String spacesFilter, java.lang.String usersFilter, java.lang.String typesFilter, java.lang.String category, java.lang.String spaceKey) throws java.lang.Exception
tabKey
- The value from the tab's getName methodmaxResults
- The maximum number of results to return (number of RecentUpdate, not RecentUpdateGroup objects)
InvalidSearchException
- If the search failed
java.lang.Exception
public javax.ws.rs.core.Response getDefault()
public javax.ws.rs.core.Response setDefault(java.lang.String tabKey)
tabKey
- the value from the tab's getName method
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |