Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

finish room offer #44

Open
jack-kerouac opened this issue May 18, 2012 · 0 comments
Open

finish room offer #44

jack-kerouac opened this issue May 18, 2012 · 0 comments
Labels

Comments

@jack-kerouac
Copy link
Owner

if the flatshare found a seeker who matches and who will move in, the RO can be finished. It the RO should be finished, the resident has to choose the ROA (and thus seeker) who actually got the RO.

method on ResidentFacade
parameter: ROA

preconditions:

  • user that finishes the RO must be resident of the flatshare of the RO
  • the resident has chosen a ROA which was accepted

actions:

  • send mail to every seeker for whom a ROA exists for this RO, except for the seeker with the ROA which was accepted
    • sent text is dependent on state of ROA

post conditions:

  • Room Offer is in state DELETED and cannot be found anymore
  • accepted ROA is in state ACCEPTED

Write test for the pre- and postconditions as well as for the actions.

see https://docs.google.com/drawings/d/1V5rpsgNq0lkfucdDsvnjUf3nhhQ9u1qmP_UXgJliAq4/edit?pli=1
@Gissues:{"order":83.33333333333333,"status":"backlog"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant