au.edu.archer.service.icat.impl
Class SearchServiceImpl

java.lang.Object
  extended by au.edu.archer.service.icat.impl.SearchServiceImpl
All Implemented Interfaces:
SearchService

public class SearchServiceImpl
extends java.lang.Object
implements SearchService

SearchServiceImpl.


Constructor Summary
SearchServiceImpl()
           
 
Method Summary
 java.util.List<au.edu.archer.domain.icat.api.DataFile> searchDatafile(SearchRequest search)
          Search datafiles.
 java.util.List<au.edu.archer.domain.icat.api.DataSet> searchDataset(SearchRequest search)
          Search datasets.
 java.util.List<au.edu.archer.domain.icat.api.Investigation> searchExperiment(SearchRequest search)
          Search experiments.
 java.util.List<au.edu.archer.domain.icat.api.Study> searchProject(SearchRequest search)
          Search project.
 java.util.List<au.edu.archer.domain.icat.api.Sample> searchSample(SearchRequest search)
          Search samples.
 void setSearchDao(au.edu.archer.dao.icat.api.SearchDao searchDao)
          Set SearchDao.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchServiceImpl

public SearchServiceImpl()
Method Detail

searchDatafile

public java.util.List<au.edu.archer.domain.icat.api.DataFile> searchDatafile(SearchRequest search)
                                                                      throws InvalidICATRequestException
Search datafiles.

Specified by:
searchDatafile in interface SearchService
Parameters:
search - SearchRequest search request.
Returns:
List<DataFile> list of data files.
Throws:
InvalidICATRequestException - throw InvalidICATRequestException if expected criteria is not provided

searchDataset

public java.util.List<au.edu.archer.domain.icat.api.DataSet> searchDataset(SearchRequest search)
                                                                    throws InvalidICATRequestException
Search datasets.

Specified by:
searchDataset in interface SearchService
Parameters:
search - SearchRequest search request.
Returns:
List<DataSet> list of data sets.
Throws:
InvalidICATRequestException - throw InvalidICATRequestException if expected criteria is not provided

searchExperiment

public java.util.List<au.edu.archer.domain.icat.api.Investigation> searchExperiment(SearchRequest search)
                                                                             throws InvalidICATRequestException
Search experiments.

Specified by:
searchExperiment in interface SearchService
Parameters:
search - SearchRequest search request.
Returns:
List<Investigation> list of investigations.
Throws:
InvalidICATRequestException - throw InvalidICATRequestException if expected criteria is not provided

searchProject

public java.util.List<au.edu.archer.domain.icat.api.Study> searchProject(SearchRequest search)
                                                                  throws InvalidICATRequestException
Search project.

Specified by:
searchProject in interface SearchService
Parameters:
search - SearchRequest search request.
Returns:
List<Study> list of studies.
Throws:
InvalidICATRequestException - throw InvalidICATRequestException if expected criteria is not provided

searchSample

public java.util.List<au.edu.archer.domain.icat.api.Sample> searchSample(SearchRequest search)
                                                                  throws InvalidICATRequestException
Search samples.

Specified by:
searchSample in interface SearchService
Parameters:
search - SearchRequest search request.
Returns:
List<Sample> list of samples.
Throws:
InvalidICATRequestException - throw InvalidICATRequestException if expected criteria is not provided

setSearchDao

public void setSearchDao(au.edu.archer.dao.icat.api.SearchDao searchDao)
Set SearchDao.

Parameters:
searchDao - SearchDao dao instance.


Copyright © 2008-09 Monash University. All Rights Reserved.