|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.squashtest.csp.tm.internal.service.project.CustomGenericProjectManagerImpl
@Service(value="CustomGenericProjectManager") public class CustomGenericProjectManagerImpl
| Constructor Summary | |
|---|---|
CustomGenericProjectManagerImpl()
|
|
| Method Summary | |
|---|---|
void |
addNewPermissionToProject(long userId,
long projectId,
String permission)
|
void |
bindTestAutomationProject(long projectId,
TestAutomationProject taProject)
Will bind the TM project to a TA project. |
void |
changeBugTracker(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)
|
AdministrableProject |
findAdministrableProjectById(long projectId)
|
List<org.squashtest.csp.core.security.acls.PermissionGroup> |
findAllPossiblePermission()
|
List<TestAutomationProject> |
findBoundTestAutomationProjects(long projectId)
|
org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<GenericProject>> |
findSortedProjects(org.squashtest.tm.core.foundation.collection.PagingAndSorting pagingAndSorting)
Will find all Projects and Templates to which the user has management access to and return them ordered according to the given params. |
User |
findUserByLogin(String userLogin)
|
List<UserProjectPermissionsBean> |
findUserPermissionsBeansByProject(long projectId)
|
List<User> |
findUserWithoutPermissionByProject(long projectId)
|
TestAutomationServer |
getLastBoundServerOrDefault(long projectId)
Returns a TestAutomationServer instance. |
void |
persist(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<GenericProject>> findSortedProjects(org.squashtest.tm.core.foundation.collection.PagingAndSorting pagingAndSorting)
CustomGenericProjectManager
findSortedProjects in interface CustomGenericProjectManagerpagingAndSorting - the PagingAndSorting that holds order and paging params
FilteredCollectionHolder containing all projects the user has management access to, ordered according to the given params.CustomGenericProjectManager.findSortedProjects(org.squashtest.tm.core.foundation.collection.PagingAndSorting)@PreAuthorize(value="hasRole(\'ROLE_ADMIN\')") public void persist(GenericProject project)
persist in interface CustomGenericProjectManagerpublic void coerceTemplateIntoProject(long templateId)
coerceTemplateIntoProject in interface CustomGenericProjectManagerCustomGenericProjectManager.coerceTemplateIntoProject(long)@PreAuthorize(value="hasRole(\'ROLE_ADMIN\')") public void deleteProject(long projectId)
deleteProject in interface CustomGenericProjectManagerpublic 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<UserProjectPermissionsBean> findUserPermissionsBeansByProject(long projectId)
findUserPermissionsBeansByProject in interface CustomGenericProjectManagerpublic List<org.squashtest.csp.core.security.acls.PermissionGroup> findAllPossiblePermission()
findAllPossiblePermission in interface CustomGenericProjectManagerpublic List<User> findUserWithoutPermissionByProject(long projectId)
findUserWithoutPermissionByProject in interface CustomGenericProjectManagerpublic User findUserByLogin(String userLogin)
findUserByLogin in interface CustomGenericProjectManager
public void bindTestAutomationProject(long projectId,
TestAutomationProject taProject)
CustomGenericProjectManager
bindTestAutomationProject in interface CustomGenericProjectManagerpublic TestAutomationServer getLastBoundServerOrDefault(long projectId)
CustomGenericProjectFinder
getLastBoundServerOrDefault in interface CustomGenericProjectFinderpublic List<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(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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||