Class JpaProductAsset
java.lang.Object
com.broadleafcommerce.catalog.provider.jpa.domain.asset.JpaProductAsset
- All Implemented Interfaces:
com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
,com.broadleafcommerce.data.tracking.core.CatalogTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CatalogJpaTracking>
,com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
,com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
,com.broadleafcommerce.data.tracking.core.search.Indexable
,com.broadleafcommerce.data.tracking.core.sort.domain.Sortable
,com.broadleafcommerce.data.tracking.core.Trackable
,com.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CatalogJpaTracking>
,com.broadleafcommerce.translation.domain.Translatable
,Serializable
@Entity
public class JpaProductAsset
extends Object
implements Serializable, com.broadleafcommerce.data.tracking.core.CatalogTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CatalogJpaTracking>, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware, com.broadleafcommerce.data.tracking.core.sort.domain.Sortable, com.broadleafcommerce.translation.domain.Translatable, com.broadleafcommerce.data.tracking.core.search.Indexable
- See Also:
-
Field Summary
Fields inherited from interface com.broadleafcommerce.data.tracking.core.sort.domain.Sortable
DEFAULT_VALUE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
org.modelmapper.ModelMapper
fromMe()
get_id()
Class<?>
getTags()
getTitle()
com.broadleafcommerce.data.tracking.jpa.filtering.domain.CatalogJpaTracking
getType()
getUrl()
int
hashCode()
boolean
void
void
setAltText
(String altText) void
setApplicationId
(String applicationId) void
setAttributes
(Map<String, String> attributes) void
setContextId
(String contextId) void
setEmbedCode
(String embedCode) void
setPrimary
(boolean primary) void
setProductContextId
(String productContextId) void
setProvider
(String provider) void
setSorting
(String sorting) void
setTags
(List<JpaProductAssetTag> tags) void
setTenantId
(String tenantId) void
void
setTracking
(com.broadleafcommerce.data.tracking.jpa.filtering.domain.CatalogJpaTracking tracking) void
void
protected org.modelmapper.Converter<Set<String>,
List<JpaProductAssetTag>> org.modelmapper.ModelMapper
toMe()
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
postFromMe, postToMe, preFromMe, preToMe
Methods inherited from interface com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
findNotificationState
Methods inherited from interface com.broadleafcommerce.data.tracking.core.sort.domain.Sortable
getSorted
Methods inherited from interface com.broadleafcommerce.data.tracking.core.Trackable
getNotificationStates, getNotificationStates, setNotificationStates
Methods inherited from interface com.broadleafcommerce.data.tracking.core.TypedTrackable
setTracking
-
Constructor Details
-
JpaProductAsset
public JpaProductAsset()
-
-
Method Details
-
sortableBounds
- Specified by:
sortableBounds
in interfacecom.broadleafcommerce.data.tracking.core.sort.domain.Sortable
-
toMe
@NonNull public org.modelmapper.ModelMapper toMe()- Specified by:
toMe
in interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
tagValuesToTagEntities
-
fromMe
@NonNull public org.modelmapper.ModelMapper fromMe()- Specified by:
fromMe
in interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
getBusinessDomainType
- Specified by:
getBusinessDomainType
in interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
-
getDisplay
- Specified by:
getDisplay
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
get_id
-
getContextId
- Specified by:
getContextId
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
- Specified by:
getContextId
in interfacecom.broadleafcommerce.translation.domain.Translatable
-
getTracking
public com.broadleafcommerce.data.tracking.jpa.filtering.domain.CatalogJpaTracking getTracking()- Specified by:
getTracking
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
getProductContextId
-
isPrimary
public boolean isPrimary() -
getSorting
- Specified by:
getSorting
in interfacecom.broadleafcommerce.data.tracking.core.sort.domain.Sortable
-
getTenantId
- See Also:
-
EntityAsset.getTenantId()
-
getApplicationId
- See Also:
-
EntityAsset.getApplicationId()
-
getType
- See Also:
-
EntityAsset.type
-
getProvider
- See Also:
-
EntityAsset.provider
-
getUrl
- See Also:
-
EntityAsset.url
-
getEmbedCode
- See Also:
-
EntityAsset.embedCode
-
getAltText
- See Also:
-
EntityAsset.altText
-
getTitle
- See Also:
-
EntityAsset.title
-
getTags
- See Also:
-
EntityAsset.tags
-
getAttributes
- See Also:
-
ProductAsset.attributes
-
set_id
-
setContextId
- Specified by:
setContextId
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setTracking
public void setTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.CatalogJpaTracking tracking) - Specified by:
setTracking
in interfacecom.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CatalogJpaTracking>
-
setProductContextId
-
setPrimary
public void setPrimary(boolean primary) -
setSorting
- Specified by:
setSorting
in interfacecom.broadleafcommerce.data.tracking.core.sort.domain.Sortable
-
setTenantId
- See Also:
-
EntityAsset.getTenantId()
-
setApplicationId
- See Also:
-
EntityAsset.getApplicationId()
-
setType
- See Also:
-
EntityAsset.type
-
setProvider
- See Also:
-
EntityAsset.provider
-
setUrl
- See Also:
-
EntityAsset.url
-
setEmbedCode
- See Also:
-
EntityAsset.embedCode
-
setAltText
- See Also:
-
EntityAsset.altText
-
setTitle
- See Also:
-
EntityAsset.title
-
setTags
- See Also:
-
EntityAsset.tags
-
setAttributes
- See Also:
-
ProductAsset.attributes
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-