View Javadoc

1   /*
2    *  
3    *  author nambi sankaran
4    *  copyright (C) 2009 nambi sankaran.
5    *
6    *  This program is free software: you can redistribute it and/or modify
7    *  it under the terms of the GNU General Public License as published by
8    *  the Free Software Foundation, either version 3 of the License, or
9    *  (at your option) any later version.
10   *
11   *  This program is distributed in the hope that it will be useful,
12   *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13   *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   *  GNU General Public License for more details.
15   *
16   *  You should have received a copy of the GNU General Public License
17   *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
18   *
19   */
20  package net.sf.emarket.web;
21  
22  public class Views {
23  	
24  	public static final String NEXT_VIEW ="NEXT_VIEW";
25  	
26  	public static final String HOME_VIEW = "/home";
27  
28  	
29  	public static final String ACCOUNT_VIEW = "/account";
30  	public static final String ACCOUNT_CREATE_VIEW = "/createAccount";	
31  	
32  	public static final String LOGIN_VIEW = "/login";
33  	public static final String LOGOUT_VIEW = "/logout";
34  	public static final String REGISTER_USER_VIEW = "/registerUser";
35  	
36  	public static final String EXCHANGE_VIEW = "/exchange";
37  	
38  	public static final String ORDER_CREATE_VIEW = "/createOrder";
39  	public static final String ORDER_VIEW = "/order";
40  	public static final String OPEN_ORDERS_VIEW = "/openOrders";
41  	public static final String ORDER_HISTORY_VIEW = "/orderHistory";
42  	
43  	public static final String EMARKET_ERROR_VIEW = "/emarketerror";
44  
45  
46      // TODO: remove the following views
47      public static final String HOW_DOES_VIEW = "/how_does";
48      public static final String IPL_STANDING_VIEW = "/ipl_standing";
49      public static final String LATEST_TRADING_VIEW = "/latest_trading";
50      public static final String TOP_GAINERS = "/top_gainers";
51      public static final String TOP_TRADERS = "/top_traders";
52  
53      public static final String BUY_SELL_VIEW = "/buy_sell";
54      public static final String OUTSTANDING_ORDER = "/outstanding_order";
55      public static final String TRADE_HISTORY = "/trade_history";
56  
57      public static final String LIST_OF_TOPICS = "/list_of_topics";
58      public static final String RULES = "/rules";
59      public static final String TERMS_OF_SERVICE = "/terms_of_service";
60      public static final String HOW_TO = "/how_to";
61  
62  }