Class JpaContentItem
java.lang.Object
com.broadleafcommerce.content.provider.jpa.domain.JpaContentItem
- 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.filtering.ActiveAware
,com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
,com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
,com.broadleafcommerce.data.tracking.core.Trackable
,com.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CatalogJpaTracking>
,Serializable
@Entity
public class JpaContentItem
extends Object
implements 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.filtering.ActiveAware, Serializable
- Author:
- Jon Fleschler (jfleschler)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
org.modelmapper.ModelMapper
fromMe()
get_id()
Class<?>
getName()
getTags()
com.broadleafcommerce.data.tracking.jpa.filtering.domain.CatalogJpaTracking
getUri()
int
hashCode()
boolean
void
void
setActiveEndDate
(Instant activeEndDate) void
setActiveStartDate
(Instant activeStartDate) void
void
setContextId
(String contextId) void
setDisplayRule
(String displayRule) void
setEmbedded
(boolean embedded) void
setLastUpdated
(Instant lastUpdated) void
setModelContextId
(String modelContextId) void
setModelName
(String modelName) void
void
void
setTracking
(com.broadleafcommerce.data.tracking.jpa.filtering.domain.CatalogJpaTracking tracking) void
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.Trackable
getNotificationStates, getNotificationStates, setNotificationStates
Methods inherited from interface com.broadleafcommerce.data.tracking.core.TypedTrackable
setTracking
-
Constructor Details
-
JpaContentItem
public JpaContentItem()
-
-
Method Details
-
fromMe
public org.modelmapper.ModelMapper fromMe()- Specified by:
fromMe
in interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
toMe
public org.modelmapper.ModelMapper toMe()- Specified by:
toMe
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
-
getName
- See Also:
-
getActiveStartDate
- Specified by:
getActiveStartDate
in interfacecom.broadleafcommerce.data.tracking.core.filtering.ActiveAware
- See Also:
-
getActiveEndDate
- Specified by:
getActiveEndDate
in interfacecom.broadleafcommerce.data.tracking.core.filtering.ActiveAware
- See Also:
-
getModelContextId
- See Also:
-
getModelName
-
getUri
- See Also:
-
getAuthor
- See Also:
-
getDisplayRule
- See Also:
-
getTags
- See Also:
-
isEmbedded
public boolean isEmbedded()- See Also:
-
getLastUpdated
- See Also:
-
getTracking
public com.broadleafcommerce.data.tracking.jpa.filtering.domain.CatalogJpaTracking getTracking()- Specified by:
getTracking
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
- Returns:
- The Tracking information for this Content Item.
-
set_id
-
setContextId
- Specified by:
setContextId
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setName
- See Also:
-
setActiveStartDate
- See Also:
-
setActiveEndDate
- See Also:
-
setModelContextId
- See Also:
-
setModelName
-
setUri
- See Also:
-
setAuthor
- See Also:
-
setDisplayRule
- See Also:
-
setTags
- See Also:
-
setEmbedded
public void setEmbedded(boolean embedded) - See Also:
-
setLastUpdated
- See Also:
-
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>
- Parameters:
tracking
- the Tracking information for this Content Item.
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-