1 /* 2 * Copyright 2010 James Pether Sörling 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 * 16 * $Id: PoliticalPartyPage.java 5436 2011-04-26 18:25:22Z pether $ 17 * $HeadURL: https://cia.svn.sourceforge.net/svnroot/cia/trunk/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/page/user/PoliticalPartyPage.java $ 18 */ 19 package com.hack23.cia.web.impl.ui.page.user; 20 21 import org.vaadin.navigator7.Navigator.NavigationEvent; 22 import org.vaadin.navigator7.Page; 23 import org.vaadin.navigator7.ParamChangeListener; 24 import org.vaadin.navigator7.uri.Param; 25 26 /** 27 * The Class PoliticalPartyPage. 28 */ 29 @Page(uriName = "politicalparty", crawlable = true) 30 @SuppressWarnings("serial") 31 public final class PoliticalPartyPage extends AbstractUserPage implements ParamChangeListener { 32 33 /** The country name. */ 34 @Param(pos = 0, required = true) 35 String countryName; 36 37 /** The party. */ 38 @Param(pos = 1, required = false) 39 String party=""; 40 41 42 /** 43 * Instantiates a new political party page. 44 */ 45 public PoliticalPartyPage() { 46 super(); 47 48 } 49 50 /* (non-Javadoc) 51 * @see org.vaadin.navigator7.ParamChangeListener#paramChanged(org.vaadin.navigator7.Navigator.NavigationEvent) 52 */ 53 @Override 54 public void paramChanged(final NavigationEvent navigationEvent) { 55 } 56 57 /* (non-Javadoc) 58 * @see com.hack23.cia.web.impl.ui.page.common.AbstractPage#getPageTitle() 59 */ 60 @Override 61 public String getPageTitle() { 62 return ""; 63 } 64 65 }