Package net.officefloor.activity.model
Interface ActivityRepository
-
- All Known Implementing Classes:
ActivityRepositoryImpl
public interface ActivityRepository
Repository for obtaining the Activity model.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
retrieveActivity(ActivityModel activity, ConfigurationItem configuration)
Retrieves theActivityModel
from theConfigurationItem
.void
storeActivity(ActivityModel activity, WritableConfigurationItem configuration)
Stores theActivityModel
within theWritableConfigurationItem
.
-
-
-
Method Detail
-
retrieveActivity
void retrieveActivity(ActivityModel activity, ConfigurationItem configuration) throws java.lang.Exception
Retrieves theActivityModel
from theConfigurationItem
.- Parameters:
activity
-ActivityModel
.configuration
-ConfigurationItem
.- Throws:
java.lang.Exception
- If fails to retrieve theActivityModel
.
-
storeActivity
void storeActivity(ActivityModel activity, WritableConfigurationItem configuration) throws java.lang.Exception
Stores theActivityModel
within theWritableConfigurationItem
.- Parameters:
activity
-ActivityModel
.configuration
-WritableConfigurationItem
.- Throws:
java.lang.Exception
- If fails to store theActivityModel
.
-
-