public interface UserAddressServiceLocal extends UserAddressService, CRUDServiceLocal<UserAddress,UserAddressDTO,UserAddressData,UserAddressDataParams>
UserAddressService| Modifier and Type | Method and Description |
|---|---|
void |
cleanDisabledAddressFields(IAddress address,
ConfigurationAccessor configuration)
Sets null to the disabled address fields according to the given configuration
|
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, savefind, findAll, getEntityClass, newEntity, remove, removeAll, toDTO, toEntity, validatevoid cleanDisabledAddressFields(IAddress address, ConfigurationAccessor configuration)
java.util.List<UserAddressVO> getAddresses(User user, boolean visibleOnly, boolean locatedOnly)
UserAddress getDefaultUserAddress(User user)
SearchByDistanceData getSearchByDistanceData()
org.cyclos.impl.utils.validation.Validator getValidator(AddressDTO address, Group group, boolean nameRequired)
boolean maxAddressesReached(User user)