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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanorg.modelmapper.ModelMapperfromMe()Class<?>com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeContainerlonggetId()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.longlonggetType()inthashCode()booleanvoidsetApplicationId(String applicationId) voidvoidsetChangeContainer(com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeContainer changeContainer) voidsetErrorCount(long errorCount) voidsetErrorMessage(String errorMessage) voidsetFileLocation(String fileLocation) voidsetFileType(String fileType) voidvoidsetImportingApplicationId(String importingApplicationId) voidsetImportingCatalogId(String importingCatalogId) voidsetImportingCustomerContextId(String importingCustomerContextId) voidsetImportingSandboxId(String importingSandboxId) voidsetImportingSandboxNameToCreate(String importingSandboxNameToCreate) voidsetIncludedHeaders(Set<String> includedHeaders) voidsetLastUpdated(Instant lastUpdated) voidvoidsetNotificationStates(List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState> notificationStates) voidsetParameters(Map<String, Object> parameters) voidsetParentEntityId(String parentEntityId) In some import scenarios, the imported entities cannot exist without a parent entity.voidsetProductionImport(boolean productionImport) voidsetSpecificationRef(String specificationRef) voidsetStarted(Instant started) setStatus(ImportStatus status) voidsetStopped(Instant stopped) voidsetSuccessCount(long successCount) voidsetTenantId(String tenantId) voidsetTotalItems(long totalItems) voidvoidsetVendorRef(String vendorRef) org.modelmapper.ModelMappertoMe()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
postFromMe, postToMe, preFromMe, preToMeMethods 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:
setNotificationStatesin interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
-
getNotificationStates
public List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState> getNotificationStates()- Specified by:
getNotificationStatesin interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
-
getNotificationStates
public List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState> getNotificationStates(boolean fetch) - Specified by:
getNotificationStatesin interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
-
fromMe
public org.modelmapper.ModelMapper fromMe()- Specified by:
fromMein interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
toMe
public org.modelmapper.ModelMapper toMe()- Specified by:
toMein interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
getBusinessDomainType
- Specified by:
getBusinessDomainTypein interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
-
getId
- Specified by:
getIdin 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()
-