public class OsmPrivileges extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private boolean |
allowModifyNotes |
private boolean |
allowReadGpx |
private boolean |
allowReadPrefs |
private boolean |
allowWriteApi |
private boolean |
allowWriteGpx |
private boolean |
allowWritePrefs |
| Constructor and Description |
|---|
OsmPrivileges() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAllowModifyNotes()
Determines if the client is allowed to modify notes.
|
boolean |
isAllowReadGpx()
Determines if the client is allowed to read private GPS traces.
|
boolean |
isAllowReadPrefs()
Determines if the client is allowed to read user preferences.
|
boolean |
isAllowWriteApi()
Determines if the client is allowed to modify the map.
|
boolean |
isAllowWriteGpx()
Determines if the client is allowed to upload GPS traces.
|
boolean |
isAllowWritePrefs()
Determines if the client is allowed to modify user preferences.
|
void |
setAllowModifyNotes(boolean allowModifyNotes)
Sets whether the client is allowed to modify notes.
|
void |
setAllowReadGpx(boolean allowReadGpx)
Sets whether the client is allowed to read private GPS traces.
|
void |
setAllowReadPrefs(boolean allowReadPrefs)
Sets whether the client is allowed to read user preferences.
|
void |
setAllowWriteApi(boolean allowWriteApi)
Sets whether the client is allowed to modify the map.
|
void |
setAllowWriteGpx(boolean allowWriteGpx)
Sets whether the client is allowed to upload GPS traces.
|
void |
setAllowWritePrefs(boolean allowWritePrefs)
Sets whether the client is allowed to modify user preferences.
|
private boolean allowWriteApi
private boolean allowWriteGpx
private boolean allowReadGpx
private boolean allowReadPrefs
private boolean allowWritePrefs
private boolean allowModifyNotes
public OsmPrivileges()
public boolean isAllowWriteApi()
true if the client is allowed to modify the map, false otherwisepublic void setAllowWriteApi(boolean allowWriteApi)
allowWriteApi - true if the client is allowed to modify the map, false otherwisepublic boolean isAllowWriteGpx()
true if the client is allowed to upload GPS traces, false otherwisepublic void setAllowWriteGpx(boolean allowWriteGpx)
allowWriteGpx - true if the client is allowed to upload GPS traces, false otherwisepublic boolean isAllowReadGpx()
true if the client is allowed to read private GPS traces, false otherwisepublic void setAllowReadGpx(boolean allowReadGpx)
allowReadGpx - true if the client is allowed to read private GPS traces, false otherwisepublic boolean isAllowReadPrefs()
true if the client is allowed to read user preferences, false otherwisepublic void setAllowReadPrefs(boolean allowReadPrefs)
allowReadPrefs - true if the client is allowed to read user preferences, false otherwisepublic boolean isAllowWritePrefs()
true if the client is allowed to modify user preferences, false otherwisepublic void setAllowWritePrefs(boolean allowWritePrefs)
allowWritePrefs - true if the client is allowed to modify user preferences, false otherwisepublic boolean isAllowModifyNotes()
true if the client is allowed to modify notes, false otherwisepublic void setAllowModifyNotes(boolean allowModifyNotes)
allowModifyNotes - true if the client is allowed to modify notes, false otherwise