|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openstreetmap.osmosis.core.apidb.v0_6.impl.UserManager
public class UserManager
Creates or loads the details of the Osmosis user in the database.
| Constructor Summary | |
|---|---|
UserManager(DatabaseContext dbCtx)
Creates a new instance. |
|
| Method Summary | |
|---|---|
void |
addOrUpdateUser(OsmUser user)
Adds the user to the database or updates the name of the existing database entry if one already exists with the same id. |
void |
release()
Performs resource cleanup tasks such as closing files, or database connections. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserManager(DatabaseContext dbCtx)
dbCtx - The database context to use for all database access.| Method Detail |
|---|
public void addOrUpdateUser(OsmUser user)
user - The user to be created or updated.public void release()
release in interface Releasable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||