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

java.lang.Object
  extended by com.atlassian.greenhopper.global.AbstractLoggable
      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
 
Fields inherited from class com.atlassian.greenhopper.global.AbstractLoggable
logger
 
Constructor Summary
RapidViewDao()
           
 
Method Summary
 RapidViewAO[] findByPartialName(java.lang.String nameQuery)
          Perform a search for all RapidViewAO objects whose NAME is LIKE the specified query.
 RapidViewAO[] loadAll()
           
 void loadAll(com.atlassian.plugin.util.collect.Consumer<RapidViewAO> consumer)
           
 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 com.atlassian.greenhopper.global.AbstractLoggable
logDebug, logError, logException, logInfo, logTrace, logWarn
 
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 RapidViewAO update(RapidView rapidView)
Updates the rapid view, but ONLY the direct fields of the rapid view.



Copyright © 2007-2012 Atlassian. All Rights Reserved.