|
||||||||||
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.FeatureGroupManagerDB
public final class FeatureGroupManagerDB
Field Summary |
---|
Fields inherited from class gov.nih.nci.caarray.services.util.db.ManagerDB |
---|
CASCADE_LINK, CASCADE_NONE, CASCADE_OBJECT, ID_UNSET |
Constructor Summary | |
---|---|
FeatureGroupManagerDB()
|
Method Summary | |
---|---|
long |
addFeatureGroup(FeatureGroup featureGroup)
Adds a new FeatureGroup. |
void |
close()
Close persistence resources. |
boolean |
deleteFeatureGroup(long featuregroupId)
Remove the specified FeatureGroup from the persistence store. |
FeatureGroup |
getFeatureGroup(long id)
Retrieve the FeatureGroup that has the specified ID. |
FeatureGroup[] |
getFeatureGroups(FeatureGroupSearchCriteria criteria)
Searches featureGroups. |
boolean |
updateFeatureGroup(FeatureGroup featureGroup)
Updates an existing FeatureGroup and cascade-updates the associated features. |
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 FeatureGroupManagerDB()
Method Detail |
---|
public FeatureGroup[] getFeatureGroups(FeatureGroupSearchCriteria criteria)
public FeatureGroup getFeatureGroup(long id)
FeatureGroup
that has the specified ID.
id
-
public long addFeatureGroup(FeatureGroup featureGroup) throws java.lang.Exception
featureGroup
- The feature group to add
InsertObjectException
- - If the specified featureGroup is NULL or
any database exception occurs.
java.lang.Exception
public boolean updateFeatureGroup(FeatureGroup featureGroup) throws java.lang.Exception
Warning: This method may take long if there are many features.
hardware
-
InsertObjectException
- - If the specified featureGroup is NULL or
any database exception occurs.
java.lang.Exception
public boolean deleteFeatureGroup(long featuregroupId) throws java.lang.Exception
featureGroupId
-
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 |