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

java.lang.Objectde.unikassel.android.sdcframework.util.AbstractChainWorker<PersistentStorageManager>
de.unikassel.android.sdcframework.persistence.AbstractDatabaseFullStrategy
de.unikassel.android.sdcframework.persistence.NotificationStrategy
public final class NotificationStrategy
Implementation of a the database full strategy as service notification.
This strategy does only create a user notification, which whill be displayed
in the OS notification area . It should be used in the beginning of a
strategy chain.
| Field Summary | |
|---|---|
private Context |
context
The application context |
private Class<? extends Activity> |
controlActivityClass
The control activity class |
static int |
NOTIFICATION
The notification id |
| Constructor Summary | |
|---|---|
NotificationStrategy(Context context,
Class<? extends Activity> controlActivityClass)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
process(PersistentStorageManager storageManager)
Processing method of the worker |
| Methods inherited from class de.unikassel.android.sdcframework.util.AbstractChainWorker |
|---|
doWork, getSuccessor, setSuccessor, withSuccessor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.unikassel.android.sdcframework.util.facade.ChainWorker |
|---|
doWork, getSuccessor, setSuccessor, withSuccessor |
| Field Detail |
|---|
public static final int NOTIFICATION
private final Context context
private final Class<? extends Activity> controlActivityClass
| Constructor Detail |
|---|
public NotificationStrategy(Context context,
Class<? extends Activity> controlActivityClass)
context - the application contextcontrolActivityClass - | Method Detail |
|---|
public boolean process(PersistentStorageManager storageManager)
AbstractChainWorker
process in class AbstractDatabaseFullStrategystorageManager - the client
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||