|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openstreetmap.osmosis.core.pgsql.common.BaseDao
org.openstreetmap.osmosis.core.pgsql.v0_6.impl.ActionDao
public class ActionDao
Performs all action db operations.
| Constructor Summary | |
|---|---|
ActionDao(DatabaseContext dbCtx)
Creates a new instance. |
|
ActionDao(DatabaseContext dbCtx,
boolean enabled)
Creates a new instance. |
|
| Method Summary | |
|---|---|
void |
addAction(ActionDataType dataType,
ChangesetAction action,
long id)
Adds the specified action to the database. |
void |
truncate()
Removes all action records. |
| Methods inherited from class org.openstreetmap.osmosis.core.pgsql.common.BaseDao |
|---|
getDatabaseContext, prepareStatement, release |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActionDao(DatabaseContext dbCtx)
dbCtx - The database context to use for accessing the database.
public ActionDao(DatabaseContext dbCtx,
boolean enabled)
dbCtx - The database context to use for accessing the database.enabled - Action records will only be written if this is set to true.| Method Detail |
|---|
public void addAction(ActionDataType dataType,
ChangesetAction action,
long id)
dataType - The type of data being represented by this action.action - The action being performed on the data.id - The identifier of the data.public void truncate()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||