Package | Description |
---|---|
com.atlassian.jira.bc.project | |
com.atlassian.jira.mock | |
com.atlassian.jira.project |
Modifier and Type | Method and Description |
---|---|
ProjectCreationData |
ProjectCreationData.Builder.build() |
ProjectCreationData |
ProjectService.CreateProjectValidationResult.getProjectCreationData() |
Modifier and Type | Method and Description |
---|---|
ProjectCreationData.Builder |
ProjectCreationData.Builder.from(ProjectCreationData data) |
ProjectCreationData.Builder |
ProjectCreationData.Builder.fromExistingProject(Project existingProject,
ProjectCreationData input)
Creates a new instance of ProjectCreationData using a combination of the existing project's data
as well as the input provided
|
boolean |
DefaultProjectService.isValidAllProjectData(JiraServiceContext serviceContext,
ProjectCreationData projectCreationData) |
boolean |
ProjectService.isValidAllProjectData(JiraServiceContext serviceContext,
ProjectCreationData projectCreationData)
Deprecated.
|
boolean |
DefaultProjectService.isValidRequiredProjectData(JiraServiceContext serviceContext,
ProjectCreationData projectCreationData) |
boolean |
ProjectService.isValidRequiredProjectData(JiraServiceContext serviceContext,
ProjectCreationData projectCreationData)
Validate the fields required for creating a project.
|
ProjectService.CreateProjectValidationResult |
DefaultProjectService.validateCreateProject(ApplicationUser user,
ProjectCreationData projectCreationData) |
ProjectService.CreateProjectValidationResult |
ProjectService.validateCreateProject(ApplicationUser user,
ProjectCreationData projectCreationData)
This method needs to be called before creating a project to ensure all parameters are correct.
|
ProjectService.CreateProjectValidationResult |
DefaultProjectService.validateCreateProjectBasedOnExistingProject(ApplicationUser user,
Long existingProjectId,
ProjectCreationData input) |
ProjectService.CreateProjectValidationResult |
ProjectService.validateCreateProjectBasedOnExistingProject(ApplicationUser user,
Long existingProjectId,
ProjectCreationData projectCreationData)
Validates if the current user can create a new project with shared schemes based on the existing project
provided.
|
Constructor and Description |
---|
CreateProjectValidationResult(ErrorCollection errorCollection,
ApplicationUser user,
ProjectCreationData projectCreationData) |
CreateProjectValidationResult(ErrorCollection errorCollection,
ApplicationUser user,
ProjectCreationData projectCreationData,
Optional<Long> existingProjectId) |
Modifier and Type | Method and Description |
---|---|
Project |
MockProjectManager.createProject(ApplicationUser user,
ProjectCreationData projectCreationData) |
Modifier and Type | Method and Description |
---|---|
Project |
DefaultProjectManager.createProject(ApplicationUser user,
ProjectCreationData projectCreationData) |
Project |
CachingProjectManager.createProject(ApplicationUser user,
ProjectCreationData projectCreationData) |
Project |
ProjectManager.createProject(ApplicationUser user,
ProjectCreationData projectCreationData)
Creates the project in the database, and adds default project roles for this project.
|
Copyright © 2002-2024 Atlassian. All Rights Reserved.