Class AbstractCMSItemDao

    • Constructor Detail

      • AbstractCMSItemDao

        public AbstractCMSItemDao()
    • Method Detail

      • findSortQuery

        protected java.lang.String findSortQuery​(java.lang.Class<? extends Dao> typeClass,
                                                 java.lang.String sortCode)
        Find the sort query for a given type class and sort code.
        If no sort query is found matching for the given type class and sort code, find the default sort query.
        If no default sort query is found for the given type class, return an empty string.
        Parameters:
        typeClass - the dao class associated to a SortQueryData
        sortCode - the sort code associated to a SortQueryData
        Returns:
        the sort query or empty string if none is found; never null
      • buildQuery

        protected FlexibleSearchQuery buildQuery​(java.lang.String baseQuery,
                                                 java.util.Map<java.lang.String,​java.lang.Object> params,
                                                 int currentPage,
                                                 int pageSize)
      • setCmsSortQueryDataRegistry

        public void setCmsSortQueryDataRegistry​(SortQueryDataRegistry cmsSortQueryDataRegistry)