public static String generateRow( Integer webId, Integer timeType, String time, Integer seId, Integer searchType) { Util.checkNull(webId); Util.checkNull(timeType); Util.checkEmptyString(time); Util.checkNull(seId); StringBuffer sb = new StringBuffer(); sb.append(webId).append(RowUtil.ROW_SPLIT); sb.append(timeType).append(RowUtil.ROW_SPLIT); sb.append(time).append(RowUtil.ROW_SPLIT); sb.append(SIGN_SE_DATE).append(RowUtil.ROW_SPLIT); sb.append(seId).append(RowUtil.ROW_SPLIT); sb.append(searchType == null ? "" : searchType); return sb.toString(); }
public static String generateRow( String requiredRowPrefix, String searchPage, Integer searchShowType, String typeValue) { Util.checkEmptyString(typeValue); return generateRowPrefix(requiredRowPrefix, searchPage, searchShowType) + typeValue; }