|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectde.unikassel.android.sdcframework.persistence.AbstractDatabaseCommand<Boolean>
de.unikassel.android.sdcframework.persistence.RemoveSamplesCommand
public class RemoveSamplesCommand
Implementation of the remove samples database command.
| Field Summary | |
|---|---|
private long |
count
The sample count to remove from database |
private Collection<DatabaseSample> |
samples
The collection to store the removed samples in |
| Fields inherited from class de.unikassel.android.sdcframework.persistence.AbstractDatabaseCommand |
|---|
DEFAULT_DB_OPEN_RETRY_COUNT |
| Constructor Summary | |
|---|---|
RemoveSamplesCommand(Collection<DatabaseSample> samples,
long count)
Constructor |
|
| Method Summary | |
|---|---|
protected Boolean |
applyCommand(DatabaseAdapter dbAdapter)
Method to apply the basic database command operation. |
Collection<DatabaseSample> |
getSamples()
Getter for the samples |
| Methods inherited from class de.unikassel.android.sdcframework.persistence.AbstractDatabaseCommand |
|---|
execute, getDbOpenRetryCount, getResult, internalExecute, isOpenReadOnly |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final Collection<DatabaseSample> samples
private final long count
| Constructor Detail |
|---|
public RemoveSamplesCommand(Collection<DatabaseSample> samples,
long count)
samples - the sample collection to store removed samples incount - the count of samples to remove from data base| Method Detail |
|---|
public final Collection<DatabaseSample> getSamples()
protected Boolean applyCommand(DatabaseAdapter dbAdapter)
AbstractDatabaseCommand
applyCommand in class AbstractDatabaseCommand<Boolean>dbAdapter - the database adapter to use
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||