private String username = null;
private String password = null;
private String backmenu = null;
+
+ private String _menuProperty;
/**
* Serial version ID.
sfilter.put("author", String.valueOf(user.getIndex()));
}
this.connect(context, user); // Updates the session context
+
+ setMenuProperty("none");
+ initializationScreenContext(_menuProperty);
+
return backmenu;
} catch (FailedLoginException error) {
setErrorCode("message.error.login." + error.getMessage());
}
}
+
@SuppressWarnings("unchecked")
public String doLogout() {
// -------------------------
sfilter.put("author", "0");
this.disconnect(); // Updates the session context
+
+ setMenuProperty("none");
+ initializationScreenContext(_menuProperty);
+
return backmenu;
} catch (Exception error) {
logger.error("Reason:", error);
}
}
- // ==============================================================================================================================
- // Getters and setters
- // ==============================================================================================================================
-
- public String getUsername() {
- // ----------------------------
- return username;
- }
-
- public String getPassword() {
- // ----------------------------
- return password;
- }
-
- public void setUsername(String value) {
- // --------------------------------------
- this.username = value;
- }
-
- public void setPassword(String value) {
- // --------------------------------------
- this.password = value;
+// ==============================================================================================================================
+// Getters and setters
+// ==============================================================================================================================
+
+ public String getUsername () {
+// ----------------------------
+ return username;
+ }
+ public String getPassword () {
+// ----------------------------
+ return password;
+ }
+
+ public void setUsername (String value) {
+// --------------------------------------
+ this.username = value;
+ }
+ public void setPassword (String value) {
+// --------------------------------------
+ this.password = value;
+ }
+ public void setBackMenu (String menu) {
+// -------------------------------------
+ this.backmenu = menu;
+ }
+
+ /**
+ * Get the menuProperty.
+ * @return the menuProperty
+ */
+ public String getMenuProperty() {
+ return _menuProperty;
}
- public void setBackMenu(String menu) {
- // -------------------------------------
- this.backmenu = menu;
+ /**
+ * Set the menuProperty.
+ * @param menuProperty the menuProperty to set
+ */
+ public void setMenuProperty(String menuProperty) {
+ this._menuProperty = menuProperty;
}
}
\ No newline at end of file