Class OfferTemplateImpl
java.lang.Object
com.broadleafcommerce.advancedoffer.templates.domain.OfferTemplateImpl
- All Implemented Interfaces:
OfferTemplate,Serializable,org.broadleafcommerce.common.admin.domain.AdminMainEntity,org.broadleafcommerce.common.copy.MultiTenantCloneable<OfferTemplate>
@Entity
public class OfferTemplateImpl
extends Object
implements OfferTemplate, org.broadleafcommerce.common.admin.domain.AdminMainEntity
- Author:
- Elbert Bautista (elbertbautista)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<OfferDependentField>protected Longprotected Stringprotected BigDecimalFields inherited from interface org.broadleafcommerce.common.admin.domain.AdminMainEntity
MAIN_ENTITY_NAME_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<G extends OfferTemplate>
org.broadleafcommerce.common.copy.CreateResponse<G>createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext multiTenantCopyContext) getId()getName()voidsetDependentFields(List<OfferDependentField> dependentFields) voidvoidvoidsetSequence(BigDecimal sequence)
-
Field Details
-
id
-
name
-
sequence
-
dependentFields
-
-
Constructor Details
-
OfferTemplateImpl
public OfferTemplateImpl()
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceOfferTemplate
-
setId
- Specified by:
setIdin interfaceOfferTemplate
-
getName
- Specified by:
getNamein interfaceOfferTemplate
-
setName
- Specified by:
setNamein interfaceOfferTemplate
-
getSequence
- Specified by:
getSequencein interfaceOfferTemplate
-
setSequence
- Specified by:
setSequencein interfaceOfferTemplate
-
getDependentFields
- Specified by:
getDependentFieldsin interfaceOfferTemplate
-
setDependentFields
- Specified by:
setDependentFieldsin interfaceOfferTemplate
-
getMainEntityName
- Specified by:
getMainEntityNamein interfaceorg.broadleafcommerce.common.admin.domain.AdminMainEntity
-
createOrRetrieveCopyInstance
public <G extends OfferTemplate> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext multiTenantCopyContext) throws CloneNotSupportedException - Specified by:
createOrRetrieveCopyInstancein interfaceorg.broadleafcommerce.common.copy.MultiTenantCloneable<OfferTemplate>- Throws:
CloneNotSupportedException
-