java.lang.Object
com.broadleafcommerce.dataimport.provider.jpa.domain.JpaImport
All Implemented Interfaces:
com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware, com.broadleafcommerce.data.tracking.core.Identifiable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, Serializable

@Entity public class JpaImport extends Object implements Serializable, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware, com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware, com.broadleafcommerce.data.tracking.core.Identifiable
Author:
Phillip Verheyden (phillipuniverse)
See Also:
  • Constructor Details

    • JpaImport

      public JpaImport()
  • Method Details

    • getStatus

      @Nullable public ImportStatus getStatus()
    • setStatus

      public JpaImport setStatus(@Nullable ImportStatus status)
    • setNotificationStates

      public void setNotificationStates(List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState> notificationStates)
      Specified by:
      setNotificationStates in interface com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
    • getNotificationStates

      public List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState> getNotificationStates()
      Specified by:
      getNotificationStates in interface com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
    • getNotificationStates

      public List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState> getNotificationStates(boolean fetch)
      Specified by:
      getNotificationStates in interface com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
    • fromMe

      public org.modelmapper.ModelMapper fromMe()
      Specified by:
      fromMe in interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
    • toMe

      public org.modelmapper.ModelMapper toMe()
      Specified by:
      toMe in interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
    • getBusinessDomainType

      public Class<?> getBusinessDomainType()
      Specified by:
      getBusinessDomainType in interface com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
    • getId

      public String getId()
      Specified by:
      getId in interface com.broadleafcommerce.data.tracking.core.Identifiable
      See Also:
      • Import.id
    • getName

      public String getName()
      See Also:
      • Import.name
    • getType

      public String getType()
      See Also:
      • Import.type
    • getFileType

      public String getFileType()
      See Also:
      • Import.fileType
    • getIncludedHeaders

      public Set<String> getIncludedHeaders()
      See Also:
      • Import.includedHeaders
    • getErrorMessage

      public String getErrorMessage()
      See Also:
      • Import.errorMessage
    • getFileLocation

      public String getFileLocation()
      See Also:
      • Import.fileLocation
    • getStarted

      public Instant getStarted()
      See Also:
      • Import.started
    • getStopped

      public Instant getStopped()
      See Also:
      • Import.stopped
    • getLastUpdated

      public Instant getLastUpdated()
      See Also:
      • Import.lastUpdated
    • getTotalItems

      public long getTotalItems()
      See Also:
      • Import.totalItems
    • getSuccessCount

      public long getSuccessCount()
      See Also:
      • Import.successCount
    • getErrorCount

      public long getErrorCount()
      See Also:
      • Import.errorCount
    • getParameters

      public Map<String,Object> getParameters()
    • getAuthor

      public String getAuthor()
      See Also:
      • Import.author
    • getApplicationId

      @Nullable public String getApplicationId()
      See Also:
      • Import.applicationId
    • getTenantId

      public String getTenantId()
      See Also:
      • Import.tenantId
    • isProductionImport

      public boolean isProductionImport()
      See Also:
      • Import.productionImport
    • getImportingCatalogId

      @Nullable public String getImportingCatalogId()
      See Also:
      • Import.importingCatalogId
    • getImportingApplicationId

      @Nullable public String getImportingApplicationId()
      See Also:
      • Import.importingApplicationId
    • getImportingSandboxId

      @Nullable public String getImportingSandboxId()
      See Also:
      • Import.importingSandboxId
    • getImportingSandboxNameToCreate

      @Nullable public String getImportingSandboxNameToCreate()
      See Also:
      • Import.importingSandboxNameToCreate
    • getImportingCustomerContextId

      @Nullable public String getImportingCustomerContextId()
      See Also:
      • Import.importingCustomerContextId
    • getParentEntityId

      @Nullable public String getParentEntityId()
      In some import scenarios, the imported entities cannot exist without a parent entity. This field is intended to hold the id of the parent entity common to all of the imported entities. For example: campaign id for campaign codes
      See Also:
      • Import.parentEntityId
    • getVendorRef

      @Nullable public String getVendorRef()
      See Also:
      • Import.vendorRef
    • getSpecificationRef

      @Nullable public String getSpecificationRef()
      See Also:
      • Import.specificationRef
    • getChangeContainer

      public com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeContainer getChangeContainer()
      See Also:
      • Import.changeContainer
    • setId

      public void setId(String id)
      See Also:
      • Import.id
    • setName

      public void setName(String name)
      See Also:
      • Import.name
    • setType

      public void setType(String type)
      See Also:
      • Import.type
    • setFileType

      public void setFileType(String fileType)
      See Also:
      • Import.fileType
    • setIncludedHeaders

      public void setIncludedHeaders(Set<String> includedHeaders)
      See Also:
      • Import.includedHeaders
    • setErrorMessage

      public void setErrorMessage(String errorMessage)
      See Also:
      • Import.errorMessage
    • setFileLocation

      public void setFileLocation(String fileLocation)
      See Also:
      • Import.fileLocation
    • setStarted

      public void setStarted(Instant started)
      See Also:
      • Import.started
    • setStopped

      public void setStopped(Instant stopped)
      See Also:
      • Import.stopped
    • setLastUpdated

      public void setLastUpdated(Instant lastUpdated)
      See Also:
      • Import.lastUpdated
    • setTotalItems

      public void setTotalItems(long totalItems)
      See Also:
      • Import.totalItems
    • setSuccessCount

      public void setSuccessCount(long successCount)
      See Also:
      • Import.successCount
    • setErrorCount

      public void setErrorCount(long errorCount)
      See Also:
      • Import.errorCount
    • setParameters

      public void setParameters(Map<String,Object> parameters)
    • setAuthor

      public void setAuthor(String author)
      See Also:
      • Import.author
    • setApplicationId

      public void setApplicationId(@Nullable String applicationId)
      See Also:
      • Import.applicationId
    • setTenantId

      public void setTenantId(String tenantId)
      See Also:
      • Import.tenantId
    • setProductionImport

      public void setProductionImport(boolean productionImport)
      See Also:
      • Import.productionImport
    • setImportingCatalogId

      public void setImportingCatalogId(@Nullable String importingCatalogId)
      See Also:
      • Import.importingCatalogId
    • setImportingApplicationId

      public void setImportingApplicationId(@Nullable String importingApplicationId)
      See Also:
      • Import.importingApplicationId
    • setImportingSandboxId

      public void setImportingSandboxId(@Nullable String importingSandboxId)
      See Also:
      • Import.importingSandboxId
    • setImportingSandboxNameToCreate

      public void setImportingSandboxNameToCreate(@Nullable String importingSandboxNameToCreate)
      See Also:
      • Import.importingSandboxNameToCreate
    • setImportingCustomerContextId

      public void setImportingCustomerContextId(@Nullable String importingCustomerContextId)
      See Also:
      • Import.importingCustomerContextId
    • setParentEntityId

      public void setParentEntityId(@Nullable String parentEntityId)
      In some import scenarios, the imported entities cannot exist without a parent entity. This field is intended to hold the id of the parent entity common to all of the imported entities. For example: campaign id for campaign codes
      See Also:
      • Import.parentEntityId
    • setVendorRef

      public void setVendorRef(@Nullable String vendorRef)
      See Also:
      • Import.vendorRef
    • setSpecificationRef

      public void setSpecificationRef(@Nullable String specificationRef)
      See Also:
      • Import.specificationRef
    • setChangeContainer

      public void setChangeContainer(com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeContainer changeContainer)
      See Also:
      • Import.changeContainer
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object