implemented state update after sending document, returning to document list
This commit is contained in:
@@ -7,6 +7,7 @@ import static de.srsoftware.umbrella.core.Constants.LANGUAGE;
|
||||
import static de.srsoftware.umbrella.core.Constants.NAME;
|
||||
import static de.srsoftware.umbrella.core.Constants.THEME;
|
||||
import static de.srsoftware.umbrella.core.exceptions.UmbrellaException.missingFieldException;
|
||||
import static java.text.MessageFormat.format;
|
||||
|
||||
import de.srsoftware.umbrella.core.exceptions.UmbrellaException;
|
||||
import org.json.JSONObject;
|
||||
@@ -46,7 +47,10 @@ public class User {
|
||||
return new UmbrellaUser(id.longValue(), name, addr, theme, lang);
|
||||
}
|
||||
return new User(name,addr,lang);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return format("{0} ({1})",name,email);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user