@Generated(value="")
public class ImportTask
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ImportTask.ExecuteStatus |
static class |
ImportTask.ImportStrategy |
static class |
ImportTask.Operation |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
className |
protected java.lang.String |
contentType |
protected java.util.Date |
endTime |
protected java.lang.String |
errorMessage |
protected ImportTask.ExecuteStatus |
executeStatus |
protected java.lang.String |
externalReferenceCode |
protected FailedItem[] |
failedItems |
protected java.lang.Long |
id |
protected ImportTask.ImportStrategy |
importStrategy |
protected ImportTask.Operation |
operation |
protected java.lang.Integer |
processedItemsCount |
protected java.util.Date |
startTime |
protected java.lang.Integer |
totalItemsCount |
java.lang.String |
xClassName |
Constructor and Description |
---|
ImportTask() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
java.lang.String |
getClassName() |
java.lang.String |
getContentType() |
java.util.Date |
getEndTime() |
java.lang.String |
getErrorMessage() |
@Valid ImportTask.ExecuteStatus |
getExecuteStatus() |
java.lang.String |
getExecuteStatusAsString() |
java.lang.String |
getExternalReferenceCode() |
@Valid FailedItem[] |
getFailedItems() |
@DecimalMin(value="0") java.lang.Long |
getId() |
@Valid ImportTask.ImportStrategy |
getImportStrategy() |
java.lang.String |
getImportStrategyAsString() |
@Valid ImportTask.Operation |
getOperation() |
java.lang.String |
getOperationAsString() |
@DecimalMin(value="0") java.lang.Integer |
getProcessedItemsCount() |
java.util.Date |
getStartTime() |
@DecimalMin(value="0") java.lang.Integer |
getTotalItemsCount() |
int |
hashCode() |
void |
setClassName(java.lang.String className) |
void |
setClassName(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> classNameUnsafeSupplier) |
void |
setContentType(java.lang.String contentType) |
void |
setContentType(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> contentTypeUnsafeSupplier) |
void |
setEndTime(java.util.Date endTime) |
void |
setEndTime(com.liferay.petra.function.UnsafeSupplier<java.util.Date,java.lang.Exception> endTimeUnsafeSupplier) |
void |
setErrorMessage(java.lang.String errorMessage) |
void |
setErrorMessage(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> errorMessageUnsafeSupplier) |
void |
setExecuteStatus(ImportTask.ExecuteStatus executeStatus) |
void |
setExecuteStatus(com.liferay.petra.function.UnsafeSupplier<ImportTask.ExecuteStatus,java.lang.Exception> executeStatusUnsafeSupplier) |
void |
setExternalReferenceCode(java.lang.String externalReferenceCode) |
void |
setExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> externalReferenceCodeUnsafeSupplier) |
void |
setFailedItems(FailedItem[] failedItems) |
void |
setFailedItems(com.liferay.petra.function.UnsafeSupplier<FailedItem[],java.lang.Exception> failedItemsUnsafeSupplier) |
void |
setId(java.lang.Long id) |
void |
setId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> idUnsafeSupplier) |
void |
setImportStrategy(ImportTask.ImportStrategy importStrategy) |
void |
setImportStrategy(com.liferay.petra.function.UnsafeSupplier<ImportTask.ImportStrategy,java.lang.Exception> importStrategyUnsafeSupplier) |
void |
setOperation(ImportTask.Operation operation) |
void |
setOperation(com.liferay.petra.function.UnsafeSupplier<ImportTask.Operation,java.lang.Exception> operationUnsafeSupplier) |
void |
setProcessedItemsCount(java.lang.Integer processedItemsCount) |
void |
setProcessedItemsCount(com.liferay.petra.function.UnsafeSupplier<java.lang.Integer,java.lang.Exception> processedItemsCountUnsafeSupplier) |
void |
setStartTime(java.util.Date startTime) |
void |
setStartTime(com.liferay.petra.function.UnsafeSupplier<java.util.Date,java.lang.Exception> startTimeUnsafeSupplier) |
void |
setTotalItemsCount(java.lang.Integer totalItemsCount) |
void |
setTotalItemsCount(com.liferay.petra.function.UnsafeSupplier<java.lang.Integer,java.lang.Exception> totalItemsCountUnsafeSupplier) |
static ImportTask |
toDTO(java.lang.String json) |
java.lang.String |
toString() |
static ImportTask |
unsafeToDTO(java.lang.String json) |
protected java.lang.String className
protected java.lang.String contentType
protected java.util.Date endTime
protected java.lang.String errorMessage
protected ImportTask.ExecuteStatus executeStatus
protected java.lang.String externalReferenceCode
protected FailedItem[] failedItems
protected java.lang.Long id
protected ImportTask.ImportStrategy importStrategy
protected ImportTask.Operation operation
protected java.lang.Integer processedItemsCount
protected java.util.Date startTime
protected java.lang.Integer totalItemsCount
public java.lang.String xClassName
public static ImportTask toDTO(java.lang.String json)
public static ImportTask unsafeToDTO(java.lang.String json)
public java.lang.String getClassName()
public void setClassName(java.lang.String className)
public void setClassName(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> classNameUnsafeSupplier)
public java.lang.String getContentType()
public void setContentType(java.lang.String contentType)
public void setContentType(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> contentTypeUnsafeSupplier)
public java.util.Date getEndTime()
public void setEndTime(java.util.Date endTime)
public void setEndTime(com.liferay.petra.function.UnsafeSupplier<java.util.Date,java.lang.Exception> endTimeUnsafeSupplier)
public java.lang.String getErrorMessage()
public void setErrorMessage(java.lang.String errorMessage)
public void setErrorMessage(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> errorMessageUnsafeSupplier)
@Valid public @Valid ImportTask.ExecuteStatus getExecuteStatus()
public java.lang.String getExecuteStatusAsString()
public void setExecuteStatus(ImportTask.ExecuteStatus executeStatus)
public void setExecuteStatus(com.liferay.petra.function.UnsafeSupplier<ImportTask.ExecuteStatus,java.lang.Exception> executeStatusUnsafeSupplier)
public java.lang.String getExternalReferenceCode()
public void setExternalReferenceCode(java.lang.String externalReferenceCode)
public void setExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> externalReferenceCodeUnsafeSupplier)
@Valid public @Valid FailedItem[] getFailedItems()
public void setFailedItems(FailedItem[] failedItems)
public void setFailedItems(com.liferay.petra.function.UnsafeSupplier<FailedItem[],java.lang.Exception> failedItemsUnsafeSupplier)
@DecimalMin(value="0") public @DecimalMin(value="0") java.lang.Long getId()
public void setId(java.lang.Long id)
public void setId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> idUnsafeSupplier)
@Valid public @Valid ImportTask.ImportStrategy getImportStrategy()
public java.lang.String getImportStrategyAsString()
public void setImportStrategy(ImportTask.ImportStrategy importStrategy)
public void setImportStrategy(com.liferay.petra.function.UnsafeSupplier<ImportTask.ImportStrategy,java.lang.Exception> importStrategyUnsafeSupplier)
@Valid public @Valid ImportTask.Operation getOperation()
public java.lang.String getOperationAsString()
public void setOperation(ImportTask.Operation operation)
public void setOperation(com.liferay.petra.function.UnsafeSupplier<ImportTask.Operation,java.lang.Exception> operationUnsafeSupplier)
@DecimalMin(value="0") public @DecimalMin(value="0") java.lang.Integer getProcessedItemsCount()
public void setProcessedItemsCount(java.lang.Integer processedItemsCount)
public void setProcessedItemsCount(com.liferay.petra.function.UnsafeSupplier<java.lang.Integer,java.lang.Exception> processedItemsCountUnsafeSupplier)
public java.util.Date getStartTime()
public void setStartTime(java.util.Date startTime)
public void setStartTime(com.liferay.petra.function.UnsafeSupplier<java.util.Date,java.lang.Exception> startTimeUnsafeSupplier)
@DecimalMin(value="0") public @DecimalMin(value="0") java.lang.Integer getTotalItemsCount()
public void setTotalItemsCount(java.lang.Integer totalItemsCount)
public void setTotalItemsCount(com.liferay.petra.function.UnsafeSupplier<java.lang.Integer,java.lang.Exception> totalItemsCountUnsafeSupplier)
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object