|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.squashtest.csp.tm.internal.service.BugTrackerLocalServiceImpl
@Service(value="squashtest.tm.service.BugTrackerLocalService") @Transactional public class BugTrackerLocalServiceImpl
| Constructor Summary | |
|---|---|
BugTrackerLocalServiceImpl()
|
|
| Method Summary | ||
|---|---|---|
BugTrackerStatus |
checkBugTrackerStatus()
tests if the bugtracker is ready for use |
|
org.squashtest.csp.core.bugtracker.domain.BTIssue |
createIssue(Bugged entity,
org.squashtest.csp.core.bugtracker.domain.BTIssue issue)
adds a new Issue to the entity. |
|
|
findBuggedEntity(Long entityId,
Class<X> entityClass)
returns an instance of an entity that implements Bugged, provided its id and actual class. |
|
FilteredCollectionHolder<List<IssueOwnership<org.squashtest.csp.core.bugtracker.domain.BTIssue>>> |
findBugTrackerIssues(Bugged buggedEntity,
CollectionSorting sorter)
Given a Bugged Entity, returns a list of BTIssue (not Issue). |
|
org.squashtest.csp.core.bugtracker.domain.BTProject |
findRemoteProject(String name)
returns an instance of the remote project. |
|
FilteredCollectionHolder<List<IssueOwnership<Issue>>> |
findSquashIssues(Bugged buggedEntity,
CollectionSorting sorter)
Given a Bugged Entity, returns a list of Issue (not BTIssue). |
|
org.squashtest.csp.core.bugtracker.spi.BugTrackerInterfaceDescriptor |
getInterfaceDescriptor()
An InterfaceDescriptor contains informations relevant to the generation of a view/GUI. |
|
List<org.squashtest.csp.core.bugtracker.domain.BTIssue> |
getIssues(List<String> issueKeyList)
returns a list of BTIssu corresponding to the given string keys |
|
URL |
getIssueUrl(String btIssueId)
Gets the url of a remote Issue given its Id |
|
List<org.squashtest.csp.core.bugtracker.domain.Priority> |
getRemotePriorities()
returns the list of priorities . |
|
void |
setCredentials(String username,
String password)
sets the credentials of an user for authentication bugtracker-side. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BugTrackerLocalServiceImpl()
| Method Detail |
|---|
@PostAuthorize(value="hasPermission(returnObject,\'READ\') or hasRole(\'ROLE_ADMIN\')")
public <X extends Bugged> X findBuggedEntity(Long entityId,
Class<X> entityClass)
BugTrackerLocalService
findBuggedEntity in interface BugTrackerLocalServiceX - : a .class of an implementor of bugged.entityId - : the id of that entity.entityClass - : the actual class of that entity.
public org.squashtest.csp.core.bugtracker.spi.BugTrackerInterfaceDescriptor getInterfaceDescriptor()
BugTrackerLocalService
getInterfaceDescriptor in interface BugTrackerLocalServicepublic BugTrackerStatus checkBugTrackerStatus()
BugTrackerLocalService
checkBugTrackerStatus in interface BugTrackerLocalService
@PreAuthorize(value="hasPermission(#entity, \'WRITE\') or hasRole(\'ROLE_ADMIN\')")
public org.squashtest.csp.core.bugtracker.domain.BTIssue createIssue(Bugged entity,
org.squashtest.csp.core.bugtracker.domain.BTIssue issue)
BugTrackerLocalService
createIssue in interface BugTrackerLocalServiceissue - : the issue to add
public List<org.squashtest.csp.core.bugtracker.domain.BTIssue> getIssues(List<String> issueKeyList)
BugTrackerLocalService
getIssues in interface BugTrackerLocalServiceissueKeyList - the issue key list
@PreAuthorize(value="hasPermission(#buggedEntity, \'READ\') or hasRole(\'ROLE_ADMIN\')")
public FilteredCollectionHolder<List<IssueOwnership<Issue>>> findSquashIssues(Bugged buggedEntity,
CollectionSorting sorter)
BugTrackerLocalService
findSquashIssues in interface BugTrackerLocalServicebuggedEntity - of which we need to get the issues,sorter - that tells us how we should sort and filter the data
@PreAuthorize(value="hasPermission(#buggedEntity, \'READ\') or hasRole(\'ROLE_ADMIN\')")
public FilteredCollectionHolder<List<IssueOwnership<org.squashtest.csp.core.bugtracker.domain.BTIssue>>> findBugTrackerIssues(Bugged buggedEntity,
CollectionSorting sorter)
BugTrackerLocalService
findBugTrackerIssues in interface BugTrackerLocalServicebuggedEntity - of which we need to get the issues,sorter - that tells us how we should sort and filter the data
public org.squashtest.csp.core.bugtracker.domain.BTProject findRemoteProject(String name)
BugTrackerLocalService
findRemoteProject in interface BugTrackerLocalServicename - : the name of the project.
public List<org.squashtest.csp.core.bugtracker.domain.Priority> getRemotePriorities()
BugTrackerLocalService
getRemotePriorities in interface BugTrackerLocalService
public void setCredentials(String username,
String password)
BugTrackerLocalService
setCredentials in interface BugTrackerLocalServicepublic URL getIssueUrl(String btIssueId)
BugTrackerLocalService
getIssueUrl in interface BugTrackerLocalServicebtIssueId - the id of that issue
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||