Class HousekeepInfoBean
java.lang.Object
jp.ecuacion.util.poi.excel.table.bean.StringExcelTableBean
jp.ecuacion.tool.housekeepdb.bean.forexceltable.HousekeepInfoBean
@ConditionalNotEmpty(propertyPath="softDeleteColumn",
conditionPropertyPath="isSoftDeleteInternalValue",
conditionPattern=stringValueOfConditionPropertyPathIsEqualTo,
conditionValueString="SOFT_DELETE")
@ConditionalEmpty(propertyPath={"timestampColumnKind","deleteTargetInDays"},conditionPropertyPath="timestampColumn",conditionPattern=valueOfConditionPropertyPathIsEmpty,notEmptyWhenConditionNotSatisfied=true) @ConditionalEmpty(propertyPath={"softDeleteUpdateTimestampColumn","softDeleteUpdateUserIdColumn"},conditionPropertyPath="isSoftDeleteInternalValue",conditionPattern=stringValueOfConditionPropertyPathIsEqualTo,conditionValueString="HARD_DELETE") @ConditionalEmpty(propertyPath={"softDeleteUpdateUserIdColumnNeedsQuotationMark","softDeleteUpdateUserIdColumnValue"},conditionPropertyPath="softDeleteUpdateUserIdColumn",conditionPattern=valueOfConditionPropertyPathIsEmpty,notEmptyWhenConditionNotSatisfied=true)
public class HousekeepInfoBean
extends jp.ecuacion.util.poi.excel.table.bean.StringExcelTableBean
Stores housekeeping settings.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidintprotected String[]getTable()Returns the datatype of timestamp column.booleanReturns if the housekeeping task is soft delete or hard delete.voidsetDbConnectionInfo(DbConnectionInfoBean dbConnectionInfo) voidsetRelatedRecordTableInfoList(List<RelatedTableInfoBean> relatedRecordTableInfoList) voidsetWhereConditionInfoList(List<WhereConditionInfoBean> columnValueConditionInfoList) booleanReturnstruewhen a timestamp column is set.Methods inherited from class jp.ecuacion.util.poi.excel.table.bean.StringExcelTableBean
emptyToNull, nullToEmpty, toBigDecimal, toBigInteger, toDouble, toFloat, toInteger, toLong
-
Field Details
-
DELETE_KIND_SOFT
- See Also:
-
DELETE_KIND_HARD
- See Also:
-
HEADER_LABEL_KEYS
-
-
Constructor Details
-
Method Details
-
getFieldNameArray
- Specified by:
getFieldNameArrayin classjp.ecuacion.util.poi.excel.table.bean.StringExcelTableBean
-
getTaskId
-
isSoftDelete
public boolean isSoftDelete()Returns if the housekeeping task is soft delete or hard delete.- Returns:
- boolean, true if soft delete.
-
getDbConnectionInfoId
-
getTable
-
getSoftDeleteColumn
-
getSoftDeleteUpdateTimestampColumn
-
getSoftDeleteUpdateUserIdColumn
-
getSoftDeleteUpdateUserIdColumnNeedsQuotationMark
-
getSoftDeleteUpdateUserIdColumnValue
-
getTimestampColumnKind
Returns the datatype of timestamp column.- Returns:
- TimestampKindEnum
-
getTimestampColumn
-
getDeleteTargetInDays
public int getDeleteTargetInDays() -
timestampColumnDefines
public boolean timestampColumnDefines()Returnstruewhen a timestamp column is set. -
getIdColumnInfo
-
getSoftDeleteColumnInfo
-
getSoftDeleteUpdateTimestampColumnInfo
-
getSoftDeleteUpdateUserIdColumnAndValueInfo
-
getDbConnectionInfo
-
setDbConnectionInfo
-
getWhereConditionInfoList
-
setWhereConditionInfoList
-
getRelatedRecordTableInfoList
-
setRelatedRecordTableInfoList
-
afterReading
public void afterReading() throws jp.ecuacion.lib.core.exception.checked.AppException- Overrides:
afterReadingin classjp.ecuacion.util.poi.excel.table.bean.StringExcelTableBean- Throws:
jp.ecuacion.lib.core.exception.checked.AppException
-