Uses of Class
com.atlassian.confluence.api.model.permissions.OperationKey
-
Packages that use OperationKey Package Description com.atlassian.confluence.api.impl.service.permissions com.atlassian.confluence.api.model.content com.atlassian.confluence.api.model.permissions Model objects for user and group permission and validation checks, for use withOperationService.com.atlassian.confluence.api.model.permissions.spi SPI for implementing pluggable permission and validation checks, for use withOperationService.com.atlassian.confluence.api.nav com.atlassian.confluence.api.service.permissions com.atlassian.confluence.pageobjects.component.dialog com.atlassian.confluence.plugins.restapi.experimental.resources com.atlassian.confluence.plugins.restapi.resources com.atlassian.confluence.rest.client This package contains the code which communicates with Confluence via REST API.com.atlassian.confluence.rest.serialization -
-
Uses of OperationKey in com.atlassian.confluence.api.impl.service.permissions
Methods in com.atlassian.confluence.api.impl.service.permissions that return OperationKey Modifier and Type Method Description static OperationKeyContentRestrictionFactory. determineOpKey(String permissionType)Given a raw ContentPermission type, return its corresponding OperationKey.Methods in com.atlassian.confluence.api.impl.service.permissions that return types with arguments of type OperationKey Modifier and Type Method Description Map<OperationKey,ContentRestriction>ContentRestrictionServiceImpl. getRestrictionsGroupByOperation(ContentId target, Expansion... allExpansions)static com.google.common.collect.ImmutableSet<OperationKey>ContentRestrictionFactory. getSupportedOperationKeys()Lists all recognizableOperationKeys which can be accepted from the requests.Methods in com.atlassian.confluence.api.impl.service.permissions with parameters of type OperationKey Modifier and Type Method Description voidContentRestrictionServiceImpl. addDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)voidContentRestrictionServiceImpl. deleteDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)static com.atlassian.fugue.Option<String>ContentRestrictionFactory. determinePermissionType(OperationKey key)Deprecated.static Optional<String>ContentRestrictionFactory. extractPermissionType(OperationKey key)Given an OperationKey, determine the raw ContentPermission type.ContentRestrictionContentRestrictionServiceImpl. getRestrictionsForOperation(ContentId target, OperationKey operationKey, PageRequest pageRequest, Expansion... allExpansions)booleanContentRestrictionServiceImpl. hasDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)ValidationResultDefaultContentRestrictionServiceValidator. validateAddDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)ValidationResultDefaultContentRestrictionServiceValidator. validateDeleteDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)ValidationResultDefaultContentRestrictionServiceValidator. validateGetRestrictionsForOperation(ContentId contentId, OperationKey opKey)ValidationResultDefaultContentRestrictionServiceValidator. validateHasDirectRestrictionsForSubject(ContentId contentId, OperationKey operationKey, Subject subject) -
Uses of OperationKey in com.atlassian.confluence.api.model.content
Methods in com.atlassian.confluence.api.model.content that return types with arguments of type OperationKey Modifier and Type Method Description Map<OperationKey,ContentRestriction>Content. getRestrictions()Returns a Map of restrictions present on the given Content, grouped by Operation.Method parameters in com.atlassian.confluence.api.model.content with type arguments of type OperationKey Modifier and Type Method Description Content.ContentBuilderContent.ContentBuilder. restrictions(Map<OperationKey,ContentRestriction> restrictionsByOperationMap) -
Uses of OperationKey in com.atlassian.confluence.api.model.permissions
Fields in com.atlassian.confluence.api.model.permissions declared as OperationKey Modifier and Type Field Description static OperationKeyOperationKey. ADMINISTERstatic OperationKeyOperationKey. COPYstatic OperationKeyOperationKey. CREATEstatic OperationKeyOperationKey. DELETEstatic OperationKeyOperationKey. EXPORTstatic OperationKeyOperationKey. MOVEstatic OperationKeyOperationKey. PURGEstatic OperationKeyOperationKey. PURGE_VERSIONstatic OperationKeyOperationKey. READstatic OperationKeyOperationKey. RESTOREstatic OperationKeyOperationKey. UPDATEstatic OperationKeyOperationKey. USEFields in com.atlassian.confluence.api.model.permissions with type parameters of type OperationKey Modifier and Type Field Description static List<OperationKey>OperationKey. BUILT_INstatic List<OperationKey>OperationKey. READ_ONLY_WHITELISTMethods in com.atlassian.confluence.api.model.permissions that return OperationKey Modifier and Type Method Description OperationKeyContentRestriction. getOperation()@NonNull OperationKeyOperation. getOperationKey()@NonNull OperationKeyOperationCheckResult. getOperationKey()@NonNull OperationKeyOperationDescription. getOperationKey()@NonNull OperationKeyOperationKey. getOperationKey()static OperationKeyOperationKey. valueOf(String name)Methods in com.atlassian.confluence.api.model.permissions with parameters of type OperationKey Modifier and Type Method Description ContentRestriction.ContentRestrictionBuilderContentRestriction.ContentRestrictionBuilder. operation(OperationKey operation)OperationCheckResult.OperationCheckResultBuilderOperationCheckResult.OperationCheckResultBuilder. operationKey(@NonNull OperationKey operationKey)OperationDescription.OperationDescriptionBuilderOperationDescription.OperationDescriptionBuilder. operationKey(@NonNull OperationKey operationKey) -
Uses of OperationKey in com.atlassian.confluence.api.model.permissions.spi
Methods in com.atlassian.confluence.api.model.permissions.spi that return OperationKey Modifier and Type Method Description @NonNull OperationKeyBaseOperationCheck. getOperationKey()@NonNull OperationKeyOperationCheck. getOperationKey()Methods in com.atlassian.confluence.api.model.permissions.spi with parameters of type OperationKey Modifier and Type Method Description @Nullable OperationCheckOperationDelegate. getOperation(OperationKey operationKey)Get theOperationCheckwhich can answer questions about a particular operation.Constructors in com.atlassian.confluence.api.model.permissions.spi with parameters of type OperationKey Constructor Description BaseOperationCheck(OperationKey operationKey, TargetType expectedTargetType)Construct aBaseOperationCheck. -
Uses of OperationKey in com.atlassian.confluence.api.nav
Methods in com.atlassian.confluence.api.nav with parameters of type OperationKey Modifier and Type Method Description Navigation.BuilderNavigation.ContentRestrictionByOperationNav. operation(OperationKey operationKey) -
Uses of OperationKey in com.atlassian.confluence.api.service.permissions
Methods in com.atlassian.confluence.api.service.permissions that return types with arguments of type OperationKey Modifier and Type Method Description Map<OperationKey,ContentRestriction>ContentRestrictionService. getRestrictionsGroupByOperation(ContentId target, Expansion... expansions)List all restrictions that exist directly on the given content.Methods in com.atlassian.confluence.api.service.permissions with parameters of type OperationKey Modifier and Type Method Description voidContentRestrictionService. addDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)Adds singular directContentRestrictionforoperationKeyandsubjectto the content identified bycontentIdparameter.voidContentRestrictionService. deleteDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)Deletes singular directContentRestrictionforoperationKeyandsubjectfrom the content identified bycontentIdparameter.ContentRestrictionContentRestrictionService. getRestrictionsForOperation(ContentId target, OperationKey operationKey, PageRequest pageRequest, Expansion... expansions)Retrieves all restrictions for given operation key on given content.booleanContentRestrictionService. hasDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)Returnstrueif the User or Group specified by thesubjectparameter has restriction(s) for theoperationKeyoperation which are specified directly on the Content identified bycontentIdparameter.ValidationResultContentRestrictionService.Validator. validateAddDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)Validates that: OperationKey supplied is supported Subject supplied is either User or a Group and does exist Content specified exists AND can be viewed by the currently logged-in user Currently logged-in user is allowed to alter ContentRestrictions on and edit the content specifiedValidationResultContentRestrictionService.Validator. validateDeleteDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)Validates that: OperationKey supplied is supported Subject supplied is either User or a Group Content specified exists AND can be viewed by the currently logged-in user Currently logged-in user is allowed to alter ContentRestrictions on and edit the content specifiedValidationResultContentRestrictionService.Validator. validateGetRestrictionsForOperation(ContentId contentId, OperationKey opKey)Validates whether OperationKey supplied is supported, whether content specified exists, whether currently logged in user can read restrictions on a content specifiedValidationResultContentRestrictionService.Validator. validateHasDirectRestrictionsForSubject(ContentId contentId, OperationKey operationKey, Subject subject)Validates that: OperationKey supplied is supported Subject supplied is either User or a Group Content specified exists AND can be viewed by the currently logged-in user -
Uses of OperationKey in com.atlassian.confluence.pageobjects.component.dialog
Methods in com.atlassian.confluence.pageobjects.component.dialog with parameters of type OperationKey Modifier and Type Method Description com.atlassian.pageobjects.elements.query.TimedQuery<Boolean>PageRestrictionsDialog. hasRestrictionTimed(Subject subject, OperationKey operationKey)Deprecated.booleanPageRestrictionsDialog. removeRestriction(String name, OperationKey operationKey)Deprecated.since 5.9. -
Uses of OperationKey in com.atlassian.confluence.plugins.restapi.experimental.resources
Methods in com.atlassian.confluence.plugins.restapi.experimental.resources with parameters of type OperationKey Modifier and Type Method Description javax.ws.rs.core.ResponseExperimentalContentRestrictionsResource. addIndividualGroupRestriction(ContentId contentId, OperationKey operationKey, Group group)Adds singular directContentRestrictionforoperationKeyandgroupfor the content identified bycontentIdparameter.javax.ws.rs.core.ResponseExperimentalContentRestrictionsResource. addIndividualUserRestriction(ContentId contentId, OperationKey operationKey, com.atlassian.sal.api.user.UserKey userKey, String userName)Adds singular directContentRestrictionforoperationKeyanduserfor the content identified bycontentIdparameter.javax.ws.rs.core.ResponseExperimentalContentRestrictionsResource. deleteIndividualGroupRestriction(ContentId contentId, OperationKey operationKey, Group group)Deletes singular directContentRestrictionforoperationKeyanduserfrom the content identified bycontentIdparameter.javax.ws.rs.core.ResponseExperimentalContentRestrictionsResource. deleteIndividualUserRestriction(ContentId contentId, OperationKey operationKey, com.atlassian.sal.api.user.UserKey userKey, String userName)Deletes singular directContentRestrictionforoperationKeyanduserfrom the content identified bycontentIdparameter.javax.ws.rs.core.ResponseExperimentalContentRestrictionsResource. getIndividualGroupRestrictionStatus(ContentId contentId, OperationKey operationKey, Group group)Answers the question "Whether group, identified bygroupNameis a subject of the restriction for operationoperationKeydirectly specified on a content with ID ofccontentId"javax.ws.rs.core.ResponseExperimentalContentRestrictionsResource. getIndividualUserRestrictionStatus(ContentId contentId, OperationKey operationKey, com.atlassian.sal.api.user.UserKey userKey, String userName)Answers the question "Whether user, identified byuserKeyis a subject of the restriction for operationoperationKeydirectly specified on a content with ID ofccontentId" -
Uses of OperationKey in com.atlassian.confluence.plugins.restapi.resources
Methods in com.atlassian.confluence.plugins.restapi.resources that return types with arguments of type OperationKey Modifier and Type Method Description Map<OperationKey,ContentRestriction>ContentRestrictionResource. byOperation(ContentId id, String expand)Returns info about all restrictions by operationMethods in com.atlassian.confluence.plugins.restapi.resources with parameters of type OperationKey Modifier and Type Method Description ContentRestrictionContentRestrictionResource. forOperation(ContentId id, OperationKey opKey, String expand, int start, int limit)Returns info about all restrictions of given operation -
Uses of OperationKey in com.atlassian.confluence.rest.client
Methods in com.atlassian.confluence.rest.client that return types with arguments of type OperationKey Modifier and Type Method Description com.atlassian.util.concurrent.Promise<Map<OperationKey,ContentRestriction>>RemoteContentRestrictionService. getRestrictionsGroupByOperation(ContentId target, Expansion... expansions)Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<Map<OperationKey,ContentRestriction>>RemoteContentRestrictionServiceImpl. getRestrictionsGroupByOperation(ContentId target, Expansion... expansions)Deprecated.since 7.0.1.CompletionStage<Map<OperationKey,ContentRestriction>>RemoteContentRestrictionService. getRestrictionsGroupByOperationCompletionStage(ContentId target, Expansion... expansions)List all restrictions that exist directly on the given content.CompletionStage<Map<OperationKey,ContentRestriction>>RemoteContentRestrictionServiceImpl. getRestrictionsGroupByOperationCompletionStage(ContentId target, Expansion... expansions)Methods in com.atlassian.confluence.rest.client with parameters of type OperationKey Modifier and Type Method Description com.atlassian.util.concurrent.Promise<Void>RemoteContentRestrictionService. addDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<Void>RemoteContentRestrictionServiceImpl. addDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)Deprecated.since 7.0.1.CompletionStage<Void>RemoteContentRestrictionService. addDirectRestrictionForSubjectCompletionStage(ContentId contentId, OperationKey operationKey, Subject subject)Adds singular directContentRestrictionforoperationKeyandsubjectto the content identified bycontentIdparameter.CompletionStage<Void>RemoteContentRestrictionServiceImpl. addDirectRestrictionForSubjectCompletionStage(ContentId contentId, OperationKey operationKey, Subject subject)com.atlassian.util.concurrent.Promise<Void>RemoteContentRestrictionService. deleteDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<Void>RemoteContentRestrictionServiceImpl. deleteDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)Deprecated.since 7.0.1.CompletionStage<Void>RemoteContentRestrictionService. deleteDirectRestrictionForSubjectCompletionStage(ContentId contentId, OperationKey operationKey, Subject subject)Deletes singular directContentRestrictionforoperationKeyandsubjectfrom the content identified bycontentIdparameter.CompletionStage<Void>RemoteContentRestrictionServiceImpl. deleteDirectRestrictionForSubjectCompletionStage(ContentId contentId, OperationKey operationKey, Subject subject)com.atlassian.util.concurrent.Promise<ContentRestriction>RemoteContentRestrictionService. getRestrictionsForOperation(ContentId target, OperationKey operationKey, PageRequest pageRequest, Expansion... expansions)Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<ContentRestriction>RemoteContentRestrictionServiceImpl. getRestrictionsForOperation(ContentId target, OperationKey operationKey, PageRequest pageRequest, Expansion... expansions)Deprecated.since 7.0.1.CompletionStage<ContentRestriction>RemoteContentRestrictionService. getRestrictionsForOperationCompletionStage(ContentId target, OperationKey operationKey, PageRequest pageRequest, Expansion... expansions)Retrieves all restrictions for given operation key on given content.CompletionStage<ContentRestriction>RemoteContentRestrictionServiceImpl. getRestrictionsForOperationCompletionStage(ContentId target, OperationKey operationKey, PageRequest pageRequest, Expansion... expansions)com.atlassian.util.concurrent.Promise<Boolean>RemoteContentRestrictionService. hasDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<Boolean>RemoteContentRestrictionServiceImpl. hasDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)Deprecated.since 7.0.1.CompletionStage<Boolean>RemoteContentRestrictionService. hasDirectRestrictionForSubjectCompletionStage(ContentId contentId, OperationKey operationKey, Subject subject)Returnstrueif the User or Group specified by thesubjectparameter has restriction(s) for theoperationKeyoperation which are specified directly on the Content identified bycontentIdparameter.CompletionStage<Boolean>RemoteContentRestrictionServiceImpl. hasDirectRestrictionForSubjectCompletionStage(ContentId contentId, OperationKey operationKey, Subject subject) -
Uses of OperationKey in com.atlassian.confluence.rest.serialization
Methods in com.atlassian.confluence.rest.serialization that return OperationKey Modifier and Type Method Description OperationKeyRestData. getOperationKey()Methods in com.atlassian.confluence.rest.serialization with parameters of type OperationKey Modifier and Type Method Description RestData.RestDataBuilderRestData.RestDataBuilder. operation(OperationKey operationKey)
-