|
@@ -56,28 +56,28 @@ import org.seasar.dbflute.outsidesql.executor.OutsideSqlBasicExecutor;
|
|
|
* <pre>
|
|
|
* [primary key]
|
|
|
* ID
|
|
|
- *
|
|
|
+ *
|
|
|
* [column]
|
|
|
* ID, NAME, URLS, INCLUDED_URLS, EXCLUDED_URLS, INCLUDED_DOC_URLS, EXCLUDED_DOC_URLS, CONFIG_PARAMETER, DEPTH, MAX_ACCESS_COUNT, USER_AGENT, NUM_OF_THREAD, INTERVAL_TIME, BOOST, AVAILABLE, SORT_ORDER, CREATED_BY, CREATED_TIME, UPDATED_BY, UPDATED_TIME, DELETED_BY, DELETED_TIME, VERSION_NO
|
|
|
- *
|
|
|
+ *
|
|
|
* [sequence]
|
|
|
- *
|
|
|
- *
|
|
|
+ *
|
|
|
+ *
|
|
|
* [identity]
|
|
|
* ID
|
|
|
- *
|
|
|
+ *
|
|
|
* [version-no]
|
|
|
* VERSION_NO
|
|
|
- *
|
|
|
+ *
|
|
|
* [foreign table]
|
|
|
- *
|
|
|
- *
|
|
|
+ *
|
|
|
+ *
|
|
|
* [referrer table]
|
|
|
* REQUEST_HEADER, WEB_AUTHENTICATION, WEB_CONFIG_TO_LABEL_TYPE_MAPPING, WEB_CONFIG_TO_ROLE_TYPE_MAPPING
|
|
|
- *
|
|
|
+ *
|
|
|
* [foreign property]
|
|
|
- *
|
|
|
- *
|
|
|
+ *
|
|
|
+ *
|
|
|
* [referrer property]
|
|
|
* requestHeaderList, webAuthenticationList, webConfigToLabelTypeMappingList, webConfigToRoleTypeMappingList
|
|
|
* </pre>
|
|
@@ -157,7 +157,7 @@ public abstract class BsWebCrawlingConfigBhv extends AbstractBehaviorWritable {
|
|
|
return doSelectCountUniquely(cb);
|
|
|
}
|
|
|
|
|
|
- protected int doSelectCountUniquely(final WebCrawlingConfigCB cb) { // called by selectCount(cb)
|
|
|
+ protected int doSelectCountUniquely(final WebCrawlingConfigCB cb) { // called by selectCount(cb)
|
|
|
assertCBStateValid(cb);
|
|
|
return delegateSelectCountUniquely(cb);
|
|
|
}
|
|
@@ -1114,7 +1114,7 @@ public abstract class BsWebCrawlingConfigBhv extends AbstractBehaviorWritable {
|
|
|
* webCrawlingConfigBhv.<span style="color: #FD4747">update</span>(webCrawlingConfig);
|
|
|
* } catch (EntityAlreadyUpdatedException e) { <span style="color: #3F7E5E">// if concurrent update</span>
|
|
|
* ...
|
|
|
- * }
|
|
|
+ * }
|
|
|
* </pre>
|
|
|
* @param webCrawlingConfig The entity of update target. (NotNull, PrimaryKeyNotNull, ConcurrencyColumnRequired)
|
|
|
* @exception org.seasar.dbflute.exception.EntityAlreadyUpdatedException When the entity has already been updated.
|
|
@@ -1340,7 +1340,7 @@ public abstract class BsWebCrawlingConfigBhv extends AbstractBehaviorWritable {
|
|
|
* webCrawlingConfigBhv.<span style="color: #FD4747">delete</span>(webCrawlingConfig);
|
|
|
* } catch (EntityAlreadyUpdatedException e) { <span style="color: #3F7E5E">// if concurrent update</span>
|
|
|
* ...
|
|
|
- * }
|
|
|
+ * }
|
|
|
* </pre>
|
|
|
* @param webCrawlingConfig The entity of delete target. (NotNull, PrimaryKeyNotNull, ConcurrencyColumnRequired)
|
|
|
* @exception org.seasar.dbflute.exception.EntityAlreadyUpdatedException When the entity has already been updated.
|
|
@@ -1550,14 +1550,14 @@ public abstract class BsWebCrawlingConfigBhv extends AbstractBehaviorWritable {
|
|
|
* Batch-update the entity list. (SpecifiedColumnsUpdated, ExclusiveControl) <br />
|
|
|
* This method uses executeBatch() of java.sql.PreparedStatement.
|
|
|
* <pre>
|
|
|
- * <span style="color: #3F7E5E">// e.g. update two columns only</span>
|
|
|
+ * <span style="color: #3F7E5E">// e.g. update two columns only</span>
|
|
|
* webCrawlingConfigBhv.<span style="color: #FD4747">batchUpdate</span>(webCrawlingConfigList, new SpecifyQuery<WebCrawlingConfigCB>() {
|
|
|
* public void specify(WebCrawlingConfigCB cb) { <span style="color: #3F7E5E">// the two only updated</span>
|
|
|
* cb.specify().<span style="color: #FD4747">columnFooStatusCode()</span>; <span style="color: #3F7E5E">// should be modified in any entities</span>
|
|
|
* cb.specify().<span style="color: #FD4747">columnBarDate()</span>; <span style="color: #3F7E5E">// should be modified in any entities</span>
|
|
|
* }
|
|
|
* });
|
|
|
- * <span style="color: #3F7E5E">// e.g. update every column in the table</span>
|
|
|
+ * <span style="color: #3F7E5E">// e.g. update every column in the table</span>
|
|
|
* webCrawlingConfigBhv.<span style="color: #FD4747">batchUpdate</span>(webCrawlingConfigList, new SpecifyQuery<WebCrawlingConfigCB>() {
|
|
|
* public void specify(WebCrawlingConfigCB cb) { <span style="color: #3F7E5E">// all columns are updated</span>
|
|
|
* cb.specify().<span style="color: #FD4747">columnEveryColumn()</span>; <span style="color: #3F7E5E">// no check of modified properties</span>
|
|
@@ -1616,14 +1616,14 @@ public abstract class BsWebCrawlingConfigBhv extends AbstractBehaviorWritable {
|
|
|
* Batch-update the entity list non-strictly. (SpecifiedColumnsUpdated, NonExclusiveControl) <br />
|
|
|
* This method uses executeBatch() of java.sql.PreparedStatement.
|
|
|
* <pre>
|
|
|
- * <span style="color: #3F7E5E">// e.g. update two columns only</span>
|
|
|
+ * <span style="color: #3F7E5E">// e.g. update two columns only</span>
|
|
|
* webCrawlingConfigBhv.<span style="color: #FD4747">batchUpdateNonstrict</span>(webCrawlingConfigList, new SpecifyQuery<WebCrawlingConfigCB>() {
|
|
|
* public void specify(WebCrawlingConfigCB cb) { <span style="color: #3F7E5E">// the two only updated</span>
|
|
|
* cb.specify().<span style="color: #FD4747">columnFooStatusCode()</span>; <span style="color: #3F7E5E">// should be modified in any entities</span>
|
|
|
* cb.specify().<span style="color: #FD4747">columnBarDate()</span>; <span style="color: #3F7E5E">// should be modified in any entities</span>
|
|
|
* }
|
|
|
* });
|
|
|
- * <span style="color: #3F7E5E">// e.g. update every column in the table</span>
|
|
|
+ * <span style="color: #3F7E5E">// e.g. update every column in the table</span>
|
|
|
* webCrawlingConfigBhv.<span style="color: #FD4747">batchUpdateNonstrict</span>(webCrawlingConfigList, new SpecifyQuery<WebCrawlingConfigCB>() {
|
|
|
* public void specify(WebCrawlingConfigCB cb) { <span style="color: #3F7E5E">// all columns are updated</span>
|
|
|
* cb.specify().<span style="color: #FD4747">columnEveryColumn()</span>; <span style="color: #3F7E5E">// no check of modified properties</span>
|
|
@@ -1725,7 +1725,7 @@ public abstract class BsWebCrawlingConfigBhv extends AbstractBehaviorWritable {
|
|
|
* public ConditionBean setup(webCrawlingConfig entity, WebCrawlingConfigCB intoCB) {
|
|
|
* FooCB cb = FooCB();
|
|
|
* cb.setupSelect_Bar();
|
|
|
- *
|
|
|
+ *
|
|
|
* <span style="color: #3F7E5E">// mapping</span>
|
|
|
* intoCB.specify().columnMyName().mappedFrom(cb.specify().columnFooName());
|
|
|
* intoCB.specify().columnMyCount().mappedFrom(cb.specify().columnFooCount());
|
|
@@ -1736,7 +1736,7 @@ public abstract class BsWebCrawlingConfigBhv extends AbstractBehaviorWritable {
|
|
|
* <span style="color: #3F7E5E">//entity.set...;</span>
|
|
|
* <span style="color: #3F7E5E">// you don't need to set a value of exclusive control column</span>
|
|
|
* <span style="color: #3F7E5E">//entity.setVersionNo(value);</span>
|
|
|
- *
|
|
|
+ *
|
|
|
* return cb;
|
|
|
* }
|
|
|
* });
|
|
@@ -2114,7 +2114,7 @@ public abstract class BsWebCrawlingConfigBhv extends AbstractBehaviorWritable {
|
|
|
/**
|
|
|
* Insert the several entities by query with varying requests (modified-only for fixed value). <br />
|
|
|
* For example, disableCommonColumnAutoSetup(), disablePrimaryKeyIdentity(). <br />
|
|
|
- * Other specifications are same as queryInsert(entity, setupper).
|
|
|
+ * Other specifications are same as queryInsert(entity, setupper).
|
|
|
* @param setupper The setup-per of query-insert. (NotNull)
|
|
|
* @param option The option of insert for varying requests. (NotNull)
|
|
|
* @return The inserted count.
|
|
@@ -2130,7 +2130,7 @@ public abstract class BsWebCrawlingConfigBhv extends AbstractBehaviorWritable {
|
|
|
* Update the several entities by query with varying requests non-strictly modified-only. {NonExclusiveControl} <br />
|
|
|
* For example, self(selfCalculationSpecification), specify(updateColumnSpecification)
|
|
|
* , disableCommonColumnAutoSetup(), allowNonQueryUpdate(). <br />
|
|
|
- * Other specifications are same as queryUpdate(entity, cb).
|
|
|
+ * Other specifications are same as queryUpdate(entity, cb).
|
|
|
* <pre>
|
|
|
* <span style="color: #3F7E5E">// ex) you can update by self calculation values</span>
|
|
|
* WebCrawlingConfig webCrawlingConfig = new WebCrawlingConfig();
|
|
@@ -2190,27 +2190,27 @@ public abstract class BsWebCrawlingConfigBhv extends AbstractBehaviorWritable {
|
|
|
* o selectList()
|
|
|
* o execute()
|
|
|
* o call()
|
|
|
- *
|
|
|
+ *
|
|
|
* {Entity}
|
|
|
* o entityHandling().selectEntity()
|
|
|
* o entityHandling().selectEntityWithDeletedCheck()
|
|
|
- *
|
|
|
+ *
|
|
|
* {Paging}
|
|
|
* o autoPaging().selectList()
|
|
|
* o autoPaging().selectPage()
|
|
|
* o manualPaging().selectList()
|
|
|
* o manualPaging().selectPage()
|
|
|
- *
|
|
|
+ *
|
|
|
* {Cursor}
|
|
|
* o cursorHandling().selectCursor()
|
|
|
- *
|
|
|
+ *
|
|
|
* {Option}
|
|
|
* o dynamicBinding().selectList()
|
|
|
* o removeBlockComment().selectList()
|
|
|
* o removeLineComment().selectList()
|
|
|
* o formatSql().selectList()
|
|
|
* </pre>
|
|
|
- * @return The basic executor of outside-SQL. (NotNull)
|
|
|
+ * @return The basic executor of outside-SQL. (NotNull)
|
|
|
*/
|
|
|
public OutsideSqlBasicExecutor<WebCrawlingConfigBhv> outsideSql() {
|
|
|
return doOutsideSql();
|