Class ContentRestrictionsPageResponse
- java.lang.Object
-
- com.atlassian.confluence.api.model.pagination.PageResponseImpl<ContentRestriction>
-
- com.atlassian.confluence.api.model.permissions.ContentRestrictionsPageResponse
-
- All Implemented Interfaces:
PageResponse<ContentRestriction>
,NavigationAware
,Iterable<ContentRestriction>
public class ContentRestrictionsPageResponse extends PageResponseImpl<ContentRestriction> implements NavigationAware
Special implementation ofPageResponse
forContentRestriction
objects. ContainsrestrictionsHash
which is used by UI to figure out whether set of restrictions was changed. Look atcom.atlassian.confluence.security.PermissionUtils#getRestrictionsHash(com.atlassian.confluence.core.ContentEntityObject)
- Since:
- 5.10
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ContentRestrictionsPageResponse.ContentRestrictionPageResponseBuilder
-
Nested classes/interfaces inherited from class com.atlassian.confluence.api.model.pagination.PageResponseImpl
PageResponseImpl.Builder<E,B extends PageResponseImpl.Builder<E,B>>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContentRestrictionsPageResponse.ContentRestrictionPageResponseBuilder
builder()
Map<LinkType,Link>
getLinks()
String
getRestrictionsHash()
Navigation.Builder
resolveNavigation(NavigationService navigationService)
-
Methods inherited from class com.atlassian.confluence.api.model.pagination.PageResponseImpl
empty, empty, empty, filteredPageResponse, filteredResponse, filteredResponseWithCursor, from, fromSingle, getNextCursor, getPageRequest, getPrevCursor, getResults, hasMore, iterator, size, toString, transform, transformResponse
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
builder
public static ContentRestrictionsPageResponse.ContentRestrictionPageResponseBuilder builder()
-
getRestrictionsHash
public String getRestrictionsHash()
-
resolveNavigation
public Navigation.Builder resolveNavigation(NavigationService navigationService)
- Specified by:
resolveNavigation
in interfaceNavigationAware
-
-