Exemple #1
0
 public ExportMonthSelectionPage() {
   this(EhourWebSession.getSession().getNavCalendar());
 }
Exemple #2
0
  /**
   * Get the roles of the logged in user
   *
   * @return
   */
  public static Roles getRoles() {
    EhourWebSession session = EhourWebSession.getSession();

    return session.getRoles();
  }
Exemple #3
0
  public static User getUser() {
    EhourWebSession session = EhourWebSession.getSession();

    return (session.getAuthUser() != null) ? session.getAuthUser().getUser() : null;
  }
 public static User getUser() {
   EhourWebSession session = EhourWebSession.getSession();
   AuthUser authUser = session.getAuthUser();
   return (authUser != null) ? authUser.getUser() : null;
 }
 public static EhourConfig getEhourConfig() {
   return EhourWebSession.getSession().ehourConfig;
 }
 protected final EhourWebSession getEhourWebSession() {
   return EhourWebSession.getSession();
 }