Modifier and Type | Method and Description |
---|---|
Project |
AuditEntry.getProject()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Page<MinimalAuditEntry> |
AuditService.findByProject(Project project,
PageRequest pageRequest)
Deprecated.
Retrieves a page of audit events recorded for the specified project.
|
AuditEntryBuilder |
AuditEntryBuilder.project(Project value)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
AvatarService.getUrlForProject(Project project,
AvatarRequest request)
Retrieves a URL referencing an avatar for the provided
project . |
Modifier and Type | Method and Description |
---|---|
Project |
ProjectPermissionEvent.getProject() |
Modifier and Type | Field and Description |
---|---|
protected Project |
AbstractProjectModificationEvent.newValue |
protected Project |
AbstractProjectModificationEvent.oldValue |
Modifier and Type | Method and Description |
---|---|
Project |
AbstractProjectModificationEvent.getNewValue() |
Project |
AbstractProjectModificationEvent.getOldValue() |
Project |
ProjectEvent.getProject() |
Constructor and Description |
---|
AbstractProjectModificationEvent(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) |
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) |
Modifier and Type | Method and Description |
---|---|
NavBuilder.Project |
NavBuilder.project(Project project)
/projects/PROJ
|
Modifier and Type | Method and Description |
---|---|
Project |
SetPermissionRequest.getProject() |
Modifier and Type | Method and Description |
---|---|
Predicate<Project> |
PermissionPredicateFactory.createProjectAccessiblePredicate() |
Predicate<Project> |
PermissionPredicateFactory.createProjectPermissionPredicate(Permission permission) |
Modifier and Type | Method and Description |
---|---|
Page<String> |
PermissionAdminService.findGroupsWithoutProjectPermission(Project project,
String filter,
PageRequest pageRequest)
Retrieves a page of groups who have not been explicitly granted any project permission
|
Page<PermittedGroup> |
PermissionAdminService.findGroupsWithProjectPermission(Project project,
String filter,
PageRequest pageRequest)
Retrieves a page of
groups and their highest granted permission for the specified project. |
Page<ApplicationUser> |
PermissionAdminService.findLicensedUsersWithoutProjectPermission(Project project,
String filter,
PageRequest pageRequest)
|
Page<PermittedUser> |
PermissionAdminService.findUsersWithProjectPermission(Project project,
String filter,
PageRequest pageRequest)
Retrieves a page of
users and their highest granted permission for the specified project. |
void |
PermissionAdminService.grantAllProjectPermission(Permission permission,
Project project)
Grant a project permission to all users users
|
boolean |
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(ApplicationUser user,
Project project,
Permission permission)
Will return true if the user is
active 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 is publicly accessible and the permission is
implied as a result
the given user is directly granted administration rights
A group the given user is a member of is granted administration rights
|
boolean |
PermissionService.hasProjectPermission(Project project,
Permission permission) |
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 |
SetPermissionRequest.Builder.projectPermission(Permission permission,
Project project) |
void |
PermissionAdminService.revokeAllProjectPermission(Permission permission,
Project project)
Revoked a project permission from all users users
|
void |
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 |
PermissionValidationService.validateForProject(Project project,
Permission permission)
Validate that the current user has the specified permission for the project
|
Modifier and Type | Interface and Description |
---|---|
interface |
PersonalProject
Describes a
user's personal project in the system. |
Modifier and Type | Method and Description |
---|---|
Project |
ProjectService.create(ProjectCreateRequest request)
Creates a new
Project and sets its avatar, if provided. |
Project |
ProjectService.getById(int id)
|
Project |
ProjectSupplier.getById(int id)
|
Project |
ProjectService.getByKey(String key)
|
Project |
ProjectSupplier.getByKey(String key)
|
Project |
ProjectSupplier.getByKey(String namespace,
String key)
|
Project |
ProjectService.getByName(String name)
|
Project |
ProjectSupplier.getByName(String name)
|
Project |
ProjectSupplier.getByName(String namespace,
String name)
|
Project |
ProjectMovedException.getProject() |
Project |
ProjectService.update(ProjectUpdateRequest request)
Update a project's data with new values.
|
Modifier and Type | Method and Description |
---|---|
Page<Project> |
ProjectService.findAll(PageRequest pageRequest)
Retrieves a page of projects which are visible for the current user.
|
Page<Project> |
ProjectService.search(ProjectSearchRequest searchRequest,
PageRequest pageRequest)
|
Modifier and Type | Method and Description |
---|---|
boolean |
ProjectService.delete(Project project)
Deletes the specified
project , if it exists. |
protected void |
AbstractVoidProjectVisitor.doVisit(Project project)
Called by
AbstractVoidProjectVisitor.visit(Project) . |
T |
AbstractProjectVisitor.visit(Project project) |
Void |
AbstractVoidProjectVisitor.visit(Project project)
Invokes
AbstractVoidProjectVisitor.doVisit(Project) and returns null . |
T |
ProjectVisitor.visit(Project project) |
Constructor and Description |
---|
AbstractBuilder(Project project) |
Builder(Project project) |
Builder(Project project) |
ProjectMovedException(Project project,
String projectNamespace,
String projectKey,
KeyedMessage message) |
Modifier and Type | Method and Description |
---|---|
Optional<Project> |
AbstractPullRequestMergeConfigRequest.getProject() |
Constructor and Description |
---|
AbstractBuilder(Project project,
String scmId) |
Builder(Project project,
String scmId) |
Builder(Project project,
String scmId) |
Builder(Project project,
String scmId) |
Modifier and Type | Method and Description |
---|---|
Project |
Repository.getProject()
Retrieves the
project to which this repository belongs. |
Project |
RepositoryCreateRequest.getProject()
Retrieves the project in which the new repository will be created.
|
Project |
NoSuchRepositoryException.getProject() |
Project |
RepositoryUpdateRequest.getProject()
Retrieves the
project the repository should be moved to. |
Project |
RepositoryForkRequest.getProject()
Retrieves the project in which the fork should be created, or
null to create the fork in the current
user's personal project . |
Modifier and Type | Method and Description |
---|---|
int |
RepositoryService.countByProject(Project project)
Get the number of repositories that belong to a project.
|
RepositoryCreateRequest.Builder |
RepositoryCreateRequest.Builder.project(Project value)
Sets the project in which the repository will be created.
|
RepositoryUpdateRequest.Builder |
RepositoryUpdateRequest.Builder.project(Project value)
Sets the
project the repository should be moved to. |
RepositoryForkRequest.Builder |
RepositoryForkRequest.Builder.project(Project value)
Sets the project to which the
parent will be forked. |
Constructor and Description |
---|
NoSuchRepositoryException(KeyedMessage message,
Project project) |
NoSuchRepositoryException(KeyedMessage message,
Throwable cause,
Project project) |
Modifier and Type | Method and Description |
---|---|
Project |
RepositoryScope.getProject() |
Project |
ProjectScope.getProject() |
Modifier and Type | Method and Description |
---|---|
static ProjectScope |
Scopes.project(Project project) |
Constructor and Description |
---|
ProjectScope(Project project) |
Modifier and Type | Method and Description |
---|---|
UserSearchRequest.Builder |
UserSearchRequest.Builder.projectPermission(Project project,
Permission permission)
Set the project permission filter for the resulting
request . |
Copyright © 2021 Atlassian. All rights reserved.