Uses of Interface
com.atlassian.confluence.api.model.people.Subject
-
Packages that use Subject Package Description com.atlassian.confluence.api.impl.service.permissions com.atlassian.confluence.api.model.people com.atlassian.confluence.api.model.permissions Model objects for user and group permission and validation checks, for use withOperationService.com.atlassian.confluence.api.service.permissions com.atlassian.confluence.functest.rest.admin These REST resources are replacements for admin-level functest RPC calls and should only be run by a sys-admin in a websudo session.com.atlassian.confluence.functest.rest.admin.model com.atlassian.confluence.pageobjects.component.dialog com.atlassian.confluence.rest.client This package contains the code which communicates with Confluence via REST API. -
-
Uses of Subject in com.atlassian.confluence.api.impl.service.permissions
Methods in com.atlassian.confluence.api.impl.service.permissions with parameters of type Subject Modifier and Type Method Description voidContentRestrictionServiceImpl. addDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)voidContentRestrictionServiceImpl. deleteDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)protected @NonNull Optional<ContentPermission>ContentRestrictionServiceImpl. getPreExistingContentPermissionForSubject(@Nullable ContentEntityObject ceo, @Nullable String permissionType, @Nullable Subject subject)Gets pre-existingContentPermission(singular, optional) for theSubjectandOperationKey(as String permissionType) specified.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. validateHasDirectRestrictionsForSubject(ContentId contentId, OperationKey operationKey, Subject subject) -
Uses of Subject in com.atlassian.confluence.api.model.people
Classes in com.atlassian.confluence.api.model.people that implement Subject Modifier and Type Class Description classAnonymousclassGroupRepresents a group that may contain zero or more users.classKnownUserclassPersonclassUnknownUserclassUser -
Uses of Subject in com.atlassian.confluence.api.model.permissions
Methods in com.atlassian.confluence.api.model.permissions that return types with arguments of type Subject Modifier and Type Method Description Map<SubjectType,PageResponse<Subject>>ContentRestriction. getRestrictions()Presents information about the restriction in a form ofMap<SubjectType, PageResponse<Subject>>Method parameters in com.atlassian.confluence.api.model.permissions with type arguments of type Subject Modifier and Type Method Description ContentRestriction.ContentRestrictionBuilderContentRestriction.ContentRestrictionBuilder. restrictions(@Nullable Map<SubjectType,PageResponse<Subject>> restrictions) -
Uses of Subject in com.atlassian.confluence.api.service.permissions
Methods in com.atlassian.confluence.api.service.permissions with parameters of type Subject 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.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. 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 Subject in com.atlassian.confluence.functest.rest.admin
Methods in com.atlassian.confluence.functest.rest.admin with parameters of type Subject Modifier and Type Method Description voidPermissionsResource. revokeAllGlobalPermissions(Subject subject)Revoke all global permissions for a group, user, or anonymous.voidPermissionsResource. revokeAllSpacePermissions(String spaceKey, Subject subject)Revoke all permissions on a space for a user, group or anonymous. -
Uses of Subject in com.atlassian.confluence.functest.rest.admin.model
Methods in com.atlassian.confluence.functest.rest.admin.model that return Subject Modifier and Type Method Description SubjectSubjectPermissionChange. getSubject()Get the subject whose permission is being changedMethods in com.atlassian.confluence.functest.rest.admin.model with parameters of type Subject Modifier and Type Method Description SubjectPermissionChange.BuilderSubjectPermissionChange.Builder. subject(Subject subject) -
Uses of Subject in com.atlassian.confluence.pageobjects.component.dialog
Methods in com.atlassian.confluence.pageobjects.component.dialog with parameters of type Subject Modifier and Type Method Description com.atlassian.pageobjects.elements.query.TimedQuery<Boolean>PageRestrictionsDialog. hasRestrictionTimed(Subject subject, OperationKey operationKey)Deprecated. -
Uses of Subject in com.atlassian.confluence.rest.client
Methods in com.atlassian.confluence.rest.client with parameters of type Subject 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<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)
-