Skip to content

Commit

Permalink
Refactor ranking pages into separate package structure (#7101)
Browse files Browse the repository at this point in the history
  • Loading branch information
pethers authored Jan 26, 2025
1 parent d5b1561 commit e3e85dc
Show file tree
Hide file tree
Showing 43 changed files with 178 additions and 67 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public interface PageCommandPoliticianRankingConstants {
PageModeMenuCommand POLITICIAN_RANKING_COMMAND_OVERVIEW = new PageModeMenuCommand(
UserViews.POLITICIAN_RANKING_VIEW_NAME, PageMode.OVERVIEW);

/** The politician ranking command pagevisit history. */
PageModeMenuCommand POLITICIAN_RANKING_COMMAND_PAGEVISIT_HISTORY = new PageModeMenuCommand(
UserViews.POLITICIAN_RANKING_VIEW_NAME, PageMode.PAGEVISITHISTORY);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public final class UserHomeMenuItemFactoryImpl extends AbstractMenuItemFactoryIm
@Autowired
private ApplicationMenuItemFactory applicationMenuItemFactory;

@Override
@Override
public void createOverviewPage(final VerticalLayout overviewLayout) {
final ResponsiveRow grid = RowUtil.createGridLayout(overviewLayout);

Expand Down Expand Up @@ -71,7 +71,7 @@ public void createUserHomeMenuBar(final MenuBar menuBar, final String pageId) {
COMMAND_USERHOME_SECURITY_SETTINGS);

accountItem.addItem(USER_VISITS, VaadinIcons.EYE,
COMMAND_USERHOME_USER_VISITS);
COMMAND_USERHOME_USER_VISITS);

accountItem.addItem(USER_EVENTS, VaadinIcons.CALENDAR,
COMMAND_USERHOME_USER_EVENTS);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.govermentbody;
package com.hack23.cia.web.impl.ui.application.views.user.govermentranking;

import org.springframework.beans.factory.config.ConfigurableBeanFactory;
import org.springframework.context.ApplicationContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.goverment;
package com.hack23.cia.web.impl.ui.application.views.user.govermentranking;

import org.springframework.beans.factory.config.ConfigurableBeanFactory;
import org.springframework.context.ApplicationContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.goverment.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.govermentranking.pagemode;

import org.springframework.beans.factory.annotation.Autowired;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.goverment.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.govermentranking.pagemode;

import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.goverment.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.govermentranking.pagemode;

import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.goverment.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.govermentranking.pagemode;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.goverment.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.govermentranking.pagemode;

import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.goverment.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.govermentranking.pagemode;

import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hack23.cia.web.impl.ui.application.views.user.goverment.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.govermentranking.pagemode;

import java.util.List;
import java.util.Locale;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.goverment.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.govermentranking.pagemode;

import org.apache.commons.lang3.StringUtils;
import org.springframework.security.access.annotation.Secured;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.goverment.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.govermentranking.pagemode;

import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.goverment.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.govermentranking.pagemode;

import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.goverment.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.govermentranking.pagemode;

import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.goverment.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.govermentranking.pagemode;

import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.goverment.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.govermentranking.pagemode;

import org.apache.commons.lang3.StringUtils;
import org.springframework.security.access.annotation.Secured;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.goverment.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.govermentranking.pagemode;

import org.apache.commons.lang3.StringUtils;
import org.springframework.security.access.annotation.Secured;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.party;
package com.hack23.cia.web.impl.ui.application.views.user.partyranking;

import org.springframework.beans.factory.config.ConfigurableBeanFactory;
import org.springframework.context.ApplicationContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.party.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.partyranking.pagemode;

import org.springframework.beans.factory.annotation.Autowired;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.party.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.partyranking.pagemode;

import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.party.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.partyranking.pagemode;

import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.party.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.partyranking.pagemode;

import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.party.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.partyranking.pagemode;

import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.party.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.partyranking.pagemode;

import java.util.List;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.party.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.partyranking.pagemode;

import org.apache.commons.lang3.StringUtils;
import org.springframework.security.access.annotation.Secured;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.party.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.partyranking.pagemode;

import org.apache.commons.lang3.StringUtils;
import org.springframework.security.access.annotation.Secured;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.party.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.partyranking.pagemode;

import org.apache.commons.lang3.StringUtils;
import org.springframework.security.access.annotation.Secured;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.politician;
package com.hack23.cia.web.impl.ui.application.views.user.politicianranking;

import org.springframework.beans.factory.config.ConfigurableBeanFactory;
import org.springframework.context.ApplicationContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.politician.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.politicianranking.pagemode;

import org.springframework.beans.factory.annotation.Autowired;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.politician.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.politicianranking.pagemode;

import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.politician.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.politicianranking.pagemode;

import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hack23.cia.web.impl.ui.application.views.user.politician.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.politicianranking.pagemode;

import com.hack23.cia.web.impl.ui.application.views.common.viewnames.UserViews;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.politician.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.politicianranking.pagemode;

import org.apache.commons.lang3.StringUtils;
import org.springframework.security.access.annotation.Secured;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hack23.cia.web.impl.ui.application.views.user.politician.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.politicianranking.pagemode;

/**
* The Interface PoliticianRankingDescriptionConstants.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hack23.cia.web.impl.ui.application.views.user.politician.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.politicianranking.pagemode;

/**
* The Interface PoliticianRankingGridConstants.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.politician.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.politicianranking.pagemode;

import org.apache.commons.lang3.StringUtils;
import org.springframework.security.access.annotation.Secured;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* $Id$
* $HeadURL$
*/
package com.hack23.cia.web.impl.ui.application.views.user.politician.pagemode;
package com.hack23.cia.web.impl.ui.application.views.user.politicianranking.pagemode;

import org.apache.commons.lang3.StringUtils;
import org.springframework.security.access.annotation.Secured;
Expand Down
Loading

0 comments on commit e3e85dc

Please sign in to comment.