Interface KeyValuesService

All Known Implementing Classes:
KeyValuesServiceImpl

@Deprecated public interface KeyValuesService
Deprecated.
This class provides collection retrievals to populate key value pairs of business objects.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> Collection<T>
    findAll(Class<T> clazz)
    Deprecated.
    Retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance.
    <T> Collection<T>
    Deprecated.
    Retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance.
    <T> Collection<T>
    findAllOrderBy(Class<T> clazz, String sortField, boolean sortAscending)
    Deprecated.
    Retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance.
    <T> Collection<T>
    findMatching(Class<T> clazz, Map<String,Object> fieldValues)
    Deprecated.
    This method retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance.
  • Method Details

    • findAll

      <T> Collection<T> findAll(Class<T> clazz)
      Deprecated.
      Retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance. This will only retrieve business objects by class type.
      Parameters:
      clazz -
      Returns:
    • findAllOrderBy

      <T> Collection<T> findAllOrderBy(Class<T> clazz, String sortField, boolean sortAscending)
      Deprecated.
      Retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance. This will only retrieve business objects by class type. Performs a sort on the result collection on the given sort field.
      Parameters:
      clazz -
      sortField - - name of the field in the class to sort results by
      sortAscending - - boolean indicating whether to sort ascending or descending
      Returns:
    • findMatching

      <T> Collection<T> findMatching(Class<T> clazz, Map<String,Object> fieldValues)
      Deprecated.
      This method retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance. This will retrieve business objects by class type and also by criteria passed in as key-value pairs, specifically attribute name and its expected value.
      Parameters:
      clazz -
      fieldValues -
      Returns:
    • findAllInactive

      <T> Collection<T> findAllInactive(Class<T> clazz)
      Deprecated.
      Retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance. This will only retrieve business objects by class type.
      Parameters:
      clazz -
      Returns: