Class JpaImport
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
org.modelmapper.ModelMapper
fromMe()
Class<?>
com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeContainer
long
getId()
getName()
List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState>
List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState>
getNotificationStates
(boolean fetch) In some import scenarios, the imported entities cannot exist without a parent entity.long
long
getType()
int
hashCode()
boolean
void
setApplicationId
(String applicationId) void
void
setChangeContainer
(com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeContainer changeContainer) void
setErrorCount
(long errorCount) void
setErrorMessage
(String errorMessage) void
setFileLocation
(String fileLocation) void
setFileType
(String fileType) void
void
setImportingApplicationId
(String importingApplicationId) void
setImportingCatalogId
(String importingCatalogId) void
setImportingCustomerContextId
(String importingCustomerContextId) void
setImportingSandboxId
(String importingSandboxId) void
setImportingSandboxNameToCreate
(String importingSandboxNameToCreate) void
setIncludedHeaders
(Set<String> includedHeaders) void
setLastUpdated
(Instant lastUpdated) void
void
setNotificationStates
(List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState> notificationStates) void
setParameters
(Map<String, Object> parameters) void
setParentEntityId
(String parentEntityId) In some import scenarios, the imported entities cannot exist without a parent entity.void
setProductionImport
(boolean productionImport) void
setSpecificationRef
(String specificationRef) void
setStarted
(Instant started) setStatus
(ImportStatus status) void
setStopped
(Instant stopped) void
setSuccessCount
(long successCount) void
setTenantId
(String tenantId) void
setTotalItems
(long totalItems) void
void
setVendorRef
(String vendorRef) 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
-
Constructor Details
-
JpaImport
public JpaImport()
-
-
Method Details
-
getStatus
-
setStatus
-
setNotificationStates
public void setNotificationStates(List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState> notificationStates) - Specified by:
setNotificationStates
in interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
-
getNotificationStates
public List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState> getNotificationStates()- Specified by:
getNotificationStates
in interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
-
getNotificationStates
public List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState> getNotificationStates(boolean fetch) - Specified by:
getNotificationStates
in interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
-
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
-
getId
- Specified by:
getId
in interfacecom.broadleafcommerce.data.tracking.core.Identifiable
- See Also:
-
Import.id
-
getName
- See Also:
-
Import.name
-
getType
- See Also:
-
Import.type
-
getFileType
- See Also:
-
Import.fileType
-
getIncludedHeaders
- See Also:
-
Import.includedHeaders
-
getErrorMessage
- See Also:
-
Import.errorMessage
-
getFileLocation
- See Also:
-
Import.fileLocation
-
getStarted
- See Also:
-
Import.started
-
getStopped
- See Also:
-
Import.stopped
-
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
-
getAuthor
- See Also:
-
Import.author
-
getApplicationId
- See Also:
-
Import.applicationId
-
getTenantId
- See Also:
-
Import.tenantId
-
isProductionImport
public boolean isProductionImport()- See Also:
-
Import.productionImport
-
getImportingCatalogId
- See Also:
-
Import.importingCatalogId
-
getImportingApplicationId
- See Also:
-
Import.importingApplicationId
-
getImportingSandboxId
- See Also:
-
Import.importingSandboxId
-
getImportingSandboxNameToCreate
- See Also:
-
Import.importingSandboxNameToCreate
-
getImportingCustomerContextId
- See Also:
-
Import.importingCustomerContextId
-
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
- See Also:
-
Import.vendorRef
-
getSpecificationRef
- See Also:
-
Import.specificationRef
-
getChangeContainer
public com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeContainer getChangeContainer()- See Also:
-
Import.changeContainer
-
setId
- See Also:
-
Import.id
-
setName
- See Also:
-
Import.name
-
setType
- See Also:
-
Import.type
-
setFileType
- See Also:
-
Import.fileType
-
setIncludedHeaders
- See Also:
-
Import.includedHeaders
-
setErrorMessage
- See Also:
-
Import.errorMessage
-
setFileLocation
- See Also:
-
Import.fileLocation
-
setStarted
- See Also:
-
Import.started
-
setStopped
- See Also:
-
Import.stopped
-
setLastUpdated
- 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
-
setAuthor
- See Also:
-
Import.author
-
setApplicationId
- See Also:
-
Import.applicationId
-
setTenantId
- See Also:
-
Import.tenantId
-
setProductionImport
public void setProductionImport(boolean productionImport) - See Also:
-
Import.productionImport
-
setImportingCatalogId
- See Also:
-
Import.importingCatalogId
-
setImportingApplicationId
- See Also:
-
Import.importingApplicationId
-
setImportingSandboxId
- See Also:
-
Import.importingSandboxId
-
setImportingSandboxNameToCreate
- See Also:
-
Import.importingSandboxNameToCreate
-
setImportingCustomerContextId
- See Also:
-
Import.importingCustomerContextId
-
setParentEntityId
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
- See Also:
-
Import.vendorRef
-
setSpecificationRef
- See Also:
-
Import.specificationRef
-
setChangeContainer
public void setChangeContainer(com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeContainer changeContainer) - See Also:
-
Import.changeContainer
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-