com.atlassian.greenhopper.service.rapid.view
Class GenericActiveObjectsDao<PK,E extends net.java.ao.RawEntity<PK>>
java.lang.Object
com.atlassian.greenhopper.service.rapid.view.GenericActiveObjectsDao<PK,E>
- Direct Known Subclasses:
- AuditEntryDao, BoardAdminDao, CardColorDao, ColumnDao, ColumnStatusDao, DetailViewFieldDao, EstimateStatisticDao, NonWorkingDayDao, QuickFilterDao, RankableObjectDao, RapidViewDao, SprintDao, SprintMarkerDao, StatisticsFieldDao, SubqueryDao, SwimlaneDao, TrackingStatisticDao, VersionMetaDataDao, WorkingDaysDao
public abstract class GenericActiveObjectsDao<PK,E extends net.java.ao.RawEntity<PK>>
- extends java.lang.Object
Field Summary |
protected com.atlassian.activeobjects.external.ActiveObjects |
ao
|
protected java.lang.Class<E> |
entityType
|
protected LoggerWrapper |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final LoggerWrapper log
ao
protected com.atlassian.activeobjects.external.ActiveObjects ao
entityType
protected final java.lang.Class<E extends net.java.ao.RawEntity<PK>> entityType
GenericActiveObjectsDao
public GenericActiveObjectsDao()
load
public ServiceOutcome<E> load(PK primaryKey)
create
public E create(java.util.Map<java.lang.String,java.lang.Object> fields)
save
public void save(E entity)
delete
public void delete(PK primaryKey)
delete
public void delete(E... entities)
preDelete
protected void preDelete(E... entities)
findBy
protected E[] findBy(java.lang.String query,
java.lang.Object... parameters)
flushAll
public void flushAll()
- See Also:
ActiveObjects.flushAll()
Copyright © 2007-2014 Atlassian. All Rights Reserved.