Package com.dodo.blog.request

Examples of com.dodo.blog.request.ArticlesRequest.addSort()


        @Override
        public List<Article> getRows( int firstRow, int maxRows, String orderBy, OrderDirection direction )
        {
            ArticlesRequest request = new ArticlesRequest( firstRow, maxRows );
            request.addSort( orderBy, direction );
            return articleService.getArticles( request );
        }
    }
}
View Full Code Here


        @Override
        public List<Article> getRows( int firstRow, int maxRows, String orderBy, OrderDirection direction )
        {
            ArticlesRequest request = new ArticlesRequest( firstRow, maxRows );

            request.addSort( orderBy, direction );
            request.setCategory( category );
            request.setTag( tag );
            request.setYear( year );
            request.setMonth( month );
            request.setDay( day );
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.