/magstudentportal/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/magstudentportal/trunk

« back to all changes in this revision

Viewing changes to src/main/java/beans/ConfigBean.java

  • Committer: Gustav Hartvigsson
  • Date: 2017-08-28 13:56:55 UTC
  • mfrom: (15.2.6 more-db)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: gustav.hartvigsson@gmail.com-20170828135655-2957uxa474qkwsx4
* merge?

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import java.io.Serializable;
 
2
 
 
3
import javax.faces.bean.*;
 
4
 
 
5
 
 
6
@SuppressWarnings({ "serial", "deprecation" })
 
7
@ManagedBean(name = "configBean", eager = true)
 
8
@ApplicationScoped
 
9
public class
 
10
ConfigBean implements Serializable {
 
11
  /****************************************************************************/
 
12
  private static String
 
13
  PAGE_TITLE = "MAG Student Portal";
 
14
  
 
15
  private static String
 
16
  PAGE_SUB_TITLE = "My school";
 
17
  
 
18
  private static String
 
19
  PAGE_HEADER_TITLE_URL = "./index.xhtml";
 
20
  
 
21
  private static String
 
22
  PAGE_HEADER_SUB_TITLE_URL = "./index.xhtml";
 
23
  
 
24
  /****************************************************************************/
 
25
  public String
 
26
  getPageTitle () {
 
27
    return PAGE_TITLE;
 
28
  }
 
29
  
 
30
  public String
 
31
  getSubTitle () {
 
32
    return PAGE_SUB_TITLE;
 
33
  }
 
34
  
 
35
  public String
 
36
  getHeaderTitleUrl () {
 
37
    return PAGE_HEADER_TITLE_URL;
 
38
  }
 
39
  
 
40
  public String
 
41
  getHeaderSubTitleUrl () {
 
42
          return PAGE_HEADER_SUB_TITLE_URL;
 
43
  }
 
44
}