|
||||||||||
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.CompositeGroupManagerDB
public final class CompositeGroupManagerDB
Field Summary |
---|
Fields inherited from class gov.nih.nci.caarray.services.util.db.ManagerDB |
---|
CASCADE_LINK, CASCADE_NONE, CASCADE_OBJECT, ID_UNSET |
Constructor Summary | |
---|---|
CompositeGroupManagerDB()
|
Method Summary | |
---|---|
long |
addCompositeGroup(CompositeGroup compositeGroup)
Add a new CompositeGroup. |
void |
close()
Close persistence resources. |
boolean |
deleteCompositeGroup(long compositeGroupId)
Remove the specified CompositeGroup from the persistence store. |
CompositeGroup |
getCompositeGroup(long id)
Retrieve the CompositeGroup that has the specified ID. |
CompositeGroup[] |
getCompositeGroups(CompositeGroupSearchCriteria criteria)
Searches compositeGroups. |
boolean |
updateCompositeGroup(CompositeGroup compositeGroup)
Updates an existing CompositeGroup and cascade-updates the associated compositeSequences. |
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 CompositeGroupManagerDB()
Method Detail |
---|
public CompositeGroup[] getCompositeGroups(CompositeGroupSearchCriteria criteria)
public CompositeGroup getCompositeGroup(long id)
CompositeGroup
that has the specified ID.
id
-
public long addCompositeGroup(CompositeGroup compositeGroup) throws java.lang.Exception
compositeGroup
- The composite group to add
InsertObjectException
- - If the specified compositeGroup is NULL or
any database exception occurs.
java.lang.Exception
public boolean updateCompositeGroup(CompositeGroup compositeGroup) throws java.lang.Exception
Warning: This method may take long if there are many compositeSequences.
compositeGroup
-
InsertObjectException
- - If the specified compositeGroup is NULL or
any database exception occurs.
java.lang.Exception
public boolean deleteCompositeGroup(long compositeGroupId) throws java.lang.Exception
compositeGroupId
-
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 |