|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ActivitySpecDAO
This interface manages the persistence of activity-related information. It populates objects with state from persistence media and also persists state represented by objects.
| Method Summary | |
|---|---|
void |
deleteActivitySpec(ActivityID activityID)
Delete the specification of an activity. |
ActivitySpec |
getActivitySpec(ActivityID activityID)
Get the specification of a activity. |
boolean |
hasPersistedStateChanged(ActivityID activityID)
Has the persisted state changed for a given activity? |
void |
insertActivitySpec(ActivitySpec activitySpec)
Insert the specification of an activity. |
boolean |
isActivityKnown(ActivityID activityID)
Is an activity recorded in the persistence media? |
java.util.List |
listActivities()
Get a list of activities persisted in the persistence media. |
| Method Detail |
|---|
java.util.List listActivities()
throws PersistenceException
PersistenceException - If any problems arise when interacting with the persistence
media.
boolean isActivityKnown(ActivityID activityID)
throws PersistenceException
activityID - Activity ID
PersistenceException - If any problems arise when interacting with the persistence
media.
ActivitySpec getActivitySpec(ActivityID activityID)
throws ActivityUnknownException,
PersistenceException
activityID - Activity ID
ActivityUnknownException - If the activity is unknown i.e. not recorded in the
persistence media.
PersistenceException - If any problems arise when interacting with the persistence
media.
void deleteActivitySpec(ActivityID activityID)
throws PersistenceException
activityID - Activity ID
PersistenceException - If any problems arise when interacting with the persistence
media.
void insertActivitySpec(ActivitySpec activitySpec)
throws PersistenceException
activitySpec - Activity specification
PersistenceException - If any problems arise when interacting with the persistence
media.
boolean hasPersistedStateChanged(ActivityID activityID)
throws PersistenceException
activityID - Activity ID
PersistenceException - If any problems arise when interacting with the persistence
media.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||