Uses of Interface
com.atlassian.bitbucket.project.Project
Package
Description
-
Uses of Project in com.atlassian.bitbucket.avatar
Modifier and TypeMethodDescriptionAvatarService.getUrlForProject
(Project project, AvatarRequest request) Retrieves a URL referencing an avatar for the providedproject
. -
Uses of Project in com.atlassian.bitbucket.event.permission
ModifierConstructorDescriptionprotected
AbstractProjectPermissionModificationEvent
(Object source, Permission oldValue, Permission newValue, Project project, String affectedGroup, ApplicationUser affectedUser) protected
ProjectPermissionEvent
(Object source, Permission permission, Project project, String affectedGroup, ApplicationUser affectedUser) ProjectPermissionGrantedEvent
(Object source, Permission permission, Project project, String affectedGroup, ApplicationUser affectedUser) ProjectPermissionGrantRequestedEvent
(Object source, Permission permission, Project project, String affectedGroup, ApplicationUser affectedUser, CancelState cancelState) ProjectPermissionModificationRequestedEvent
(Object source, Permission oldValue, Permission newValue, Project project, String affectedGroup, ApplicationUser affectedUser, CancelState cancelState) ProjectPermissionModifiedEvent
(Object source, Permission oldValue, Permission newValue, Project project, String affectedGroup, ApplicationUser affectedUser) ProjectPermissionRevocationRequestedEvent
(Object source, Permission permission, Project project, String affectedGroup, ApplicationUser affectedUser, CancelState cancelState) ProjectPermissionRevokedEvent
(Object source, Permission permission, Project project, String affectedGroup, ApplicationUser affectedUser) -
Uses of Project in com.atlassian.bitbucket.event.project
Modifier and TypeFieldDescriptionprotected final Project
AbstractProjectModificationEvent.newValue
protected final Project
AbstractProjectModificationEvent.oldValue
Modifier and TypeMethodDescriptionAbstractProjectModificationEvent.getNewValue()
AbstractProjectModificationEvent.getOldValue()
ProjectEvent.getProject()
ModifierConstructorDescriptionAbstractProjectModificationEvent
(Object source, Project project, Project oldValue, Project newValue) ProjectAvatarUpdatedEvent
(Object source, Project project) ProjectCreatedEvent
(Object source, Project project) ProjectCreationRequestedEvent
(Object source, Project project, CancelState cancelState) ProjectDeletedEvent
(Object source, Project project) ProjectDeletionRequestedEvent
(Object source, Project project, CancelState cancelState) protected
ProjectEvent
(Object source, Project project) ProjectImportedEvent
(Object source, Project project) ProjectModificationRequestedEvent
(Object source, Project oldValue, Project newValue, CancelState cancelState) ProjectModifiedEvent
(Object source, Project oldValue, Project newValue) -
Uses of Project in com.atlassian.bitbucket.permission
Modifier and TypeMethodDescriptionPermissionPredicateFactory.createProjectAccessiblePredicate()
PermissionPredicateFactory.createProjectPermissionPredicate
(Permission permission) Modifier and TypeMethodDescriptionPermissionAdminService.findGroupsWithoutProjectPermission
(Project project, String filter, PageRequest pageRequest) Retrieves a page of groups who have not been explicitly granted any project permissionPermissionAdminService.findGroupsWithProjectPermission
(Project project, String filter, PageRequest pageRequest) Retrieves a page ofgroups
and their highest granted permission for the specified project.PermissionAdminService.findLicensedUsersWithoutProjectPermission
(Project project, String filter, PageRequest pageRequest) PermissionAdminService.findUsersWithProjectPermission
(Project project, String filter, PageRequest pageRequest) Retrieves a page ofusers
and their highest granted permission for the specified project.void
PermissionAdminService.grantAllProjectPermission
(Permission permission, Project project) Grant a project permission to all users usersboolean
PermissionAdminService.hasAllProjectPermission
(Permission permission, Project project) Check if the given project permission has been granted to every logged in user for the given project.boolean
PermissionService.hasDirectProjectUserPermission
(Project project, Permission permission) boolean
PermissionService.hasProjectPermission
(Project project, Permission permission) boolean
PermissionService.hasProjectPermission
(ApplicationUser user, Project project, Permission permission) Will return true if the user isactive
and one of the following conditions is met: permission is granted directly for the given user on the given project permission is granted for all logged in users on the given project permission is granted to a group the given user is a member of on the given project The given user is directly granted a permission on at least one repository within the given project and the given permission is implied as a result A group the given user is a member of is granted a permission on at least one repository within the given project and the given permission is implied as a result The given project ispublicly accessible
and the permission is implied as a result the given user is directly grantedadministration rights
A group the given user is a member of is grantedadministration rights
boolean
PermissionService.hasProjectPermissionThroughGroupMembership
(Project project, Permission permission, Set<String> excludedGroups) boolean
PermissionService.isProjectAccessible
(Project project) Retrieve whether the current user (authenticated or not) has access to the given project.boolean
PermissionService.isPubliclyAccessible
(Project project) Retrieves whether the project is publicly accessible.SetPermissionRequest.Builder.projectPermission
(Permission permission, Project project) void
PermissionAdminService.revokeAllProjectPermission
(Permission permission, Project project) Revoked a project permission from all users usersvoid
PermissionAdminService.revokeAllProjectPermissions
(Project project, ApplicationUser user) Revoke all project permissions for the given user.void
PermissionAdminService.revokeAllProjectPermissions
(Project project, String group) Revoke all project permissions for the given group.void
PermissionAdminService.revokeAllProjectPermissions
(Project project, Set<String> groups, Set<ApplicationUser> users) Revoke all project permissions for the given users and groups.void
PermissionValidationService.validateForProject
(Project project, Permission permission) Validate that the current user has the specified permission for the project -
Uses of Project in com.atlassian.bitbucket.project
Modifier and TypeInterfaceDescriptioninterface
Describes auser's
personal project in the system.Modifier and TypeMethodDescriptionProjectService.create
(ProjectCreateRequest request) Creates a newProject
and sets its avatar, if provided.ProjectService.getById
(int id) ProjectSupplier.getById
(int id) ProjectMovedException.getProject()
ProjectService.update
(ProjectUpdateRequest request) Update a project's data with new values.Modifier and TypeMethodDescriptionProjectService.findAll
(PageRequest pageRequest) Retrieves a page of projects which are visible for the current user.ProjectService.search
(ProjectSearchRequest searchRequest, PageRequest pageRequest) Modifier and TypeMethodDescriptionboolean
Deletes the specifiedproject
, if it exists.protected void
Called byAbstractVoidProjectVisitor.visit(Project)
.InvokesAbstractVoidProjectVisitor.doVisit(Project)
and returnsnull
.ModifierConstructorDescriptionprotected
AbstractBuilder
(Project project) ProjectMovedException
(Project project, String projectKey, KeyedMessage message) -
Uses of Project in com.atlassian.bitbucket.pull
-
Uses of Project in com.atlassian.bitbucket.repository
Modifier and TypeMethodDescriptionNoSuchRepositoryException.getProject()
Repository.getProject()
Retrieves theproject
to which this repository belongs.RepositoryCreateRequest.getProject()
Retrieves the project in which the new repository will be created.RepositoryForkRequest.getProject()
Retrieves the project in which the fork should be created, ornull
to create the fork in the current user'spersonal project
.RepositoryUpdateRequest.getProject()
Retrieves theproject
the repository should be moved to.Modifier and TypeMethodDescriptionint
RepositoryService.countByProject
(Project project) Get the number of repositories that belong to a project.Sets the project in which the repository will be created.Sets the project to which theparent
will be forked.Sets theproject
the repository should be moved to.ModifierConstructorDescriptionNoSuchRepositoryException
(KeyedMessage message, Project project) NoSuchRepositoryException
(KeyedMessage message, Throwable cause, Project project) -
Uses of Project in com.atlassian.bitbucket.scope
-
Uses of Project in com.atlassian.bitbucket.settingsrestriction
Modifier and TypeMethodDescriptionProjectSettingsRestriction.getProject()
ProjectSettingsRestrictionCreateRequest.getProject()
UnsupportedPersonalProjectException.getProject()
Modifier and TypeMethodDescriptionvoid
ProjectSettingsRestrictionService.delete
(Project project, SettingsKey settingsKey) Deletes the specifiedrestriction
, if it exists.ProjectSettingsRestrictionService.get
(Project project, SettingsKey settingsKey) boolean
ProjectSettingsRestrictionService.hasRestriction
(Project project, SettingsKey settingsKey) Retrieves a flag indicating whether arestriction
exists, specified by itsprojects
andsettings key
.<T> T
ProjectSettingsRestrictionService.withRestriction
(Project project, SettingsKey settingsKey, ProjectSettingsRestrictionAction action, Supplier<T> operation) A wrapper method for the specifiedoperation
thatupdates
therestriction
for the specifiedproject
andsettingsKey
.Modifier and TypeMethodDescriptionboolean
ProjectSettingsRestrictionService.hasRestrictions
(Collection<Project> projects, SettingsKey settingsKey) Retrieves a flag indicating whether anyrestrictions
exists for the providedprojects
, matching the providedsettings key
.ModifierConstructorDescriptionBuilder
(Project project, SettingsKey settingsKey) UnsupportedPersonalProjectException
(String message, Project project) -
Uses of Project in com.atlassian.bitbucket.user
Modifier and TypeMethodDescriptionUserSearchRequest.Builder.projectPermission
(Project project, Permission permission) Set the project permission filter for the resultingrequest
.