/magstudentportal/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/magstudentportal/trunk
18 by Gustav Hartvigsson
* Added vim modelines
1
/* c-basic-offset: 2; tab-width: 2; indent-tabs-mode: nil
2
 * vi: set shiftwidth=2 tabstop=2 expandtab:
3
 * :indentSize=2:tabSize=2:noTabs=true:
4
 */
23 by Gustav Hartvigsson
* Made the <head> stuffs a template
5
package beans;
18 by Gustav Hartvigsson
* Added vim modelines
6
15.2.2 by Gustav Hartvigsson
* Added JUnit and javax.faces dependancies to the pom.xml.
7
import java.io.Serializable;
8
9
import javax.faces.bean.*;
10
11
18 by Gustav Hartvigsson
* Added vim modelines
12
@SuppressWarnings({"serial", "deprecation"})
15.2.2 by Gustav Hartvigsson
* Added JUnit and javax.faces dependancies to the pom.xml.
13
@ManagedBean(name = "configBean", eager = true)
14
@ApplicationScoped
15
public class
16
ConfigBean implements Serializable {
17
  /****************************************************************************/
18
  private static String
18 by Gustav Hartvigsson
* Added vim modelines
19
    PAGE_TITLE = "MAG Student Portal";
20
21
  private static String
22
    PAGE_SUB_TITLE = "My school";
23
24
  private static String
25
    PAGE_HEADER_TITLE_URL = "./index.xhtml";
26
27
  private static String
28
    PAGE_HEADER_SUB_TITLE_URL = "./index.xhtml";
29
15.2.2 by Gustav Hartvigsson
* Added JUnit and javax.faces dependancies to the pom.xml.
30
  /****************************************************************************/
31
  public String
32
  getPageTitle () {
33
    return PAGE_TITLE;
34
  }
18 by Gustav Hartvigsson
* Added vim modelines
35
15.2.2 by Gustav Hartvigsson
* Added JUnit and javax.faces dependancies to the pom.xml.
36
  public String
37
  getSubTitle () {
38
    return PAGE_SUB_TITLE;
39
  }
18 by Gustav Hartvigsson
* Added vim modelines
40
15.2.5 by Gustav Hartvigsson
* Changed the colour of the header_bar class and changed the colour of the links to be less irritating.
41
  public String
42
  getHeaderTitleUrl () {
43
    return PAGE_HEADER_TITLE_URL;
44
  }
18 by Gustav Hartvigsson
* Added vim modelines
45
15.2.5 by Gustav Hartvigsson
* Changed the colour of the header_bar class and changed the colour of the links to be less irritating.
46
  public String
47
  getHeaderSubTitleUrl () {
18 by Gustav Hartvigsson
* Added vim modelines
48
    return PAGE_HEADER_SUB_TITLE_URL;
15.2.5 by Gustav Hartvigsson
* Changed the colour of the header_bar class and changed the colour of the links to be less irritating.
49
  }
15.2.2 by Gustav Hartvigsson
* Added JUnit and javax.faces dependancies to the pom.xml.
50
}