public abstract class AbstractCountableUpdateCommand extends AbstractAllBehaviorCommand<Integer>
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected Entity |
_entity
The instance of condition-bean.
|
_beanMetaDataFactory, _dataSource, _dbmetaProvider, _initializeOnly, _resultSetHandlerFactory, _sqlFileEncoding, _statementFactory, _tableDbName| コンストラクタと説明 |
|---|
AbstractCountableUpdateCommand() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
afterExecuting() |
protected void |
assertEntityProperty(String methodName) |
protected void |
assertStatus(String methodName) |
void |
beforeGettingSqlExecution() |
String |
buildSqlExecutionKey() |
protected TnBeanMetaData |
createBeanMetaData() |
protected abstract Object[] |
doGetSqlExecutionArgument() |
protected DBMeta |
findDBMeta()
Find DB meta.
|
Class<?> |
getCommandReturnType()
Get the return type of command.
|
ConditionBean |
getConditionBean()
Get the instance of condition-bean specified as argument if it exists.
|
Entity |
getEntity()
Get the instance of entity specified as one argument if it exists.
|
List<Entity> |
getEntityList()
Get the list of entity specified as list argument if it exists.
|
OutsideSqlOption |
getOutsideSqlOption()
Get the option of outside-SQL if it's outside-SQL.
|
String |
getOutsideSqlPath()
Get the path of outside-SQL if it's outside-SQL.
|
String |
getParameterBean()
Get the parameter-bean for outside-SQL if it's outside-SQL.
|
protected String[] |
getPersistentPropertyNames(TnBeanMetaData bmd)
Get persistent property names.
|
Object[] |
getSqlExecutionArgument() |
boolean |
isBatchUpdateFamily()
Does the command execute batch update family?
|
boolean |
isConditionBean()
Does the command use condition-bean?
|
boolean |
isDelete()
Does the command execute delete?
|
boolean |
isInsert()
Does the command execute insert?
|
boolean |
isOutsideSql()
Does the command use outside-SQL?
|
boolean |
isProcedure()
Does the command call procedure?
|
boolean |
isSelect()
Does the command return selected records?
|
boolean |
isSelectCount()
Does the command return selected record count?
|
boolean |
isSelectCursor()
Does the command handle its cursor?
|
boolean |
isUpdate()
Does the command execute update?
|
void |
setEntity(Entity entity) |
assertBasicProperty, assertComponentProperty, buildAssertMessage, createBeanArgNameTypeMap, createBeanCursorResultSetHandler, createBeanListResultSetHandler, createBeanOneResultSetHandler, createDynamicScalarResultSetHandler, createOutsideSqlExecuteExecution, createScalarListResultSetHandler, createScalarListResultSetHandler, createScalarResultSetHandler, getDBMeta, getInvokePath, getProjectName, getTableDbName, isInitializeOnly, newArgNameTypeMap, newOutsideSqlExecuteExecution, setBeanMetaDataFactory, setDataSource, setDBMetaProvider, setInitializeOnly, setResultSetHandlerFactory, setSqlFileEncoding, setStatementFactory, setTableDbName, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateSqlExecutionCreatorgetCommandName, isEntityUpdateFamily, isQueryUpdateFamilyprotected Entity _entity
public Class<?> getCommandReturnType()
BehaviorCommandMetapublic boolean isConditionBean()
BehaviorCommandMetapublic boolean isOutsideSql()
BehaviorCommandMetapublic boolean isProcedure()
BehaviorCommandMetapublic boolean isSelect()
BehaviorCommandMetapublic boolean isSelectCount()
BehaviorCommandMetapublic boolean isSelectCursor()
BehaviorCommandMetapublic boolean isInsert()
BehaviorCommandMetapublic boolean isUpdate()
BehaviorCommandMetapublic boolean isDelete()
BehaviorCommandMetapublic boolean isBatchUpdateFamily()
BehaviorCommandMetaprotected TnBeanMetaData createBeanMetaData()
public void beforeGettingSqlExecution()
public void afterExecuting()
public String buildSqlExecutionKey()
public Object[] getSqlExecutionArgument()
protected abstract Object[] doGetSqlExecutionArgument()
public ConditionBean getConditionBean()
BehaviorCommandMetapublic Entity getEntity()
BehaviorCommandMetapublic List<Entity> getEntityList()
BehaviorCommandMetapublic String getOutsideSqlPath()
BehaviorCommandMetapublic String getParameterBean()
BehaviorCommandMetapublic OutsideSqlOption getOutsideSqlOption()
BehaviorCommandMetaprotected DBMeta findDBMeta()
protected String[] getPersistentPropertyNames(TnBeanMetaData bmd)
bmd - The bean meta data. (NotNull)protected void assertStatus(String methodName)
protected void assertEntityProperty(String methodName)
public void setEntity(Entity entity)
Copyright © 2014–2019 The DBFlute Project. All rights reserved.