|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OfficeFloor
Office floor where Work is done within Office instances.
| Method Summary | |
|---|---|
void |
closeOfficeFloor()
Closes the floor. |
Office |
getOffice(String officeName)
Obtains the Office for the input office name. |
String[] |
getOfficeNames()
Obtains the names of the Office instances within this
OfficeFloor. |
void |
openOfficeFloor()
Opens the floor and starts all Work. |
| Method Detail |
|---|
void openOfficeFloor()
throws Exception
Work.
Exception - If fails to open the floor.void closeOfficeFloor()
Work within the Office
instances and releases all resources.
String[] getOfficeNames()
Obtains the names of the Office instances within this
OfficeFloor.
This allows to dynamically manage this OfficeFloor.
Office instances within this
OfficeFloor.
Office getOffice(String officeName)
throws UnknownOfficeException
Office for the input office name.
officeName - Name of the Office.
Office.
UnknownOfficeException - If no Office by the name within this
OfficeFloor.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||