Class DefaultTypeDao

  • All Implemented Interfaces:
    TypeDao

    public class DefaultTypeDao
    extends java.lang.Object
    implements TypeDao
    Default implementation for TypeDao interface. TypeDao internally uses DefaultGenericDao beans:
    • typeModelGenericDao
    • composedTModelGenericDao
    • composedTModelGenericDao
    Beans are configured in servicelayer-spring.xml
    • Constructor Detail

      • DefaultTypeDao

        public DefaultTypeDao()
    • Method Detail

      • setModelService

        public void setModelService​(ModelService modelService)
      • findComposedTypeByCode

        public ComposedTypeModel findComposedTypeByCode​(java.lang.String code)
        Description copied from interface: TypeDao
        Find composed types for code.
        Specified by:
        findComposedTypeByCode in interface TypeDao
        Parameters:
        code - the code of the required composed type
        Returns:
        the list of composed type models
      • findTypeByCode

        public TypeModel findTypeByCode​(java.lang.String code)
        Description copied from interface: TypeDao
        Find types for code.
        Specified by:
        findTypeByCode in interface TypeDao
        Parameters:
        code - the code of the required type
        Returns:
        the list of type models
      • findAtomicTypeByCode

        public AtomicTypeModel findAtomicTypeByCode​(java.lang.String code)
        Description copied from interface: TypeDao
        Find atomic types for code.
        Specified by:
        findAtomicTypeByCode in interface TypeDao
        Parameters:
        code - the code of the required atomic type
        Returns:
        the list of atomic type models
      • findAtomicTypeByJavaClass

        public AtomicTypeModel findAtomicTypeByJavaClass​(java.lang.Class javaClass)
        Description copied from interface: TypeDao
        Find atomic types for java class.
        Specified by:
        findAtomicTypeByJavaClass in interface TypeDao
        Parameters:
        javaClass - class the code of the required atomic type
        Returns:
        the list of atomic type models