Package net.officefloor.model.office
Interface OfficeRepository
-
- All Known Implementing Classes:
OfficeRepositoryImpl
public interface OfficeRepository
Repository of theOfficeModel
instances.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
retrieveOffice(OfficeModel office, ConfigurationItem configuration)
Retrieves theOfficeModel
from theConfigurationItem
.void
storeOffice(OfficeModel office, WritableConfigurationItem configuration)
Stores theOfficeModel
into theConfigurationItem
.
-
-
-
Method Detail
-
retrieveOffice
void retrieveOffice(OfficeModel office, ConfigurationItem configuration) throws java.lang.Exception
Retrieves theOfficeModel
from theConfigurationItem
.- Parameters:
office
-OfficeModel
.configuration
-ConfigurationItem
containing theOfficeModel
.- Throws:
java.lang.Exception
- If fails to retrieve theOfficeModel
.
-
storeOffice
void storeOffice(OfficeModel office, WritableConfigurationItem configuration) throws java.lang.Exception
Stores theOfficeModel
into theConfigurationItem
.- Parameters:
office
-OfficeModel
.configuration
-WritableConfigurationItem
to contain theOfficeModel
.- Throws:
java.lang.Exception
- If fails to store theOfficeModel
.
-
-