Uses of Interface
com.atlassian.bitbucket.project.Project
Packages that use Project
Package
Description
-
Uses of Project in com.atlassian.bitbucket.avatar
Methods in com.atlassian.bitbucket.avatar with parameters of type ProjectModifier 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
Methods in com.atlassian.bitbucket.event.permission that return ProjectConstructors in com.atlassian.bitbucket.event.permission with parameters of type ProjectModifierConstructorDescriptionprotected
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
Fields in com.atlassian.bitbucket.event.project declared as ProjectModifier and TypeFieldDescriptionprotected final Project
AbstractProjectModificationEvent.newValue
protected final Project
AbstractProjectModificationEvent.oldValue
Methods in com.atlassian.bitbucket.event.project that return ProjectModifier and TypeMethodDescriptionAbstractProjectModificationEvent.getNewValue()
AbstractProjectModificationEvent.getOldValue()
ProjectEvent.getProject()
Constructors in com.atlassian.bitbucket.event.project with parameters of type ProjectModifierConstructorDescriptionAbstractProjectModificationEvent
(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
Methods in com.atlassian.bitbucket.permission that return ProjectMethods in com.atlassian.bitbucket.permission that return types with arguments of type ProjectModifier and TypeMethodDescriptionPermissionPredicateFactory.createProjectAccessiblePredicate()
PermissionPredicateFactory.createProjectPermissionPredicate
(Permission permission) Methods in com.atlassian.bitbucket.permission with parameters of type ProjectModifier 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
Subinterfaces of Project in com.atlassian.bitbucket.projectModifier and TypeInterfaceDescriptioninterface
Describes auser's
personal project in the system.Methods in com.atlassian.bitbucket.project that return ProjectModifier 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.Methods in com.atlassian.bitbucket.project that return types with arguments of type ProjectModifier and TypeMethodDescriptionProjectService.findAll
(PageRequest pageRequest) Retrieves a page of projects which are visible for the current user.ProjectService.search
(ProjectSearchRequest searchRequest, PageRequest pageRequest) Methods in com.atlassian.bitbucket.project with parameters of type ProjectModifier and TypeMethodDescriptionboolean
Deletes the specifiedproject
, if it exists.protected void
Called byAbstractVoidProjectVisitor.visit(Project)
.InvokesAbstractVoidProjectVisitor.doVisit(Project)
and returnsnull
.Constructors in com.atlassian.bitbucket.project with parameters of type ProjectModifierConstructorDescriptionprotected
AbstractBuilder
(Project project) ProjectMovedException
(Project project, String projectKey, KeyedMessage message) -
Uses of Project in com.atlassian.bitbucket.pull
Methods in com.atlassian.bitbucket.pull that return types with arguments of type ProjectConstructors in com.atlassian.bitbucket.pull with parameters of type Project -
Uses of Project in com.atlassian.bitbucket.repository
Methods in com.atlassian.bitbucket.repository that return ProjectModifier 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.Methods in com.atlassian.bitbucket.repository with parameters of type ProjectModifier 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.Constructors in com.atlassian.bitbucket.repository with parameters of type ProjectModifierConstructorDescriptionNoSuchRepositoryException
(KeyedMessage message, Project project) NoSuchRepositoryException
(KeyedMessage message, Throwable cause, Project project) -
Uses of Project in com.atlassian.bitbucket.scope
Methods in com.atlassian.bitbucket.scope that return ProjectMethods in com.atlassian.bitbucket.scope with parameters of type ProjectConstructors in com.atlassian.bitbucket.scope with parameters of type Project -
Uses of Project in com.atlassian.bitbucket.settingsrestriction
Methods in com.atlassian.bitbucket.settingsrestriction that return ProjectModifier and TypeMethodDescriptionProjectSettingsRestriction.getProject()
ProjectSettingsRestrictionCreateRequest.getProject()
UnsupportedPersonalProjectException.getProject()
Methods in com.atlassian.bitbucket.settingsrestriction with parameters of type ProjectModifier 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
.Method parameters in com.atlassian.bitbucket.settingsrestriction with type arguments of type ProjectModifier and TypeMethodDescriptionboolean
ProjectSettingsRestrictionService.hasRestrictions
(Collection<Project> projects, SettingsKey settingsKey) Retrieves a flag indicating whether anyrestrictions
exists for the providedprojects
, matching the providedsettings key
.Constructors in com.atlassian.bitbucket.settingsrestriction with parameters of type ProjectModifierConstructorDescriptionBuilder
(Project project, SettingsKey settingsKey) UnsupportedPersonalProjectException
(String message, Project project) -
Uses of Project in com.atlassian.bitbucket.user
Methods in com.atlassian.bitbucket.user with parameters of type ProjectModifier and TypeMethodDescriptionUserSearchRequest.Builder.projectPermission
(Project project, Permission permission) Set the project permission filter for the resultingrequest
.