1
2
3
4
5 package com.hack23.cia.web.viewfactory.impl.user;
6
7 import java.util.List;
8
9 import thinwire.ui.Menu;
10
11 import com.hack23.cia.model.application.dto.common.UserSessionDTO;
12 import com.hack23.cia.model.sweden.impl.PoliticalParty;
13
14 /***
15 * A factory for creating Menu objects.
16 */
17 public interface MenuFactory {
18
19 /***
20 * Creates a new Menu object.
21 *
22 * @param userSessionDTO the user session dto
23 * @param politicalParties the political parties
24 * @param topNumber the top number
25 * @return the menu
26 */
27 Menu createApplicationMenu(UserSessionDTO userSessionDTO,List<PoliticalParty> politicalParties, int topNumber);
28 }