Class PointOfServiceModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.storelocator.model.PointOfServiceModel
- All Implemented Interfaces:
Serializable
Generated model class for type PointOfService first defined at extension basecommerce.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationBaseStore2PointOfServiceRelationdefining source attributebaseStorein extensionbasecommerce.static final StringGenerated relation code constant for relationStoreEmplGroup2POSReldefining source attributestoreEmployeeGroupsin extensioncommerceservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofPointOfService.addressattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofPointOfService.baseStoreattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofPointOfService.businessCategoryattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofPointOfService.descriptionattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofPointOfService.displayNameattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofPointOfService.featuresattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofPointOfService.geocodeTimestampattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofPointOfService.latitudeattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofPointOfService.longitudeattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofPointOfService.mapIconattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofPointOfService.nameattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofPointOfService.nearbyStoreRadiusattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofPointOfService.openingScheduleattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofPointOfService.storeContentattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofPointOfService.storeEmployeeGroupsattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofPointOfService.storeImageattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofPointOfService.typeattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofPointOfService.warehousesattribute defined at extensioncommerceservices.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.PointOfServiceModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextPointOfServiceModel(String _name, PointOfServiceTypeEnum _type) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersPointOfServiceModel(String _name, ItemModel _owner, PointOfServiceTypeEnum _type) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of thePointOfService.addressattribute defined at extensionbasecommerce.Generated method - Getter of thePointOfService.baseStoreattribute defined at extensionbasecommerce.Generated method - Getter of thePointOfService.businessCategoryattribute defined at extensionbasecommerce.Generated method - Getter of thePointOfService.descriptionattribute defined at extensionbasecommerce.Generated method - Getter of thePointOfService.displayNameattribute defined at extensioncommerceservices.Generated method - Getter of thePointOfService.featuresattribute defined at extensioncommerceservices.Generated method - Getter of thePointOfService.geocodeTimestampattribute defined at extensionbasecommerce.Generated method - Getter of thePointOfService.latitudeattribute defined at extensionbasecommerce.Generated method - Getter of thePointOfService.longitudeattribute defined at extensionbasecommerce.Generated method - Getter of thePointOfService.mapIconattribute defined at extensionbasecommerce.getName()Generated method - Getter of thePointOfService.nameattribute defined at extensionbasecommerce.Generated method - Getter of thePointOfService.nearbyStoreRadiusattribute defined at extensioncommerceservices.Generated method - Getter of thePointOfService.openingScheduleattribute defined at extensionbasecommerce.Generated method - Getter of thePointOfService.storeContentattribute defined at extensionbasecommerce.getStoreContent(Locale loc) Generated method - Getter of thePointOfService.storeContentattribute defined at extensionbasecommerce.Generated method - Getter of thePointOfService.storeEmployeeGroupsattribute defined at extensioncommerceservices.Generated method - Getter of thePointOfService.storeImageattribute defined at extensionbasecommerce.getType()Generated method - Getter of thePointOfService.typeattribute defined at extensionbasecommerce.Generated method - Getter of thePointOfService.warehousesattribute defined at extensioncommerceservices.voidsetAddress(AddressModel value) Generated method - Setter ofPointOfService.addressattribute defined at extensionbasecommerce.voidsetBaseStore(BaseStoreModel value) Generated method - Setter ofPointOfService.baseStoreattribute defined at extensionbasecommerce.voidsetBusinessCategory(String value) Generated method - Setter ofPointOfService.businessCategoryattribute defined at extensionbasecommerce.voidsetDescription(String value) Generated method - Setter ofPointOfService.descriptionattribute defined at extensionbasecommerce.voidsetDisplayName(String value) Generated method - Setter ofPointOfService.displayNameattribute defined at extensioncommerceservices.voidsetFeatures(Set<StoreLocatorFeatureModel> value) Generated method - Setter ofPointOfService.featuresattribute defined at extensioncommerceservices.voidsetGeocodeTimestamp(Date value) Generated method - Setter ofPointOfService.geocodeTimestampattribute defined at extensionbasecommerce.voidsetLatitude(Double value) Generated method - Setter ofPointOfService.latitudeattribute defined at extensionbasecommerce.voidsetLongitude(Double value) Generated method - Setter ofPointOfService.longitudeattribute defined at extensionbasecommerce.voidsetMapIcon(MediaModel value) Generated method - Setter ofPointOfService.mapIconattribute defined at extensionbasecommerce.voidGenerated method - Initial setter ofPointOfService.nameattribute defined at extensionbasecommerce.voidsetNearbyStoreRadius(Double value) Generated method - Setter ofPointOfService.nearbyStoreRadiusattribute defined at extensioncommerceservices.voidGenerated method - Setter ofPointOfService.openingScheduleattribute defined at extensionbasecommerce.voidsetStoreContent(String value) Generated method - Setter ofPointOfService.storeContentattribute defined at extensionbasecommerce.voidsetStoreContent(String value, Locale loc) Generated method - Setter ofPointOfService.storeContentattribute defined at extensionbasecommerce.voidGenerated method - Setter ofPointOfService.storeEmployeeGroupsattribute defined at extensioncommerceservices.voidsetStoreImage(MediaContainerModel value) Generated method - Setter ofPointOfService.storeImageattribute defined at extensionbasecommerce.voidsetType(PointOfServiceTypeEnum value) Generated method - Setter ofPointOfService.typeattribute defined at extensionbasecommerce.voidsetWarehouses(List<WarehouseModel> value) Generated method - Setter ofPointOfService.warehousesattribute defined at extensioncommerceservices.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_BASESTORE2POINTOFSERVICERELATION
Generated relation code constant for relationBaseStore2PointOfServiceRelationdefining source attributebaseStorein extensionbasecommerce.- See Also:
-
_STOREEMPLGROUP2POSREL
Generated relation code constant for relationStoreEmplGroup2POSReldefining source attributestoreEmployeeGroupsin extensioncommerceservices.- See Also:
-
NAME
Generated constant - Attribute key ofPointOfService.nameattribute defined at extensionbasecommerce.- See Also:
-
ADDRESS
Generated constant - Attribute key ofPointOfService.addressattribute defined at extensionbasecommerce.- See Also:
-
DESCRIPTION
Generated constant - Attribute key ofPointOfService.descriptionattribute defined at extensionbasecommerce.- See Also:
-
TYPE
Generated constant - Attribute key ofPointOfService.typeattribute defined at extensionbasecommerce.- See Also:
-
MAPICON
Generated constant - Attribute key ofPointOfService.mapIconattribute defined at extensionbasecommerce.- See Also:
-
LATITUDE
Generated constant - Attribute key ofPointOfService.latitudeattribute defined at extensionbasecommerce.- See Also:
-
LONGITUDE
Generated constant - Attribute key ofPointOfService.longitudeattribute defined at extensionbasecommerce.- See Also:
-
GEOCODETIMESTAMP
Generated constant - Attribute key ofPointOfService.geocodeTimestampattribute defined at extensionbasecommerce.- See Also:
-
OPENINGSCHEDULE
Generated constant - Attribute key ofPointOfService.openingScheduleattribute defined at extensionbasecommerce.- See Also:
-
STORECONTENT
Generated constant - Attribute key ofPointOfService.storeContentattribute defined at extensionbasecommerce.- See Also:
-
STOREIMAGE
Generated constant - Attribute key ofPointOfService.storeImageattribute defined at extensionbasecommerce.- See Also:
-
BUSINESSCATEGORY
Generated constant - Attribute key ofPointOfService.businessCategoryattribute defined at extensionbasecommerce.- See Also:
-
BASESTORE
Generated constant - Attribute key ofPointOfService.baseStoreattribute defined at extensionbasecommerce.- See Also:
-
DISPLAYNAME
Generated constant - Attribute key ofPointOfService.displayNameattribute defined at extensioncommerceservices.- See Also:
-
NEARBYSTORERADIUS
Generated constant - Attribute key ofPointOfService.nearbyStoreRadiusattribute defined at extensioncommerceservices.- See Also:
-
FEATURES
Generated constant - Attribute key ofPointOfService.featuresattribute defined at extensioncommerceservices.- See Also:
-
WAREHOUSES
Generated constant - Attribute key ofPointOfService.warehousesattribute defined at extensioncommerceservices.- See Also:
-
STOREEMPLOYEEGROUPS
Generated constant - Attribute key ofPointOfService.storeEmployeeGroupsattribute defined at extensioncommerceservices.- See Also:
-
-
Constructor Details
-
PointOfServiceModel
public PointOfServiceModel()Generated constructor - Default constructor for generic creation. -
PointOfServiceModel
public PointOfServiceModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
PointOfServiceModel
@Deprecated(since="4.1.1", forRemoval=true) public PointOfServiceModel(String _name, PointOfServiceTypeEnum _type) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_name- initial attribute declared by typePointOfServiceat extensionbasecommerce_type- initial attribute declared by typePointOfServiceat extensionbasecommerce
-
PointOfServiceModel
@Deprecated(since="4.1.1", forRemoval=true) public PointOfServiceModel(String _name, ItemModel _owner, PointOfServiceTypeEnum _type) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_name- initial attribute declared by typePointOfServiceat extensionbasecommerce_owner- initial attribute declared by typeItemat extensioncore_type- initial attribute declared by typePointOfServiceat extensionbasecommerce
-
-
Method Details
-
getAddress
Generated method - Getter of thePointOfService.addressattribute defined at extensionbasecommerce.- Returns:
- the address
-
getBaseStore
Generated method - Getter of thePointOfService.baseStoreattribute defined at extensionbasecommerce.- Returns:
- the baseStore
-
getBusinessCategory
Generated method - Getter of thePointOfService.businessCategoryattribute defined at extensionbasecommerce.- Returns:
- the businessCategory - Specifies the overarching business category
-
getDescription
Generated method - Getter of thePointOfService.descriptionattribute defined at extensionbasecommerce.- Returns:
- the description
-
getDisplayName
Generated method - Getter of thePointOfService.displayNameattribute defined at extensioncommerceservices.- Returns:
- the displayName - Used as the display name for search results etc.
-
getFeatures
Generated method - Getter of thePointOfService.featuresattribute defined at extensioncommerceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the features
-
getGeocodeTimestamp
Generated method - Getter of thePointOfService.geocodeTimestampattribute defined at extensionbasecommerce.- Returns:
- the geocodeTimestamp
-
getLatitude
Generated method - Getter of thePointOfService.latitudeattribute defined at extensionbasecommerce.- Returns:
- the latitude
-
getLongitude
Generated method - Getter of thePointOfService.longitudeattribute defined at extensionbasecommerce.- Returns:
- the longitude
-
getMapIcon
Generated method - Getter of thePointOfService.mapIconattribute defined at extensionbasecommerce.- Returns:
- the mapIcon
-
getName
Generated method - Getter of thePointOfService.nameattribute defined at extensionbasecommerce.- Returns:
- the name
-
getNearbyStoreRadius
Generated method - Getter of thePointOfService.nearbyStoreRadiusattribute defined at extensioncommerceservices.- Returns:
- the nearbyStoreRadius - Overrides the default search radius when performing a search for nearby PoS from this PoS. Unit is BaseStore's StorelocatorDistanceUnit.
-
getOpeningSchedule
@Accessor(qualifier="openingSchedule", type=GETTER) public OpeningScheduleModel getOpeningSchedule()Generated method - Getter of thePointOfService.openingScheduleattribute defined at extensionbasecommerce.- Returns:
- the openingSchedule - It is property representing a schedule of opening hours of this point of service.
-
getStoreContent
Generated method - Getter of thePointOfService.storeContentattribute defined at extensionbasecommerce.- Returns:
- the storeContent - It is a localized attribute that contains informational store content text.
-
getStoreContent
Generated method - Getter of thePointOfService.storeContentattribute defined at extensionbasecommerce.- Parameters:
loc- the value localization key- Returns:
- the storeContent - It is a localized attribute that contains informational store content text.
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getStoreEmployeeGroups
@Accessor(qualifier="storeEmployeeGroups", type=GETTER) public Set<StoreEmployeeGroupModel> getStoreEmployeeGroups()Generated method - Getter of thePointOfService.storeEmployeeGroupsattribute defined at extensioncommerceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the storeEmployeeGroups
-
getStoreImage
Generated method - Getter of thePointOfService.storeImageattribute defined at extensionbasecommerce.- Returns:
- the storeImage - It is a media container with additional images of the store.
-
getType
Generated method - Getter of thePointOfService.typeattribute defined at extensionbasecommerce.- Returns:
- the type
-
getWarehouses
Generated method - Getter of thePointOfService.warehousesattribute defined at extensioncommerceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the warehouses
-
setAddress
Generated method - Setter ofPointOfService.addressattribute defined at extensionbasecommerce.- Parameters:
value- the address
-
setBaseStore
Generated method - Setter ofPointOfService.baseStoreattribute defined at extensionbasecommerce.- Parameters:
value- the baseStore
-
setBusinessCategory
Generated method - Setter ofPointOfService.businessCategoryattribute defined at extensionbasecommerce.- Parameters:
value- the businessCategory - Specifies the overarching business category
-
setDescription
Generated method - Setter ofPointOfService.descriptionattribute defined at extensionbasecommerce.- Parameters:
value- the description
-
setDisplayName
Generated method - Setter ofPointOfService.displayNameattribute defined at extensioncommerceservices.- Parameters:
value- the displayName - Used as the display name for search results etc.
-
setFeatures
@Accessor(qualifier="features", type=SETTER) public void setFeatures(Set<StoreLocatorFeatureModel> value) Generated method - Setter ofPointOfService.featuresattribute defined at extensioncommerceservices.- Parameters:
value- the features
-
setGeocodeTimestamp
Generated method - Setter ofPointOfService.geocodeTimestampattribute defined at extensionbasecommerce.- Parameters:
value- the geocodeTimestamp
-
setLatitude
Generated method - Setter ofPointOfService.latitudeattribute defined at extensionbasecommerce.- Parameters:
value- the latitude
-
setLongitude
Generated method - Setter ofPointOfService.longitudeattribute defined at extensionbasecommerce.- Parameters:
value- the longitude
-
setMapIcon
Generated method - Setter ofPointOfService.mapIconattribute defined at extensionbasecommerce.- Parameters:
value- the mapIcon
-
setName
Generated method - Initial setter ofPointOfService.nameattribute defined at extensionbasecommerce. Can only be used at creation of model - before first save.- Parameters:
value- the name
-
setNearbyStoreRadius
@Accessor(qualifier="nearbyStoreRadius", type=SETTER) public void setNearbyStoreRadius(Double value) Generated method - Setter ofPointOfService.nearbyStoreRadiusattribute defined at extensioncommerceservices.- Parameters:
value- the nearbyStoreRadius - Overrides the default search radius when performing a search for nearby PoS from this PoS. Unit is BaseStore's StorelocatorDistanceUnit.
-
setOpeningSchedule
@Accessor(qualifier="openingSchedule", type=SETTER) public void setOpeningSchedule(OpeningScheduleModel value) Generated method - Setter ofPointOfService.openingScheduleattribute defined at extensionbasecommerce.- Parameters:
value- the openingSchedule - It is property representing a schedule of opening hours of this point of service.
-
setStoreContent
Generated method - Setter ofPointOfService.storeContentattribute defined at extensionbasecommerce.- Parameters:
value- the storeContent - It is a localized attribute that contains informational store content text.
-
setStoreContent
@Accessor(qualifier="storeContent", type=SETTER) public void setStoreContent(String value, Locale loc) Generated method - Setter ofPointOfService.storeContentattribute defined at extensionbasecommerce.- Parameters:
value- the storeContent - It is a localized attribute that contains informational store content text.loc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setStoreEmployeeGroups
@Accessor(qualifier="storeEmployeeGroups", type=SETTER) public void setStoreEmployeeGroups(Set<StoreEmployeeGroupModel> value) Generated method - Setter ofPointOfService.storeEmployeeGroupsattribute defined at extensioncommerceservices.- Parameters:
value- the storeEmployeeGroups
-
setStoreImage
Generated method - Setter ofPointOfService.storeImageattribute defined at extensionbasecommerce.- Parameters:
value- the storeImage - It is a media container with additional images of the store.
-
setType
Generated method - Setter ofPointOfService.typeattribute defined at extensionbasecommerce.- Parameters:
value- the type
-
setWarehouses
@Accessor(qualifier="warehouses", type=SETTER) public void setWarehouses(List<WarehouseModel> value) Generated method - Setter ofPointOfService.warehousesattribute defined at extensioncommerceservices.- Parameters:
value- the warehouses
-