Package org.cyclos.services.users
Interface UserAddressService
-
- All Superinterfaces:
CRUDService<UserAddressDTO,UserAddressData,UserAddressDataParams>,CRUDWithConfirmationPasswordService<UserAddressDTO,UserAddressData,UserAddressDataParams>,Service
- All Known Subinterfaces:
UserAddressServiceLocal
public interface UserAddressService extends CRUDWithConfirmationPasswordService<UserAddressDTO,UserAddressData,UserAddressDataParams>
Service interface for user address handling
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UserAddressListDatagetAddressListData(@NotNull UserLocatorVO locator)Returns all the user addresses.voidmarkAsDefault(@NotNull Long addressId)Marks the given address as default for it's owner-
Methods inherited from interface org.cyclos.services.CRUDService
getData, getDataForNew, load, remove, removeAll, save
-
Methods inherited from interface org.cyclos.services.CRUDWithConfirmationPasswordService
getConfirmationPasswordInputForRemove, removeAllWithConfirmationPassword, removeWithConfirmationPassword, saveWithConfirmationPassword
-
-
-
-
Method Detail
-
getAddressListData
UserAddressListData getAddressListData(@NotNull @NotNull UserLocatorVO locator) throws FrameworkException
Returns all the user addresses. If the logged user manages the given user, the hidden addresses will be also returned.- Throws:
FrameworkException
-
markAsDefault
void markAsDefault(@NotNull @NotNull Long addressId) throws FrameworkExceptionMarks the given address as default for it's owner- Throws:
FrameworkException
-
-