Class JpaCodeGenerator
java.lang.Object
com.broadleafcommerce.promotion.offer.provider.jpa.domain.JpaCodeGenerator
- All Implemented Interfaces:
com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
,com.broadleafcommerce.data.tracking.core.ApplicationTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking>
,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.ApplicationJpaTracking>
,Serializable
@Entity
@TrackableExtension(APPLICATION)
public class JpaCodeGenerator
extends Object
implements com.broadleafcommerce.data.tracking.core.ApplicationTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking>, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware, com.broadleafcommerce.data.tracking.core.filtering.ActiveAware, Serializable
- Author:
- Chad Harchar (charchar)
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
org.modelmapper.ModelMapper
fromMe()
Class<?>
int
int
int
com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking
int
hashCode()
boolean
void
setActiveEndDate
(Instant activeEndDate) void
setActiveStartDate
(Instant activeStartDate) void
setAllowedLetters
(String allowedLetters) void
setAllowedNumbers
(String allowedNumbers) void
setCampaignId
(String campaignId) void
setCodeFormat
(String codeFormat) void
setCodeGenerationMessage
(String codeGenerationMessage) void
setCodeGenerationStatus
(String codeGenerationStatus) void
setCodeLength
(Integer codeLength) void
setCodePrefix
(String codePrefix) void
setContextId
(String contextId) void
setCreateDate
(Instant createDate) void
setEmailRegEx
(String emailRegEx) void
setMaxUses
(int maxUses) void
setNumberOfCodesGenerated
(int numberOfCodesGenerated) void
setNumberOfCodesToGenerate
(int numberOfCodesToGenerate) void
setSegment
(String segment) void
setTracking
(com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking tracking) void
setUpdateDate
(Instant updateDate) void
setVoucherCodeGenerator
(boolean voucherCodeGenerator) 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
-
Field Details
-
segment
-
createDate
-
updateDate
-
emailRegEx
-
activeStartDate
-
activeEndDate
-
-
Constructor Details
-
JpaCodeGenerator
public JpaCodeGenerator()
-
-
Method Details
-
fromMe
@NonNull public org.modelmapper.ModelMapper fromMe()- Specified by:
fromMe
in interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
toMe
@NonNull 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
-
getContextId
- Specified by:
getContextId
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
getCodePrefix
-
getNumberOfCodesToGenerate
public int getNumberOfCodesToGenerate() -
getNumberOfCodesGenerated
public int getNumberOfCodesGenerated() -
getCodeGenerationStatus
-
getCodeFormat
-
getCodeLength
-
getMaxUses
public int getMaxUses() -
getSegment
-
getCreateDate
-
getUpdateDate
-
getCodeGenerationMessage
-
getEmailRegEx
-
getActiveStartDate
- Specified by:
getActiveStartDate
in interfacecom.broadleafcommerce.data.tracking.core.filtering.ActiveAware
-
getActiveEndDate
- Specified by:
getActiveEndDate
in interfacecom.broadleafcommerce.data.tracking.core.filtering.ActiveAware
-
getCampaignId
-
isVoucherCodeGenerator
public boolean isVoucherCodeGenerator() -
getAllowedLetters
-
getAllowedNumbers
-
getTracking
public com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking getTracking()- Specified by:
getTracking
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setContextId
- Specified by:
setContextId
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setCodePrefix
-
setNumberOfCodesToGenerate
public void setNumberOfCodesToGenerate(int numberOfCodesToGenerate) -
setNumberOfCodesGenerated
public void setNumberOfCodesGenerated(int numberOfCodesGenerated) -
setCodeGenerationStatus
-
setCodeFormat
-
setCodeLength
-
setMaxUses
public void setMaxUses(int maxUses) -
setSegment
-
setCreateDate
-
setUpdateDate
-
setCodeGenerationMessage
-
setEmailRegEx
-
setActiveStartDate
-
setActiveEndDate
-
setCampaignId
-
setVoucherCodeGenerator
public void setVoucherCodeGenerator(boolean voucherCodeGenerator) -
setAllowedLetters
-
setAllowedNumbers
-
setTracking
public void setTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking tracking) - Specified by:
setTracking
in interfacecom.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking>
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-