public class IUSServiceImpl extends Object implements IUSService
IUSServiceImpl class.
NAME
Constructor and Description |
---|
IUSServiceImpl()
Constructor for IUSServiceImpl.
|
Modifier and Type | Method and Description |
---|---|
void |
delete(IUS ius,
boolean deleteRealFiles)
delete.
|
List<IUS> |
find(String sequencerRunName,
Integer lane,
String sampleName)
find.
|
List<IUS> |
findBelongsToStudy(Study study)
findBelongsToStudy.
|
List<IUS> |
findByCriteria(String criteria,
boolean isCaseSens)
findByCriteria.
|
IUS |
findByID(Integer id)
findByID.
|
List<IUS> |
findByOwnerID(Integer registrationId)
findByOwnerID.
|
IUS |
findBySWAccession(Integer swAccession)
findBySWAccession.
|
List<File> |
getFiles(Integer iusId)
getFiles.
|
List<File> |
getFiles(Integer iusId,
String metaType)
getFiles.
|
Integer |
insert(IUS obj)
insert.
|
Integer |
insert(Registration registration,
IUS ius)
insert.
|
boolean |
isHasFile(Integer iusId)
isHasFile.
|
boolean |
isHasFile(Integer iusId,
String metaType)
isHasFile.
|
List<IUS> |
list()
list.
|
SortedSet<IUS> |
listWithHasFile(SortedSet<IUS> list,
String metaType)
listWithHasFile.
|
void |
setFileDAO(FileDAO fileDAO)
Setter for the field
fileDAO . |
void |
setIUSDAO(IUSDAO dao)
setIUSDAO.
|
SortedSet<IUS> |
setWithHasFile(SortedSet<IUS> list)
setWithHasFile.
|
void |
update(IUS obj)
update.
|
void |
update(Registration registration,
IUS ius)
update.
|
IUS |
updateDetached(IUS ius)
updateDetached.
|
IUS |
updateDetached(Registration registration,
IUS ius)
updateDetached.
|
public void setIUSDAO(IUSDAO dao)
setIUSDAO.
setIUSDAO
in interface IUSService
dao
- a IUSDAO
object.public void setFileDAO(FileDAO fileDAO)
Setter for the field fileDAO
.
fileDAO
- a FileDAO
object.public Integer insert(IUS obj)
insert.
insert
in interface IUSService
obj
- public void delete(IUS ius, boolean deleteRealFiles)
delete.
delete
in interface IUSService
ius
- deleteRealFiles
- public void update(IUS obj)
update.
update
in interface IUSService
obj
- public List<File> getFiles(Integer iusId)
getFiles.
getFiles
in interface IUSService
iusId
- a Integer
object.List
object.public List<File> getFiles(Integer iusId, String metaType)
getFiles.
getFiles
in interface IUSService
iusId
- a Integer
object.metaType
- a String
object.List
object.public boolean isHasFile(Integer iusId, String metaType)
isHasFile.
isHasFile
in interface IUSService
iusId
- a Integer
object.metaType
- a String
object.public boolean isHasFile(Integer iusId)
isHasFile.
isHasFile
in interface IUSService
iusId
- a Integer
object.public SortedSet<IUS> setWithHasFile(SortedSet<IUS> list)
setWithHasFile.
setWithHasFile
in interface IUSService
list
- a SortedSet
object.SortedSet
object.public SortedSet<IUS> listWithHasFile(SortedSet<IUS> list, String metaType)
listWithHasFile.
listWithHasFile
in interface IUSService
list
- a SortedSet
object.metaType
- a String
object.SortedSet
object.public IUS findByID(Integer id)
findByID.
findByID
in interface IUSService
id
- a Integer
object.IUS
object.public IUS findBySWAccession(Integer swAccession)
findBySWAccession.
findBySWAccession
in interface IUSService
swAccession
- a Integer
object.IUS
object.public List<IUS> findByOwnerID(Integer registrationId)
findByOwnerID.
findByOwnerID
in interface IUSService
registrationId
- a Integer
object.List
object.public List<IUS> findByCriteria(String criteria, boolean isCaseSens)
findByCriteria.
findByCriteria
in interface IUSService
criteria
- a String
object.isCaseSens
- a boolean.List
object.public IUS updateDetached(IUS ius)
updateDetached.
updateDetached
in interface IUSService
ius
- a IUS
object.IUS
object.public List<IUS> findBelongsToStudy(Study study)
findBelongsToStudy.
findBelongsToStudy
in interface IUSService
study
- a Study
object.List
object.public List<IUS> list()
list.
list
in interface IUSService
List
object.public void update(Registration registration, IUS ius)
update.
update
in interface IUSService
registration
- a Registration
object.ius
- a IUS
object.public Integer insert(Registration registration, IUS ius)
insert.
insert
in interface IUSService
registration
- a Registration
object.ius
- a IUS
object.public IUS updateDetached(Registration registration, IUS ius)
updateDetached.
updateDetached
in interface IUSService
registration
- a Registration
object.ius
- a IUS
object.IUS
object.Copyright © 2015 SeqWare. All rights reserved.