|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.greenhopper.service.statistics.WatchedFieldServiceImpl
@Service(value="gh-watchedFieldService") public class WatchedFieldServiceImpl
Encapsulates watched field information. Use this instead of going directly to the Configuration! Note regarding TempKeyGen: This will map the different views to the boardType the search should work on "" is VersionBoard (which is also used by the TaskBoard), the other two existing are ComponentBoard and AssigneeBoard currently
| Field Summary |
|---|
| Fields inherited from interface com.atlassian.greenhopper.service.statistics.WatchedFieldService |
|---|
SERVICE |
| Constructor Summary | |
|---|---|
WatchedFieldServiceImpl()
|
|
| Method Summary | |
|---|---|
ErrorCollection |
addWatchedField(com.atlassian.crowd.embedded.api.User user,
ViewDefinition view,
Configuration configuration,
java.lang.String fieldId)
Add a field to the watched fields. |
java.util.Set<IssueField> |
getAllAvailableWatchedFields(com.atlassian.crowd.embedded.api.User user,
ViewDefinition view,
Configuration configuration)
Get all available watched fields for a given boardType and configuration Note that this method won't return IssueFields already contained in watched fields. |
WatchedField |
getWatchedField(com.atlassian.crowd.embedded.api.User user,
ViewDefinition view,
Configuration configuration,
java.lang.String fieldId)
Get a watched field given its field id |
java.util.Set<WatchedField> |
getWatchedFields(com.atlassian.crowd.embedded.api.User user,
ViewDefinition view,
Configuration configuration)
Get the configured watched fields for a given boardType and configuration |
boolean |
isWatchedField(com.atlassian.crowd.embedded.api.User user,
ViewDefinition view,
Configuration configuration,
IssueField issueField)
Is the passed in IssueField a watched field? |
ErrorCollection |
removeWatchedField(com.atlassian.crowd.embedded.api.User user,
ViewDefinition view,
Configuration configuration,
java.lang.String fieldId)
Remove a field from the watched fields. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WatchedFieldServiceImpl()
| Method Detail |
|---|
public java.util.Set<IssueField> getAllAvailableWatchedFields(com.atlassian.crowd.embedded.api.User user,
ViewDefinition view,
Configuration configuration)
WatchedFieldService
getAllAvailableWatchedFields in interface WatchedFieldService
public java.util.Set<WatchedField> getWatchedFields(com.atlassian.crowd.embedded.api.User user,
ViewDefinition view,
Configuration configuration)
WatchedFieldService
getWatchedFields in interface WatchedFieldService
public ErrorCollection addWatchedField(com.atlassian.crowd.embedded.api.User user,
ViewDefinition view,
Configuration configuration,
java.lang.String fieldId)
WatchedFieldService
addWatchedField in interface WatchedFieldService
public ErrorCollection removeWatchedField(com.atlassian.crowd.embedded.api.User user,
ViewDefinition view,
Configuration configuration,
java.lang.String fieldId)
WatchedFieldService
removeWatchedField in interface WatchedFieldService
public WatchedField getWatchedField(com.atlassian.crowd.embedded.api.User user,
ViewDefinition view,
Configuration configuration,
java.lang.String fieldId)
WatchedFieldService
getWatchedField in interface WatchedFieldService
public boolean isWatchedField(com.atlassian.crowd.embedded.api.User user,
ViewDefinition view,
Configuration configuration,
IssueField issueField)
isWatchedField in interface WatchedFieldService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||