public interface CustomGenericProjectManager extends CustomGenericProjectFinder
| Modifier and Type | Method and Description |
|---|---|
void |
addNewPermissionToProject(long userId,
long projectId,
String permission) |
void |
bindTestAutomationProject(long tmProjectId,
org.squashtest.tm.domain.testautomation.TestAutomationProject taProject)
Will bind the TM project to a TA project.
|
void |
bindTestAutomationProjects(long tmProjectId,
Collection<org.squashtest.tm.domain.testautomation.TestAutomationProject> taProjects) |
void |
bindTestAutomationServer(long tmProjectId,
Long serverId)
Will bind a TM project to a test automation server.
|
void |
changeBugTracker(org.squashtest.tm.domain.project.GenericProject project,
org.squashtest.csp.core.bugtracker.domain.BugTracker bugtracker)
Change the Bugtracker the Project is associated-to.
|
void |
changeBugTracker(long projectId,
Long newBugtrackerId)
Change the Bugtracker the Project is associated-to.
|
void |
changeBugTrackerProjectName(long projectId,
List<String> projectBugTrackerNames)
Will change a bugtracker connexion parameter : the names of the bugtracker's projects it's associated to.
|
void |
changeName(long projectId,
String newName) |
void |
coerceTemplateIntoProject(long templateId) |
void |
deleteProject(long projectId) |
Set<org.squashtest.tm.domain.execution.ExecutionStatus> |
disabledExecutionStatuses(long projectId)
Returns the list of disabled execution statuses given a project.
|
void |
disableExecutionStatus(long projectId,
org.squashtest.tm.domain.execution.ExecutionStatus executionStatus)
Disables an execution status for a project
|
void |
disablePluginForWorkspace(long projectId,
org.squashtest.tm.api.workspace.WorkspaceType workspace,
String pluginId)
enables the given plugin for the given workspace of the given project
|
Set<org.squashtest.tm.domain.execution.ExecutionStatus> |
enabledExecutionStatuses(long projectId)
Returns the list of enabled execution statuses given a project.
|
void |
enableExecutionStatus(long projectId,
org.squashtest.tm.domain.execution.ExecutionStatus executionStatus)
Enables an execution status for a project
|
void |
enablePluginForWorkspace(long projectId,
org.squashtest.tm.api.workspace.WorkspaceType workspace,
String pluginId)
enables the given plugin for the given workspace of the given project
|
org.squashtest.tm.domain.users.Party |
findPartyById(long partyId) |
org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<org.squashtest.tm.domain.project.GenericProject>> |
findSortedProjects(org.squashtest.tm.core.foundation.collection.PagingAndMultiSorting pagingAndSorting,
org.squashtest.tm.core.foundation.collection.Filtering filtering)
Will find all Projects and Templates to which the user has management access to and return them ordered according
to the given params.
|
Map<String,String> |
getPluginConfiguration(long projectId,
org.squashtest.tm.api.workspace.WorkspaceType workspace,
String pluginId)
Returns the configuration of a given plugin for a given project.
|
boolean |
isExecutionStatusEnabledForProject(long projectId,
org.squashtest.tm.domain.execution.ExecutionStatus executionStatus)
Returns true if a given execution status is enabled for a given project, false otherwise
|
void |
persist(org.squashtest.tm.domain.project.GenericProject project) |
boolean |
projectUsesExecutionStatus(long projectId,
org.squashtest.tm.domain.execution.ExecutionStatus executionStatus) |
void |
removeBugTracker(long projectId)
Will remove the association the Project has to it's Bugtracker.
|
void |
removeProjectPermission(long userId,
long projectId) |
void |
replaceExecutionStepStatus(long projectId,
org.squashtest.tm.domain.execution.ExecutionStatus source,
org.squashtest.tm.domain.execution.ExecutionStatus target)
Replaces an execution status with another within a project
|
void |
setPluginConfiguration(long projectId,
org.squashtest.tm.api.workspace.WorkspaceType workspace,
String pluginId,
Map<String,String> configuration)
Applies the given configuration to a plugin for a given project.
|
org.squashtest.tm.domain.project.GenericProject |
synchronizeGenericProject(org.squashtest.tm.domain.project.GenericProject target,
org.squashtest.tm.domain.project.GenericProject source,
GenericProjectCopyParameter params) |
void |
unbindTestAutomationProject(long projectId,
long taProjectId) |
findAdministrableProjectById, findAllAvailableTaProjects, findAllAvailableTaProjectsWithCredentials, findAllPossiblePermission, findBoundTestAutomationProjects, findPartyPermissionsBeanByProject, findPartyPermissionsBeansByProject, findPartyWithoutPermissionByProjectorg.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<org.squashtest.tm.domain.project.GenericProject>> findSortedProjects(org.squashtest.tm.core.foundation.collection.PagingAndMultiSorting pagingAndSorting, org.squashtest.tm.core.foundation.collection.Filtering filtering)
pagingAndSorting - the PagingAndSorting that holds order and paging paramsfilter - the filter to apply on the resultPagedCollectionHolder containing all projects the user has management access to, ordered
according to the given params.void persist(org.squashtest.tm.domain.project.GenericProject project)
throws org.squashtest.tm.exception.NameAlreadyInUseException
project - org.squashtest.tm.exception.NameAlreadyInUseExceptionvoid coerceTemplateIntoProject(long templateId)
templateId - void deleteProject(long projectId)
void addNewPermissionToProject(long userId,
long projectId,
String permission)
void removeProjectPermission(long userId,
long projectId)
org.squashtest.tm.domain.users.Party findPartyById(long partyId)
void bindTestAutomationServer(long tmProjectId,
Long serverId)
tmProjectId - serverId - void bindTestAutomationProject(long tmProjectId,
org.squashtest.tm.domain.testautomation.TestAutomationProject taProject)
TMprojectId - TAproject - void bindTestAutomationProjects(long tmProjectId,
Collection<org.squashtest.tm.domain.testautomation.TestAutomationProject> taProjects)
void unbindTestAutomationProject(long projectId,
long taProjectId)
void changeBugTracker(long projectId,
Long newBugtrackerId)
projectId - newBugtrackerId - void changeBugTracker(org.squashtest.tm.domain.project.GenericProject project,
org.squashtest.csp.core.bugtracker.domain.BugTracker bugtracker)
project - : the concerned GenericProjectbugtracker - : the bugtracker to bind the project tovoid removeBugTracker(long projectId)
projectId - void changeBugTrackerProjectName(long projectId,
List<String> projectBugTrackerNames)
projectId - the concerned projectprojectBugTrackerNames - the names of the bugtracker's projects, the Project is connected tovoid enablePluginForWorkspace(long projectId,
org.squashtest.tm.api.workspace.WorkspaceType workspace,
String pluginId)
void disablePluginForWorkspace(long projectId,
org.squashtest.tm.api.workspace.WorkspaceType workspace,
String pluginId)
Map<String,String> getPluginConfiguration(long projectId, org.squashtest.tm.api.workspace.WorkspaceType workspace, String pluginId)
void setPluginConfiguration(long projectId,
org.squashtest.tm.api.workspace.WorkspaceType workspace,
String pluginId,
Map<String,String> configuration)
projectId - workspace - pluginId - configuration - void enableExecutionStatus(long projectId,
org.squashtest.tm.domain.execution.ExecutionStatus executionStatus)
projectId - executionStatus - void disableExecutionStatus(long projectId,
org.squashtest.tm.domain.execution.ExecutionStatus executionStatus)
projectId - executionStatus - Set<org.squashtest.tm.domain.execution.ExecutionStatus> enabledExecutionStatuses(long projectId)
projectId - Set<org.squashtest.tm.domain.execution.ExecutionStatus> disabledExecutionStatuses(long projectId)
projectId - void replaceExecutionStepStatus(long projectId,
org.squashtest.tm.domain.execution.ExecutionStatus source,
org.squashtest.tm.domain.execution.ExecutionStatus target)
source - target - boolean isExecutionStatusEnabledForProject(long projectId,
org.squashtest.tm.domain.execution.ExecutionStatus executionStatus)
projectId - executionStatus - boolean projectUsesExecutionStatus(long projectId,
org.squashtest.tm.domain.execution.ExecutionStatus executionStatus)
void changeName(long projectId,
String newName)
throws org.squashtest.tm.exception.NameAlreadyInUseException
org.squashtest.tm.exception.NameAlreadyInUseExceptionorg.squashtest.tm.domain.project.GenericProject synchronizeGenericProject(org.squashtest.tm.domain.project.GenericProject target,
org.squashtest.tm.domain.project.GenericProject source,
GenericProjectCopyParameter params)
Copyright © 2010–2017 Henix, henix.fr. All rights reserved.