eu.etaxonomy.cdm.api.service
Class IdentificationKeyServiceImpl

java.lang.Object
  extended by eu.etaxonomy.cdm.api.service.IdentificationKeyServiceImpl
All Implemented Interfaces:
IIdentificationKeyService

@Service
@Transactional(readOnly=true)
public class IdentificationKeyServiceImpl
extends Object
implements IIdentificationKeyService


Constructor Summary
IdentificationKeyServiceImpl()
           
 
Method Summary
<T extends IIdentificationKey>
Pager<T>
findKeysConvering(TaxonBase taxon, Class<T> type, Integer pageSize, Integer pageNumber, List<String> propertyPaths)
          Finds IdentificationKeys which cover the Taxon given as parameter
 Pager<IIdentificationKey> page(Integer pageSize, Integer pageNumber, List<String> propertyPaths)
          Returns a paged list of IIdentificationKey entities sorted by creation date, newest first
 void setDao(IIdentificationKeyDao dao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentificationKeyServiceImpl

public IdentificationKeyServiceImpl()
Method Detail

setDao

@Autowired
public void setDao(IIdentificationKeyDao dao)

page

public Pager<IIdentificationKey> page(Integer pageSize,
                                      Integer pageNumber,
                                      List<String> propertyPaths)
Description copied from interface: IIdentificationKeyService
Returns a paged list of IIdentificationKey entities sorted by creation date, newest first

Specified by:
page in interface IIdentificationKeyService
Parameters:
pageSize - The maximum number of objects returned (can be null for all matching objects)
pageNumber - The offset (in pageSize chunks) from the start of the result set (0 - based, can be null, equivalent of starting at the beginning of the recordset)
propertyPaths - properties to be initialized
Returns:
a pager of IdentificationKeys

findKeysConvering

public <T extends IIdentificationKey> Pager<T> findKeysConvering(TaxonBase taxon,
                                                                 Class<T> type,
                                                                 Integer pageSize,
                                                                 Integer pageNumber,
                                                                 List<String> propertyPaths)
Description copied from interface: IIdentificationKeyService
Finds IdentificationKeys which cover the Taxon given as parameter

Specified by:
findKeysConvering in interface IIdentificationKeyService
Parameters:
taxon - The Taxon to search IdentificationKeys for
type - may restrict the type to a specific implementation of IIdentificationKey
pageSize - The maximum number of objects returned (can be null for all matching objects)
pageNumber - The offset (in pageSize chunks) from the start of the result set (0 - based, can be null, equivalent of starting at the beginning of the recordset)
propertyPaths - properties to be initialized
Returns:
a pager of IdentificationKeys


Copyright © 2007-2013 EDIT. All Rights Reserved.