Class LastContentsQueryBuilder


  • public class LastContentsQueryBuilder
    extends QueryBuilder
    Query builder to add content tables.
    Since:
    7.0.0
    Version:
    $Revision: 15382 $ $Date: 2013-05-23 19:04:46 -0300 (Thu, 23 May 2013) $
    • Constructor Detail

      • LastContentsQueryBuilder

        public LastContentsQueryBuilder​(IParameters parameters,
                                        TableSource source,
                                        ITransaction transaction)
                                 throws PortalException
        Creates the object.
        Parameters:
        parameters - The IParameters implementation object that contains the operation parameters
        source - The represented source over which the operation will be executed
        transaction -
        Throws:
        PortalException
    • Method Detail

      • addQueryTables

        protected void addQueryTables​(QueryBase queryBase)
                               throws PortalException
        Adds the appropriate meta data tables based on the meta data that the given content supports. The tables are added to the query base with the appropriate joins.
        Overrides:
        addQueryTables in class QueryBuilder
        Parameters:
        queryBase -
        Throws:
        PortalException