Interface Userable
- All Known Implementing Classes:
AdministratorAdapter
,User
public interface Userable
An interface that defines common methods to manage the users which will be use the dormitory management system
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancelRent
(Rentable currentRent) The method is responsible to cancel existing user's rentvoid
The method is responsible to edit the rent which was recently created by the uservoid
payForRent
(Rentable currentRent) The method is responsible to provide the user an ability to pay the rent
-
Method Details
-
rent
-
payForRent
The method is responsible to provide the user an ability to pay the rent- Parameters:
currentRent
- - which has been already done by the user recently
-
cancelRent
The method is responsible to cancel existing user's rent- Parameters:
currentRent
- - which should be cancelled
-
editRent
The method is responsible to edit the rent which was recently created by the user- Parameters:
currentRent
- - which should be edited
-