com.atlassian.greenhopper.service.rapid.view
Class RapidViewDao

java.lang.Object
  extended by com.atlassian.greenhopper.service.rapid.view.GenericActiveObjectsDao<java.lang.Long,RapidViewAO>
      extended by com.atlassian.greenhopper.service.rapid.view.RapidViewDao

@Service
public class RapidViewDao
extends GenericActiveObjectsDao<java.lang.Long,RapidViewAO>


Field Summary
 
Fields inherited from class com.atlassian.greenhopper.service.rapid.view.GenericActiveObjectsDao
ao, entityType, log
 
Constructor Summary
RapidViewDao()
           
 
Method Summary
 int countBySprintMarkersMigrated(java.lang.Boolean migrated)
           
 RapidViewAO[] findByPartialName(java.lang.String nameQuery)
          Perform a search for all RapidViewAO objects whose NAME is LIKE the specified query.
 RapidViewAO[] findBySprintMarkersMigrated(java.lang.Boolean migrated)
          Finds rapid views by sprint marker migrated flag
 void flushAll()
           
 RapidViewAO[] loadAll()
           
 void loadAll(com.atlassian.plugin.util.collect.Consumer<RapidViewAO> consumer)
           
 ServiceOutcome<RapidViewAO> update(RapidView rapidView)
          Updates the rapid view, but ONLY the direct fields of the rapid view.
 
Methods inherited from class com.atlassian.greenhopper.service.rapid.view.GenericActiveObjectsDao
create, delete, delete, findBy, load, preDelete, save
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RapidViewDao

public RapidViewDao()
Method Detail

loadAll

public RapidViewAO[] loadAll()

loadAll

public void loadAll(com.atlassian.plugin.util.collect.Consumer<RapidViewAO> consumer)

findByPartialName

public RapidViewAO[] findByPartialName(@Nullable
                                       java.lang.String nameQuery)
Perform a search for all RapidViewAO objects whose NAME is LIKE the specified query.

Results are sorted by NAME ascending.

Parameters:
nameQuery - the name query
Returns:
the results

update

public ServiceOutcome<RapidViewAO> update(RapidView rapidView)
Updates the rapid view, but ONLY the direct fields of the rapid view.


findBySprintMarkersMigrated

public RapidViewAO[] findBySprintMarkersMigrated(java.lang.Boolean migrated)
Finds rapid views by sprint marker migrated flag

Parameters:
migrated - the value of the sprint markers migrated flag
Returns:
the results

countBySprintMarkersMigrated

public int countBySprintMarkersMigrated(java.lang.Boolean migrated)

flushAll

public void flushAll()


Copyright © 2007-2013 Atlassian. All Rights Reserved.