|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nci.caarray.services.util.db.ManagerDB
gov.nih.nci.caarray.services.arraydesign.ReporterGroupManagerDB
public final class ReporterGroupManagerDB
Field Summary |
---|
Fields inherited from class gov.nih.nci.caarray.services.util.db.ManagerDB |
---|
CASCADE_LINK, CASCADE_NONE, CASCADE_OBJECT, ID_UNSET |
Constructor Summary | |
---|---|
ReporterGroupManagerDB()
Default Constructor |
Method Summary | |
---|---|
long |
addReporterGroup(ReporterGroup reporterGroup)
Adds a new ReporterGroup. |
void |
close()
Close persistence resources. |
boolean |
deleteReporterGroup(long reportergroupId)
Remove the specified ReporterGroup from the persistence store. |
ReporterGroup |
getReporterGroup(long id)
Retrieve the ReporterGroup that has the specified ID. |
ReporterGroup[] |
getReporterGroups(ReporterGroupSearchCriteria criteria)
Searches reporterGroups. |
boolean |
updateReporterGroup(ReporterGroup reporterGroup)
Updates an existing ReporterGroup and cascade-updates the associated reporters. |
Methods inherited from class gov.nih.nci.caarray.services.util.db.ManagerDB |
---|
clearCache, countObjects, countObjects, deleteByQuery, deleteMtoNRelation, deleteObject, deleteObject, deleteObject, deleteObjectByQuery, exists, getIdentifiable, getObject, getObject, getObject, getObject, getObject, getObject, getObjectIterator, getObjectIterator, getObjects, getObjects, getObjects, getPersistenceBroker, getSqlInLimit, insertMtoNRelation, insertMtoNRelation, insertObject, insertObject, link, link, removeFromCache, retrieveReference, retrieveReferences, setCascadeDelete, setCascadeRetrieve, setCascadeStore, storeObject, storeObject, unlink, unlink, updateObject, updateObject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReporterGroupManagerDB()
Method Detail |
---|
public ReporterGroup[] getReporterGroups(ReporterGroupSearchCriteria criteria)
public ReporterGroup getReporterGroup(long id)
ReporterGroup
that has the specified ID.
id
-
public long addReporterGroup(ReporterGroup reporterGroup) throws java.lang.Exception
reportergroup
- The reporter group to add
InsertObjectException
- - If the specified reporterGroup is NULL or
any database exception occurs.
java.lang.Exception
public boolean updateReporterGroup(ReporterGroup reporterGroup) throws java.lang.Exception
Warning: This method may take long if there are many reporters.
hardware
-
InsertObjectException
- - If the specified reporterGroup is NULL or
any database exception occurs.
java.lang.Exception
public boolean deleteReporterGroup(long reportergroupId) throws java.lang.Exception
hardwareId
-
ObjectInUseException
DBException
java.lang.Exception
public void close()
close
in class ManagerDB
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |