Package net.officefloor.activity.model
Class ActivityRepositoryImpl
- java.lang.Object
-
- net.officefloor.activity.model.ActivityRepositoryImpl
-
- All Implemented Interfaces:
ActivityRepository
public class ActivityRepositoryImpl extends java.lang.Object implements ActivityRepository
ActivityRepository
implementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description ActivityRepositoryImpl(ModelRepository modelRepository)
Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
retrieveActivity(ActivityModel woof, ConfigurationItem configuration)
Retrieves theActivityModel
from theConfigurationItem
.void
storeActivity(ActivityModel woof, WritableConfigurationItem configuration)
Stores theActivityModel
within theWritableConfigurationItem
.
-
-
-
Constructor Detail
-
ActivityRepositoryImpl
public ActivityRepositoryImpl(ModelRepository modelRepository)
Initiate.- Parameters:
modelRepository
-ModelRepository
.
-
-
Method Detail
-
retrieveActivity
public void retrieveActivity(ActivityModel woof, ConfigurationItem configuration) throws java.lang.Exception
Description copied from interface:ActivityRepository
Retrieves theActivityModel
from theConfigurationItem
.- Specified by:
retrieveActivity
in interfaceActivityRepository
- Parameters:
woof
-ActivityModel
.configuration
-ConfigurationItem
.- Throws:
java.lang.Exception
- If fails to retrieve theActivityModel
.
-
storeActivity
public void storeActivity(ActivityModel woof, WritableConfigurationItem configuration) throws java.lang.Exception
Description copied from interface:ActivityRepository
Stores theActivityModel
within theWritableConfigurationItem
.- Specified by:
storeActivity
in interfaceActivityRepository
- Parameters:
woof
-ActivityModel
.configuration
-WritableConfigurationItem
.- Throws:
java.lang.Exception
- If fails to store theActivityModel
.
-
-