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 of
PageResponse
for ContentRestriction
objects. Contains restrictionsHash
which is used by UI to figure out whether set of restrictions was changed. Look at
com.atlassian.confluence.security.PermissionUtils#getRestrictionsHash(com.atlassian.confluence.core.ContentEntityObject)
- Since:
- 5.10
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Nested classes/interfaces inherited from class com.atlassian.confluence.api.model.pagination.PageResponseImpl
PageResponseImpl.Builder<E,
B extends PageResponseImpl.Builder<E, B>> -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
boolean
getLinks()
int
hashCode()
resolveNavigation
(NavigationService navigationService) Methods inherited from class com.atlassian.confluence.api.model.pagination.PageResponseImpl
empty, empty, empty, filteredResponse, filteredResponseWithCursor, from, from, fromSingle, getNextCursor, getPageRequest, getPrevCursor, getResults, getTotalCount, hasMore, iterator, size, toString, transformResponse
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
getLinks
-
builder
-
getRestrictionsHash
-
equals
- Overrides:
equals
in classPageResponseImpl<ContentRestriction>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classPageResponseImpl<ContentRestriction>
-