|
||||||||||
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.array.ArrayManagerDB
public final class ArrayManagerDB
Field Summary |
---|
Fields inherited from class gov.nih.nci.caarray.services.util.db.ManagerDB |
---|
CASCADE_LINK, CASCADE_NONE, CASCADE_OBJECT, ID_UNSET |
Constructor Summary | |
---|---|
ArrayManagerDB()
|
Method Summary | |
---|---|
long |
addArrayGroup(ArrayGroup arrayGroup)
Adds the specified ArrayGroup to the persistence store. |
long |
addArrayGroup(long arrayDesignId,
java.lang.String arrayName)
Adds an ArrayGroup that has one Array that
has the specified arrayName as its name and references to the
specified ArrayDesign . |
void |
close()
Close database connection. |
boolean |
deleteArrayGroup(long arrayGroupId)
Remove the specified ArrayGroup from the persistence store. |
void |
deletePotocolApplicationFromArrayGroup(long arrayGroupId,
long protAppId)
|
long |
duplicateArrayGroup(long arrayGroupId,
java.lang.String duplicateArrayGroupName)
|
ArrayGroup |
getArrayGroup(long id)
|
ArrayGroup[] |
getArrayGroups(ArraySearchCriteria searchCriteria)
Get an array of Array that match the specified
Criteria and that the array is NOT marked as deleted. |
ArrayGroup[] |
getArrayGroupsByArrayDesign(long arrayDesignId)
Get an array of ArrayGroup whose array is associated with the
specified ArrayDesign . |
void |
updateArrayGroup(ArrayGroup arrayGroup)
|
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 ArrayManagerDB()
Method Detail |
---|
public long addArrayGroup(ArrayGroup arrayGroup) throws java.lang.Exception
ArrayGroup
to the persistence store.
ObjectNotExistException
- - When the associated substrate type,
technology type, strand type, attachment type and species are not
existing OntologyEntry
.
InsertObjectException
- - For any reasons, the array design
cannot be inserted.
java.lang.Exception
public long addArrayGroup(long arrayDesignId, java.lang.String arrayName) throws java.lang.Exception
ArrayGroup
that has one Array
that
has the specified arrayName
as its name and references to the
specified ArrayDesign
. This is useful for generating an
Array
given some default name.
arrayDesignId
- arrayName
-
InsertObjectException
DBException
java.lang.Exception
public void updateArrayGroup(ArrayGroup arrayGroup) throws java.lang.Exception
java.lang.Exception
public boolean deleteArrayGroup(long arrayGroupId) throws java.lang.Exception
hardwareId
-
ObjectInUseException
DBException
java.lang.Exception
public void close()
ManagerDB
close
in class ManagerDB
public ArrayGroup getArrayGroup(long id) throws java.lang.Exception
java.lang.Exception
public ArrayGroup[] getArrayGroups(ArraySearchCriteria searchCriteria) throws java.lang.Exception
Array
that match the specified
Criteria
and that the array is NOT marked as deleted.
criteria
- - An ArraySearchCriteria
that specifies
the criteria for Array
to be searched.
Array
if there's at least
one match or a zero-length array otherwise.
java.lang.Exception
public ArrayGroup[] getArrayGroupsByArrayDesign(long arrayDesignId) throws java.lang.Exception
ArrayGroup
whose array is associated with the
specified ArrayDesign
.
arrayDesignId
- - An ArraySearchCriteria
that specifies
the criteria for Array
to be searched.
ArrayGroup
if there's at least
one match or a zero-length array otherwise.
java.lang.Exception
public long duplicateArrayGroup(long arrayGroupId, java.lang.String duplicateArrayGroupName) throws java.lang.Exception
java.lang.Exception
public void deletePotocolApplicationFromArrayGroup(long arrayGroupId, long protAppId) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |