|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.squashtest.tm.service.internal.project.CustomGenericProjectManagerImpl
@Service(value="CustomGenericProjectManager") @Transactional public class CustomGenericProjectManagerImpl
| Constructor Summary | |
|---|---|
CustomGenericProjectManagerImpl()
|
|
| Method Summary | |
|---|---|
void |
addNewPermissionToProject(long userId,
long projectId,
String permission)
|
void |
bindTestAutomationProject(long projectId,
org.squashtest.tm.domain.testautomation.TestAutomationProject taProject)
Will bind the TM project to a TA project. |
void |
changeBugTracker(org.squashtest.tm.domain.project.GenericProject project,
org.squashtest.csp.core.bugtracker.domain.BugTracker newBugtracker)
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,
String projectBugTrackerName)
Will change a bugtracker connexion parameter : the name of the bugtracker's project it's associated to. |
void |
coerceTemplateIntoProject(long templateId)
|
void |
deleteProject(long projectId)
|
void |
disableWizardForWorkspace(long projectId,
org.squashtest.tm.api.workspace.WorkspaceType workspace,
String wizardId)
enables the given wizard for the given workspace of the given project |
void |
enableWizardForWorkspace(long projectId,
org.squashtest.tm.api.workspace.WorkspaceType workspace,
String wizardId)
enables the given wizard for the given workspace of the given project |
org.squashtest.tm.domain.project.AdministrableProject |
findAdministrableProjectById(long projectId)
|
List<org.squashtest.tm.security.acls.PermissionGroup> |
findAllPossiblePermission()
|
List<org.squashtest.tm.domain.testautomation.TestAutomationProject> |
findBoundTestAutomationProjects(long projectId)
|
org.squashtest.tm.domain.users.Party |
findPartyById(long partyId)
|
org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<org.squashtest.tm.domain.users.PartyProjectPermissionsBean>> |
findPartyPermissionsBeanByProject(org.squashtest.tm.core.foundation.collection.PagingAndSorting sorting,
org.squashtest.tm.core.foundation.collection.Filtering filtering,
long projectId)
|
List<org.squashtest.tm.domain.users.PartyProjectPermissionsBean> |
findPartyPermissionsBeansByProject(long projectId)
|
List<org.squashtest.tm.domain.users.Party> |
findPartyWithoutPermissionByProject(long projectId)
|
org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<org.squashtest.tm.domain.project.GenericProject>> |
findSortedProjects(org.squashtest.tm.core.foundation.collection.PagingAndSorting pagingAndSorting,
org.squashtest.tm.core.foundation.collection.Filtering filter)
Will find all Projects and Templates to which the user has management access to and return them ordered according to the given params. |
org.squashtest.tm.domain.testautomation.TestAutomationServer |
getLastBoundServerOrDefault(long projectId)
Returns a TestAutomationServer instance. |
void |
persist(org.squashtest.tm.domain.project.GenericProject project)
|
void |
removeBugTracker(long projectId)
Will remove the association the Project has to it's Bugtracker. |
void |
removeProjectPermission(long userId,
long projectId)
|
void |
unbindTestAutomationProject(long projectId,
long taProjectId)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CustomGenericProjectManagerImpl()
| Method Detail |
|---|
@Transactional(readOnly=true)
@PreAuthorize(value="hasRole(\'ROLE_TM_PROJECT_MANAGER\') or hasRole(\'ROLE_ADMIN\')")
public org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<org.squashtest.tm.domain.project.GenericProject>> findSortedProjects(org.squashtest.tm.core.foundation.collection.PagingAndSorting pagingAndSorting,
org.squashtest.tm.core.foundation.collection.Filtering filter)
CustomGenericProjectManager
findSortedProjects in interface CustomGenericProjectManagerpagingAndSorting - the PagingAndSorting that holds order and paging params
PagedCollectionHolder containing all projects the user has management access to, ordered according to the given params.org.squashtest.tm.service.project.CustomGenericProjectManager#findSortedProjects(org.squashtest.tm.core.foundation.collection.PagingAndSorting)@PreAuthorize(value="hasRole(\'ROLE_ADMIN\')") public void persist(org.squashtest.tm.domain.project.GenericProject project)
persist in interface CustomGenericProjectManager@PreAuthorize(value="hasRole(\'ROLE_ADMIN\')") public void coerceTemplateIntoProject(long templateId)
coerceTemplateIntoProject in interface CustomGenericProjectManagerCustomGenericProjectManager.coerceTemplateIntoProject(long)@PreAuthorize(value="hasRole(\'ROLE_TM_PROJECT_MANAGER\') or hasRole(\'ROLE_ADMIN\')") public void deleteProject(long projectId)
deleteProject in interface CustomGenericProjectManagerpublic org.squashtest.tm.domain.project.AdministrableProject findAdministrableProjectById(long projectId)
findAdministrableProjectById in interface CustomGenericProjectFinder
public void addNewPermissionToProject(long userId,
long projectId,
String permission)
addNewPermissionToProject in interface CustomGenericProjectManager
public void removeProjectPermission(long userId,
long projectId)
removeProjectPermission in interface CustomGenericProjectManagerpublic List<org.squashtest.tm.domain.users.PartyProjectPermissionsBean> findPartyPermissionsBeansByProject(long projectId)
findPartyPermissionsBeansByProject in interface CustomGenericProjectFinder
public org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<org.squashtest.tm.domain.users.PartyProjectPermissionsBean>> findPartyPermissionsBeanByProject(org.squashtest.tm.core.foundation.collection.PagingAndSorting sorting,
org.squashtest.tm.core.foundation.collection.Filtering filtering,
long projectId)
findPartyPermissionsBeanByProject in interface CustomGenericProjectFinderpublic List<org.squashtest.tm.security.acls.PermissionGroup> findAllPossiblePermission()
findAllPossiblePermission in interface CustomGenericProjectFinderpublic List<org.squashtest.tm.domain.users.Party> findPartyWithoutPermissionByProject(long projectId)
findPartyWithoutPermissionByProject in interface CustomGenericProjectFinderpublic org.squashtest.tm.domain.users.Party findPartyById(long partyId)
findPartyById in interface CustomGenericProjectManager
public void bindTestAutomationProject(long projectId,
org.squashtest.tm.domain.testautomation.TestAutomationProject taProject)
CustomGenericProjectManager
bindTestAutomationProject in interface CustomGenericProjectManagerpublic org.squashtest.tm.domain.testautomation.TestAutomationServer getLastBoundServerOrDefault(long projectId)
CustomGenericProjectFinder
getLastBoundServerOrDefault in interface CustomGenericProjectFinderpublic List<org.squashtest.tm.domain.testautomation.TestAutomationProject> findBoundTestAutomationProjects(long projectId)
findBoundTestAutomationProjects in interface CustomGenericProjectFinder
public void unbindTestAutomationProject(long projectId,
long taProjectId)
unbindTestAutomationProject in interface CustomGenericProjectManager
public void changeBugTracker(long projectId,
Long newBugtrackerId)
CustomGenericProjectManager
changeBugTracker in interface CustomGenericProjectManager
public void changeBugTracker(org.squashtest.tm.domain.project.GenericProject project,
org.squashtest.csp.core.bugtracker.domain.BugTracker newBugtracker)
CustomGenericProjectManager
changeBugTracker in interface CustomGenericProjectManagerproject - : the concerned GenericProjectnewBugtracker - : the bugtracker to bind the project topublic void removeBugTracker(long projectId)
CustomGenericProjectManager
removeBugTracker in interface CustomGenericProjectManager
public void changeBugTrackerProjectName(long projectId,
String projectBugTrackerName)
CustomGenericProjectManager
changeBugTrackerProjectName in interface CustomGenericProjectManagerprojectId - the concerned projectprojectBugTrackerName - the name of the bugtracker's project, the Project is connected to
@PreAuthorize(value="hasRole(\'ROLE_TM_PROJECT_MANAGER\') or hasRole(\'ROLE_ADMIN\')")
public void enableWizardForWorkspace(long projectId,
org.squashtest.tm.api.workspace.WorkspaceType workspace,
String wizardId)
CustomGenericProjectManager
enableWizardForWorkspace in interface CustomGenericProjectManager
@PreAuthorize(value="hasRole(\'ROLE_TM_PROJECT_MANAGER\') or hasRole(\'ROLE_ADMIN\')")
public void disableWizardForWorkspace(long projectId,
org.squashtest.tm.api.workspace.WorkspaceType workspace,
String wizardId)
CustomGenericProjectManager
disableWizardForWorkspace in interface CustomGenericProjectManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||