Class DefaultAddressAsStringProvider
java.lang.Object
ch.tocco.nice2.optional.address.impl.outputcenter.DefaultAddressAsStringProvider
- All Implemented Interfaces:
AddressAsStringProvider
@Component
public class DefaultAddressAsStringProvider
extends Object
implements AddressAsStringProvider
Default implementation for AddressAsStringProvider accessing
AddressService
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable String
getAddressAsString
(@Nullable Entity user, @Nullable Entity address) Get address as string from either a user or address entity.
-
Constructor Details
-
DefaultAddressAsStringProvider
-
-
Method Details
-
getAddressAsString
@Nullable public @Nullable String getAddressAsString(@Nullable @Nullable Entity user, @Nullable @Nullable Entity address) Description copied from interface:AddressAsStringProvider
Get address as string from either a user or address entity. This method is called when saving an Output_job_item when no explicit address as string was set.- Specified by:
getAddressAsString
in interfaceAddressAsStringProvider
-