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 booleanbooleanorg.modelmapper.ModelMapperfromMe()get_id()Class<?>getTags()getTitle()com.broadleafcommerce.data.tracking.jpa.filtering.domain.CatalogJpaTrackinggetType()getUrl()inthashCode()booleanvoidvoidsetAltText(String altText) voidsetApplicationId(String applicationId) voidsetContextId(String contextId) voidsetEmbedCode(String embedCode) voidsetPrimary(boolean primary) voidsetProductContextId(String productContextId) voidsetProvider(String provider) voidsetSorting(String sorting) voidsetTags(List<JpaProductAssetTag> tags) voidsetTenantId(String tenantId) voidvoidsetTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.CatalogJpaTracking tracking) voidvoidprotected org.modelmapper.Converter<Set<String>,List<JpaProductAssetTag>> org.modelmapper.ModelMappertoMe()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
postFromMe, postToMe, preFromMe, preToMeMethods inherited from interface com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
findNotificationStateMethods inherited from interface com.broadleafcommerce.data.tracking.core.sort.domain.Sortable
getSortedMethods inherited from interface com.broadleafcommerce.data.tracking.core.Trackable
getNotificationStates, getNotificationStates, setNotificationStatesMethods inherited from interface com.broadleafcommerce.data.tracking.core.TypedTrackable
setTracking
-
Constructor Details
-
JpaProductAsset
public JpaProductAsset()
-
-
Method Details
-
sortableBounds
- Specified by:
sortableBoundsin interfacecom.broadleafcommerce.data.tracking.core.sort.domain.Sortable
-
toMe
@NonNull public org.modelmapper.ModelMapper toMe()- Specified by:
toMein interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
tagValuesToTagEntities
-
fromMe
@NonNull public org.modelmapper.ModelMapper fromMe()- Specified by:
fromMein interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
getBusinessDomainType
- Specified by:
getBusinessDomainTypein interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
-
getDisplay
- Specified by:
getDisplayin interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
get_id
-
getContextId
- Specified by:
getContextIdin interfacecom.broadleafcommerce.data.tracking.core.Trackable- Specified by:
getContextIdin interfacecom.broadleafcommerce.translation.domain.Translatable
-
getTracking
public com.broadleafcommerce.data.tracking.jpa.filtering.domain.CatalogJpaTracking getTracking()- Specified by:
getTrackingin interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
getProductContextId
-
isPrimary
public boolean isPrimary() -
getSorting
- Specified by:
getSortingin 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
-
set_id
-
setContextId
- Specified by:
setContextIdin interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setTracking
public void setTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.CatalogJpaTracking tracking) - Specified by:
setTrackingin interfacecom.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CatalogJpaTracking>
-
setProductContextId
-
setPrimary
public void setPrimary(boolean primary) -
setSorting
- Specified by:
setSortingin 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
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-