public interface AddressServiceLocal extends AddressService, org.cyclos.impl.CRUDServiceLocal<UserAddress,UserAddressDTO,AddressData,AddressDataParams>
AddressService| Modifier and Type | Method and Description |
|---|---|
java.util.List<UserAddressVO> |
getAddresses(User user,
boolean visibleOnly,
boolean locatedOnly)
Returns all the user addresses or only the visible or located ones
|
UserAddress |
getDefaultUserAddress(User user)
Returns the user default address or null if none exists
|
SearchByDistanceData |
getSearchByDistanceData()
Returns data for the logged user to search by distance
|
org.cyclos.impl.utils.validation.Validator |
getValidator(AddressDTO address,
Group group,
boolean nameRequired)
Get a validator to validate in other services
|
boolean |
maxAddressesReached(User user)
Returns whether the given has reached the limit of allowed addresses
|
getAddressListData, markAsDefaultgetConfirmationPasswordInputForRemove, removeAllWithConfirmationPassword, removeWithConfirmationPassword, saveWithConfirmationPasswordgetData, getDataForNew, load, remove, removeAll, savejava.util.List<UserAddressVO> getAddresses(User user, boolean visibleOnly, boolean locatedOnly) throws FrameworkException
FrameworkExceptionUserAddress getDefaultUserAddress(User user) throws FrameworkException
FrameworkExceptionSearchByDistanceData getSearchByDistanceData() throws FrameworkException
FrameworkExceptionorg.cyclos.impl.utils.validation.Validator getValidator(AddressDTO address, Group group, boolean nameRequired) throws FrameworkException
FrameworkExceptionboolean maxAddressesReached(User user) throws FrameworkException
FrameworkException