Class JpaBatchItemCompletion
java.lang.Object
com.broadleafcommerce.dataimport.provider.jpa.domain.JpaBatchItemCompletion
- 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 JpaBatchItemCompletion
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
Persistent counter-part to a
BatchItemCompletion for use with a JPA-supported datastore.- Author:
- Samarth Dhruva (samarthd)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanorg.modelmapper.ModelMapperfromMe()Class<?>Identifier that allows the resource tier to map back responses to a record within the batch.getId()longList<com.broadleafcommerce.common.messaging.notification.domain.NotificationState>List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState>getNotificationStates(boolean fetch) com.broadleafcommerce.common.dataimport.messaging.OperationTypeIdentifier for the record at the resource tier which is associated after the record is persistedgetRow()Intentionally not using theUlidConverterhere, since the value may just be the string version of the line number.inthashCode()voidsetCorrelationId(String correlationId) Identifier that allows the resource tier to map back responses to a record within the batch.voidsetErrorMessage(String errorMessage) voidvoidsetImportId(String importId) voidsetLineNumber(long lineNumber) voidsetNotificationStates(List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState> notificationStates) setOperation(com.broadleafcommerce.common.dataimport.messaging.OperationType operation) voidsetRecordType(String recordType) voidsetResourceTierIdentifier(String resourceTierIdentifier) Identifier for the record at the resource tier which is associated after the record is persistedvoidsetStatus(BatchItemStatus status) voidsetTopLevelParentCorrelationId(String topLevelParentCorrelationId) Intentionally not using theUlidConverterhere, since the value may just be the string version of the line number.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
-
JpaBatchItemCompletion
public JpaBatchItemCompletion()
-
-
Method Details
-
getOperation
@Nullable public com.broadleafcommerce.common.dataimport.messaging.OperationType getOperation() -
setOperation
public JpaBatchItemCompletion setOperation(@Nullable com.broadleafcommerce.common.dataimport.messaging.OperationType operation) -
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
-
getBusinessDomainType
- Specified by:
getBusinessDomainTypein interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
-
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
-
getId
- Specified by:
getIdin interfacecom.broadleafcommerce.data.tracking.core.Identifiable- See Also:
-
BatchItemCompletion.id
-
getCorrelationId
Identifier that allows the resource tier to map back responses to a record within the batch.Intentionally not using the
UlidConverterhere, since the value may just be the string version of the line number. -
getRecordType
- See Also:
-
BatchItemCompletion.recordType
-
getTopLevelParentCorrelationId
Intentionally not using theUlidConverterhere, since the value may just be the string version of the line number.- See Also:
-
BatchItemCompletion.topLevelParentCorrelationId
-
getResourceTierIdentifier
Identifier for the record at the resource tier which is associated after the record is persisted -
getImportId
- See Also:
-
BatchItemCompletion.importId
-
getLineNumber
public long getLineNumber()- See Also:
-
BatchItemCompletion.lineNumber
-
getErrorMessage
- See Also:
-
BatchItemCompletion.errorMessage
-
getRow
- See Also:
-
BatchItemCompletion.row
-
setId
- See Also:
-
BatchItemCompletion.id
-
setCorrelationId
Identifier that allows the resource tier to map back responses to a record within the batch.Intentionally not using the
UlidConverterhere, since the value may just be the string version of the line number. -
setRecordType
- See Also:
-
BatchItemCompletion.recordType
-
setTopLevelParentCorrelationId
Intentionally not using theUlidConverterhere, since the value may just be the string version of the line number.- See Also:
-
BatchItemCompletion.topLevelParentCorrelationId
-
setResourceTierIdentifier
Identifier for the record at the resource tier which is associated after the record is persisted -
setImportId
- See Also:
-
BatchItemCompletion.importId
-
setLineNumber
public void setLineNumber(long lineNumber) - See Also:
-
BatchItemCompletion.lineNumber
-
setErrorMessage
- See Also:
-
BatchItemCompletion.errorMessage
-
setRow
- See Also:
-
BatchItemCompletion.row
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-