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 Details

  • Constructor Details

    • HousekeepInfoBean

      public HousekeepInfoBean(List<String> colList) throws jp.ecuacion.lib.core.exception.checked.BizLogicAppException
      Constructs a new instance.
      Parameters:
      colList - colList
      Throws:
      jp.ecuacion.lib.core.exception.checked.BizLogicAppException - BizLogicAppException
  • Method Details

    • getFieldNameArray

      @Nonnull protected String[] getFieldNameArray()
      Specified by:
      getFieldNameArray in class jp.ecuacion.util.poi.excel.table.bean.StringExcelTableBean
    • getTaskId

      public String getTaskId()
    • isSoftDelete

      public boolean isSoftDelete()
      Returns if the housekeeping task is soft delete or hard delete.
      Returns:
      boolean, true if soft delete.
    • getDbConnectionInfoId

      public String getDbConnectionInfoId()
    • getTable

      public String getTable()
    • getSoftDeleteColumn

      public String getSoftDeleteColumn()
    • getSoftDeleteUpdateTimestampColumn

      public String getSoftDeleteUpdateTimestampColumn()
    • getSoftDeleteUpdateUserIdColumn

      public String getSoftDeleteUpdateUserIdColumn()
    • getSoftDeleteUpdateUserIdColumnNeedsQuotationMark

      public String getSoftDeleteUpdateUserIdColumnNeedsQuotationMark()
    • getSoftDeleteUpdateUserIdColumnValue

      public String getSoftDeleteUpdateUserIdColumnValue()
    • getTimestampColumnKind

      public TimestampKindEnum getTimestampColumnKind()
      Returns the datatype of timestamp column.
      Returns:
      TimestampKindEnum
    • getTimestampColumn

      public String getTimestampColumn()
    • getDeleteTargetInDays

      public int getDeleteTargetInDays()
    • timestampColumnDefines

      public boolean timestampColumnDefines()
      Returns true when a timestamp column is set.
    • getIdColumnInfo

      public ColumnInfoBean getIdColumnInfo()
    • getSoftDeleteColumnInfo

      public ColumnInfoBean getSoftDeleteColumnInfo()
    • getSoftDeleteUpdateTimestampColumnInfo

      public ColumnInfoBean getSoftDeleteUpdateTimestampColumnInfo()
    • getSoftDeleteUpdateUserIdColumnAndValueInfo

      public ColumnAndValueInfoBean getSoftDeleteUpdateUserIdColumnAndValueInfo()
    • getDbConnectionInfo

      public DbConnectionInfoBean getDbConnectionInfo()
    • setDbConnectionInfo

      public void setDbConnectionInfo(DbConnectionInfoBean dbConnectionInfo)
    • getWhereConditionInfoList

      public List<WhereConditionInfoBean> getWhereConditionInfoList()
    • setWhereConditionInfoList

      public void setWhereConditionInfoList(List<WhereConditionInfoBean> columnValueConditionInfoList)
    • getRelatedRecordTableInfoList

      public List<RelatedTableInfoBean> getRelatedRecordTableInfoList()
    • setRelatedRecordTableInfoList

      public void setRelatedRecordTableInfoList(List<RelatedTableInfoBean> relatedRecordTableInfoList)
    • afterReading

      public void afterReading() throws jp.ecuacion.lib.core.exception.checked.AppException
      Overrides:
      afterReading in class jp.ecuacion.util.poi.excel.table.bean.StringExcelTableBean
      Throws:
      jp.ecuacion.lib.core.exception.checked.AppException