Class DeploymentProjectDeletionServiceImpl
java.lang.Object
com.atlassian.bamboo.deployments.projects.service.DeploymentProjectDeletionServiceImpl
- All Implemented Interfaces:
DeploymentProjectDeletionService
public class DeploymentProjectDeletionServiceImpl
extends Object
implements DeploymentProjectDeletionService
-
Constructor Summary
ConstructorDescriptionDeploymentProjectDeletionServiceImpl
(BambooTransactionHibernateTemplate bambooTransactionHibernateTemplate, DeploymentProjectDao deploymentProjectDao, DeploymentVersionDeletionService deploymentVersionDeletionService, EnvironmentDeletionService environmentDeletionService, HibernateMutableAclService aclService, ArtifactManager artifactManager, com.atlassian.event.api.EventPublisher eventPublisher, DeploymentVersionLinkedJiraIssuesService jiraIssuesService, AgentAssignmentService agentAssignmentService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteDeploymentProject
(long deploymentProjectId) Affected tables: - DEPLOYMENT_PROJECT (manual, Hibernate) - DEPLOYMENT_PROJECT_ARTIFACT (cascade) - DEPLOYMENT_VERSION_NAMING (manual, Hibernate) - VARIABLESTOAUTOINCREMENT (cascade) - DEPLOYMENT_VERSION and dependent (manual, JDBC) - DEPLOYMENT_ENVIRONMENT and dependent (manual, JDBC) - ACL (manual, Hibernate)
-
Constructor Details
-
DeploymentProjectDeletionServiceImpl
public DeploymentProjectDeletionServiceImpl(BambooTransactionHibernateTemplate bambooTransactionHibernateTemplate, DeploymentProjectDao deploymentProjectDao, DeploymentVersionDeletionService deploymentVersionDeletionService, EnvironmentDeletionService environmentDeletionService, HibernateMutableAclService aclService, ArtifactManager artifactManager, com.atlassian.event.api.EventPublisher eventPublisher, DeploymentVersionLinkedJiraIssuesService jiraIssuesService, AgentAssignmentService agentAssignmentService)
-
-
Method Details
-
deleteDeploymentProject
public void deleteDeploymentProject(long deploymentProjectId) Affected tables: - DEPLOYMENT_PROJECT (manual, Hibernate) - DEPLOYMENT_PROJECT_ARTIFACT (cascade) - DEPLOYMENT_VERSION_NAMING (manual, Hibernate) - VARIABLESTOAUTOINCREMENT (cascade) - DEPLOYMENT_VERSION and dependent (manual, JDBC) - DEPLOYMENT_ENVIRONMENT and dependent (manual, JDBC) - ACL (manual, Hibernate)- Specified by:
deleteDeploymentProject
in interfaceDeploymentProjectDeletionService
- Parameters:
deploymentProjectId
- of the project
-