org.squashtest.csp.tm.service.customfield
Interface CustomFieldFinderService

All Known Subinterfaces:
CustomFieldManagerService

@Transactional(readOnly=true)
public interface CustomFieldFinderService

Facade service for custom fields read only access methods

Author:
mpagnon

Method Summary
 List<CustomField> findAllOrderedByName()
          Will find all custom fields available and return them into a list ordered by custom field's name.
 CustomField findById(Long customFieldId)
           
 CustomField findByName(String name)
           
 SingleSelectField findSingleSelectFieldById(Long customFieldId)
          Will find the SingleSelectField of the given id
 org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<CustomField>> findSortedCustomFields(org.squashtest.tm.core.foundation.collection.PagingAndSorting filter)
          Will find all custom fields available and return them ordered according to the given parameters.
 

Method Detail

findAllOrderedByName

List<CustomField> findAllOrderedByName()
Will find all custom fields available and return them into a list ordered by custom field's name.

Returns:
the list of all existing CustomField ordered by CustomField.getName()

findSortedCustomFields

org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<CustomField>> findSortedCustomFields(org.squashtest.tm.core.foundation.collection.PagingAndSorting filter)
Will find all custom fields available and return them ordered according to the given parameters.

Parameters:
filter - the CollectionSorting that holds order and paging params.
Returns:
the filtered collection of all custom field available in squash

findSingleSelectFieldById

SingleSelectField findSingleSelectFieldById(Long customFieldId)
Will find the SingleSelectField of the given id

Parameters:
customFieldId - the id of the SingleSelectField
Returns:
the SingleSelectField or null

findByName

CustomField findByName(@NotNull
                       String name)
Parameters:
name -
Returns:

findById

CustomField findById(Long customFieldId)


Copyright © 2010-2012 Henix, henix.fr. All Rights Reserved.