com.atlassian.greenhopper.service.rapid.view.subquery
Class SubqueryServiceImpl

java.lang.Object
  extended by com.atlassian.greenhopper.global.AbstractLoggable
      extended by com.atlassian.greenhopper.service.rapid.view.subquery.SubqueryServiceImpl
All Implemented Interfaces:
GreenHopperCache, SubqueryService

@Service
public class SubqueryServiceImpl
extends AbstractLoggable
implements SubqueryService


Field Summary
 
Fields inherited from class com.atlassian.greenhopper.global.AbstractLoggable
logger
 
Constructor Summary
SubqueryServiceImpl()
           
 
Method Summary
 void flushCache()
          Invoked when all caches in the plugin need to be cleared.
 ServiceOutcome<java.util.List<Subquery>> getSubqueries(com.atlassian.crowd.embedded.api.User user, RapidView rapidView)
           
 ServiceOutcome<Subquery> getSubquery(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, Subquery.Section section)
          Get the subquery for a section
 void invalidate(RapidView view)
           
 ServiceOutcome<java.lang.Void> updateSubqueries(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, java.util.Collection<Subquery> subqueries)
           
 ServiceOutcome<Subquery> updateSubquery(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, Subquery subquery)
          Update a subquery
 
Methods inherited from class com.atlassian.greenhopper.global.AbstractLoggable
logDebug, logError, logException, logInfo, logTrace, logWarn, setInfoLogLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubqueryServiceImpl

public SubqueryServiceImpl()
Method Detail

getSubqueries

@NotNull
public ServiceOutcome<java.util.List<Subquery>> getSubqueries(com.atlassian.crowd.embedded.api.User user,
                                                                      RapidView rapidView)
Specified by:
getSubqueries in interface SubqueryService

updateSubqueries

@NotNull
public ServiceOutcome<java.lang.Void> updateSubqueries(com.atlassian.crowd.embedded.api.User user,
                                                               RapidView rapidView,
                                                               java.util.Collection<Subquery> subqueries)
Specified by:
updateSubqueries in interface SubqueryService

getSubquery

@NotNull
public ServiceOutcome<Subquery> getSubquery(com.atlassian.crowd.embedded.api.User user,
                                                    RapidView rapidView,
                                                    Subquery.Section section)
Get the subquery for a section

Specified by:
getSubquery in interface SubqueryService

updateSubquery

@NotNull
public ServiceOutcome<Subquery> updateSubquery(com.atlassian.crowd.embedded.api.User user,
                                                       RapidView rapidView,
                                                       Subquery subquery)
Update a subquery

Specified by:
updateSubquery in interface SubqueryService

invalidate

public void invalidate(RapidView view)
Specified by:
invalidate in interface SubqueryService

flushCache

public void flushCache()
Description copied from interface: GreenHopperCache
Invoked when all caches in the plugin need to be cleared.

Specified by:
flushCache in interface GreenHopperCache


Copyright © 2007-2012 Atlassian. All Rights Reserved.