@@ -113,9 +113,12 @@ public class PlaceBean implements PlaceBeanLocal {
...
@@ -113,9 +113,12 @@ public class PlaceBean implements PlaceBeanLocal {
}
}
/**
/**
* Calculate the price of reserved places for the user Optional parameter newPlace can be given when the place is added to the price calculations;
* Calculate the price of reserved places for the user Optional parameter
* newPlace can be given when the place is added to the price calculations;
*
*
* User parameter can be used to select another user than the currently logged in user, but if user does not have enough rights an exception will be thrown
* User parameter can be used to select another user than the currently
* logged in user, but if user does not have enough rights an exception will
* be thrown
*
*
*/
*/
...
@@ -182,7 +185,8 @@ public class PlaceBean implements PlaceBeanLocal {
...
@@ -182,7 +185,8 @@ public class PlaceBean implements PlaceBeanLocal {
}
}
/**
/**
* Reserve the place for user. This reservation will timeout after a while buy() method should be called after this when buying place;
* Reserve the place for user. This reservation will timeout after a while
* buy() method should be called after this when buying place;
*
*
* @param place
* @param place
* place to be reserved
* place to be reserved
...
@@ -236,11 +240,23 @@ public class PlaceBean implements PlaceBeanLocal {
...
@@ -236,11 +240,23 @@ public class PlaceBean implements PlaceBeanLocal {