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 classNested 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()booleangetLinks()inthashCode()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, transformResponseMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
getLinks
-
builder
-
getRestrictionsHash
-
equals
- Overrides:
equalsin classPageResponseImpl<ContentRestriction>
-
hashCode
public int hashCode()- Overrides:
hashCodein classPageResponseImpl<ContentRestriction>
-