[Lada-commits] [PATCH 03 of 11] Added stubs for owner and readonly flags in probe
Wald Commits
scm-commit at wald.intevation.org
Fri Mar 13 16:50:42 CET 2015
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1426261467 -3600
# Node ID a1b46c5c11c399a2f0e254b9b8f5f5321eb9a38e
# Parent 61ce3ce0100e9c878d8c2bef7b2c22eb27776799
Added stubs for owner and readonly flags in probe.
diff -r 61ce3ce0100e -r a1b46c5c11c3 src/main/java/de/intevation/lada/model/land/LProbe.java
--- a/src/main/java/de/intevation/lada/model/land/LProbe.java Fri Mar 13 16:43:32 2015 +0100
+++ b/src/main/java/de/intevation/lada/model/land/LProbe.java Fri Mar 13 16:44:27 2015 +0100
@@ -135,4 +135,12 @@
}
public void setProbeIdAlt(String probeIdAlt) {}
+
+ public boolean getIsOwner() {
+ return true; //TODO set a valid value in authorization process.
+ }
+
+ public boolean getReadonly() {
+ return false; //TODO set a valid value in authorization process.
+ }
}
More information about the Lada-commits
mailing list