Constructor and Description |
---|
LaneDAOHibernate()
Constructor for LaneDAOHibernate.
|
Modifier and Type | Method and Description |
---|---|
void |
delete(Lane lane)
delete.
|
void |
delete(SortedSet<Lane> lanes)
delete.
|
List<Lane> |
findByCriteria(String criteria,
boolean isCaseSens)
findByCriteria.
|
Lane |
findByID(Integer expID)
findByID.
|
Lane |
findByName(String name)
findByName.
|
List<Lane> |
findByOwnerID(Integer registrationId)
findByOwnerID.
|
Lane |
findBySWAccession(Integer swAccession)
findBySWAccession.
|
List<File> |
getFiles(Integer laneId)
getFiles.
|
List<File> |
getFiles(Integer laneId,
String metaType)
getFiles.
|
Integer |
insert(Lane lane)
insert.
|
Integer |
insert(Registration registration,
Lane lane)
insert.
|
boolean |
isHasFile(Integer laneId)
isHasFile.
|
boolean |
isHasFile(Integer laneId,
String metaType)
isHasFile.
|
List<Lane> |
list()
list.
|
List<Lane> |
list(List<Integer> laneIds)
list.
|
void |
update(Lane lane)
update.
|
void |
update(Registration registration,
Lane lane)
update.
|
Lane |
updateDetached(Lane lane)
updateDetached.
|
Lane |
updateDetached(Registration registration,
Lane lane)
updateDetached.
|
public void update(Lane lane)
update.
Updates an instance of Lane in the database.public void delete(Lane lane)
delete.
Deletes an instance of Lane in the database.public boolean isHasFile(Integer laneId)
isHasFile.
public Lane findByName(String name)
findByName.
Finds an instance of Lane in the database by the Lane emailAddress.findByName
in interface LaneDAO
name
- a String
object.Lane
object.public Lane findBySWAccession(Integer swAccession)
findBySWAccession.
findBySWAccession
in interface LaneDAO
swAccession
- a Integer
object.Lane
object.public List<Lane> findByOwnerID(Integer registrationId)
findByOwnerID.
findByOwnerID
in interface LaneDAO
registrationId
- a Integer
object.List
object.public List<Lane> findByCriteria(String criteria, boolean isCaseSens)
findByCriteria.
findByCriteria
in interface LaneDAO
criteria
- a String
object.isCaseSens
- a boolean.List
object.public Lane updateDetached(Lane lane)
updateDetached.
updateDetached
in interface LaneDAO
lane
- a Lane
object.Lane
object.public void update(Registration registration, Lane lane)
update.
update
in interface LaneDAO
registration
- a Registration
object.lane
- a Lane
object.public Integer insert(Registration registration, Lane lane)
insert.
insert
in interface LaneDAO
registration
- a Registration
object.lane
- a Lane
object.public Lane updateDetached(Registration registration, Lane lane)
updateDetached.
updateDetached
in interface LaneDAO
registration
- a Registration
object.lane
- a Lane
object.Lane
object.Copyright © 2015 SeqWare. All rights reserved.