Package com.dodo.blog.request

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


        @Override
        public List<Playground> getRows( int firstRow, int maxRows, String orderBy, OrderDirection direction )
        {
            BasicRequest request = new BasicRequest( firstRow, maxRows );
            request.addSort( orderBy, direction );
            return playgroundService.getPlaygroundList( request );
        }
    }
}
View Full Code Here


        @Override
        public List<Category> getRows( int firstRow, int maxRows, String orderBy, OrderDirection direction )
        {
            BasicRequest request = new BasicRequest( firstRow, maxRows );
            request.addSort( orderBy, direction );
            return categoryService.getCategoryList( request );
        }
    }
}
View Full Code Here

        @Override
        public List<Tag> getRows( int firstRow, int maxRows, String orderBy, OrderDirection direction )
        {
            BasicRequest request = new BasicRequest( firstRow, maxRows );
            request.addSort( orderBy, direction );
            return tagService.getTagList( request );
        }
    }
}
View Full Code Here

    }

    private void renderCategories()
    {
        BasicRequest request = new BasicRequest();
        request.addSort( "name", OrderDirection.ASC );
        for ( Category category : categoryService.getCategoryList( request ) )
        {
            renderAsideItem( category.getLabel(), UriConstructor.createCategoyUri( category ), null );
        }
    }
View Full Code Here

    }

    private void renderTags()
    {
        BasicRequest request = new BasicRequest();
        request.addSort( "name", OrderDirection.ASC );

        Panel asideItem = new Panel();
        asideItem.setClassName( "aside-item-tag" );
        add( asideItem );
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.