public interface TableManager<B extends BaseBean<?>> extends Constant
| 限定符和类型 | 接口和说明 |
|---|---|
static interface |
TableManager.Action<B> |
static class |
TableManager.BaseAdapter<B extends BaseBean<B>> |
Constant.JdbcPropertyFL_DEVICE_COLUMN_COUNT, FL_DEVICE_FIELD_TYPES, FL_DEVICE_FIELDS, FL_DEVICE_FIELDS_LIST, FL_DEVICE_FK_GROUP_ID, FL_DEVICE_FULL_FIELDS, FL_DEVICE_GROUP_COLUMN_COUNT, FL_DEVICE_GROUP_FIELD_TYPES, FL_DEVICE_GROUP_FIELDS, FL_DEVICE_GROUP_FIELDS_LIST, FL_DEVICE_GROUP_FK_PARENT, FL_DEVICE_GROUP_FULL_FIELDS, FL_DEVICE_GROUP_ID_CREATE_TIME, FL_DEVICE_GROUP_ID_CREATE_TIME_MASK, FL_DEVICE_GROUP_ID_EXT_BIN, FL_DEVICE_GROUP_ID_EXT_BIN_MASK, FL_DEVICE_GROUP_ID_EXT_TXT, FL_DEVICE_GROUP_ID_EXT_TXT_MASK, FL_DEVICE_GROUP_ID_ID, FL_DEVICE_GROUP_ID_ID_MASK, FL_DEVICE_GROUP_ID_LEAF, FL_DEVICE_GROUP_ID_LEAF_MASK, FL_DEVICE_GROUP_ID_NAME, FL_DEVICE_GROUP_ID_NAME_MASK, FL_DEVICE_GROUP_ID_PARENT, FL_DEVICE_GROUP_ID_PARENT_MASK, FL_DEVICE_GROUP_ID_REMARK, FL_DEVICE_GROUP_ID_REMARK_MASK, FL_DEVICE_GROUP_ID_ROOT_GROUP, FL_DEVICE_GROUP_ID_ROOT_GROUP_MASK, FL_DEVICE_GROUP_ID_SCHEDULE, FL_DEVICE_GROUP_ID_SCHEDULE_MASK, FL_DEVICE_GROUP_ID_UPDATE_TIME, FL_DEVICE_GROUP_ID_UPDATE_TIME_MASK, FL_DEVICE_GROUP_IK_FL_DEVICE_GROUP_ID, FL_DEVICE_GROUP_IK_FL_DEVICE_GROUP_PARENT, FL_DEVICE_GROUP_IK_FL_PERMIT_DEVICE_GROUP_ID, FL_DEVICE_GROUP_INDEX_PARENT, FL_DEVICE_GROUP_JAVA_FIELDS, FL_DEVICE_GROUP_JAVA_FIELDS_LIST, FL_DEVICE_GROUP_PK_COUNT, FL_DEVICE_ID_CREATE_TIME, FL_DEVICE_ID_CREATE_TIME_MASK, FL_DEVICE_ID_DIRECTION, FL_DEVICE_ID_DIRECTION_MASK, FL_DEVICE_ID_EXT_BIN, FL_DEVICE_ID_EXT_BIN_MASK, FL_DEVICE_ID_EXT_TXT, FL_DEVICE_ID_EXT_TXT_MASK, FL_DEVICE_ID_GROUP_ID, FL_DEVICE_ID_GROUP_ID_MASK, FL_DEVICE_ID_ID, FL_DEVICE_ID_ID_MASK, FL_DEVICE_ID_MAC, FL_DEVICE_ID_MAC_MASK, FL_DEVICE_ID_MADE_DATE, FL_DEVICE_ID_MADE_DATE_MASK, FL_DEVICE_ID_MANUFACTURER, FL_DEVICE_ID_MANUFACTURER_MASK, FL_DEVICE_ID_MODEL, FL_DEVICE_ID_MODEL_MASK, FL_DEVICE_ID_NAME, FL_DEVICE_ID_NAME_MASK, FL_DEVICE_ID_PRODUCT_NAME, FL_DEVICE_ID_PRODUCT_NAME_MASK, FL_DEVICE_ID_REMARK, FL_DEVICE_ID_REMARK_MASK, FL_DEVICE_ID_SERIAL_NO, FL_DEVICE_ID_SERIAL_NO_MASK, FL_DEVICE_ID_UPDATE_TIME, FL_DEVICE_ID_UPDATE_TIME_MASK, FL_DEVICE_ID_USED_SDKS, FL_DEVICE_ID_USED_SDKS_MASK, FL_DEVICE_ID_VENDOR, FL_DEVICE_ID_VENDOR_MASK, FL_DEVICE_ID_VERSION, FL_DEVICE_ID_VERSION_MASK, FL_DEVICE_IK_FL_IMAGE_DEVICE_ID, FL_DEVICE_IK_FL_LOG_DEVICE_ID, FL_DEVICE_INDEX_GROUP_ID, FL_DEVICE_INDEX_MAC, FL_DEVICE_INDEX_SERIAL_NO, FL_DEVICE_JAVA_FIELDS, FL_DEVICE_JAVA_FIELDS_LIST, FL_DEVICE_PK_COUNT, FL_FACE_COLUMN_COUNT, FL_FACE_FIELD_TYPES, FL_FACE_FIELDS, FL_FACE_FIELDS_LIST, FL_FACE_FK_FEATURE_MD5, FL_FACE_FK_IMAGE_MD5, FL_FACE_FULL_FIELDS, FL_FACE_ID_ANGLE_PITCH, FL_FACE_ID_ANGLE_PITCH_MASK, FL_FACE_ID_ANGLE_ROLL, FL_FACE_ID_ANGLE_ROLL_MASK, FL_FACE_ID_ANGLE_YAW, FL_FACE_ID_ANGLE_YAW_MASK, FL_FACE_ID_EXT_INFO, FL_FACE_ID_EXT_INFO_MASK, FL_FACE_ID_EYE_LEFTX, FL_FACE_ID_EYE_LEFTX_MASK, FL_FACE_ID_EYE_LEFTY, FL_FACE_ID_EYE_LEFTY_MASK, FL_FACE_ID_EYE_RIGHTX, FL_FACE_ID_EYE_RIGHTX_MASK, FL_FACE_ID_EYE_RIGHTY, FL_FACE_ID_EYE_RIGHTY_MASK, FL_FACE_ID_FACE_HEIGHT, FL_FACE_ID_FACE_HEIGHT_MASK, FL_FACE_ID_FACE_LEFT, FL_FACE_ID_FACE_LEFT_MASK, FL_FACE_ID_FACE_TOP, FL_FACE_ID_FACE_TOP_MASK, FL_FACE_ID_FACE_WIDTH, FL_FACE_ID_FACE_WIDTH_MASK, FL_FACE_ID_FEATURE_MD5, FL_FACE_ID_FEATURE_MD5_MASK, FL_FACE_ID_ID, FL_FACE_ID_ID_MASK, FL_FACE_ID_IMAGE_MD5, FL_FACE_ID_IMAGE_MD5_MASK, FL_FACE_ID_MOUTH_X, FL_FACE_ID_MOUTH_X_MASK, FL_FACE_ID_MOUTH_Y, FL_FACE_ID_MOUTH_Y_MASK, FL_FACE_ID_NOSE_X, FL_FACE_ID_NOSE_X_MASK, FL_FACE_ID_NOSE_Y, FL_FACE_ID_NOSE_Y_MASK, FL_FACE_IK_FL_LOG_COMPARE_FACE, FL_FACE_INDEX_FEATURE_MD5, FL_FACE_INDEX_IMAGE_MD5, FL_FACE_JAVA_FIELDS, FL_FACE_JAVA_FIELDS_LIST, FL_FACE_PK_COUNT, FL_FEATURE_COLUMN_COUNT, FL_FEATURE_FIELD_TYPES, FL_FEATURE_FIELDS, FL_FEATURE_FIELDS_LIST, FL_FEATURE_FK_PERSON_ID, FL_FEATURE_FULL_FIELDS, FL_FEATURE_ID_FEATURE, FL_FEATURE_ID_FEATURE_MASK, FL_FEATURE_ID_MD5, FL_FEATURE_ID_MD5_MASK, FL_FEATURE_ID_PERSON_ID, FL_FEATURE_ID_PERSON_ID_MASK, FL_FEATURE_ID_UPDATE_TIME, FL_FEATURE_ID_UPDATE_TIME_MASK, FL_FEATURE_ID_VERSION, FL_FEATURE_ID_VERSION_MASK, FL_FEATURE_IK_FL_FACE_FEATURE_MD5, FL_FEATURE_IK_FL_LOG_VERIFY_FEATURE, FL_FEATURE_INDEX_PERSON_ID, FL_FEATURE_INDEX_VERSION, FL_FEATURE_JAVA_FIELDS, FL_FEATURE_JAVA_FIELDS_LIST, FL_FEATURE_PK_COUNT, FL_IMAGE_COLUMN_COUNT, FL_IMAGE_FIELD_TYPES, FL_IMAGE_FIELDS, FL_IMAGE_FIELDS_LIST, FL_IMAGE_FK_DEVICE_ID, FL_IMAGE_FULL_FIELDS, FL_IMAGE_ID_DEPTH, FL_IMAGE_ID_DEPTH_MASK, FL_IMAGE_ID_DEVICE_ID, FL_IMAGE_ID_DEVICE_ID_MASK, FL_IMAGE_ID_FACE_NUM, FL_IMAGE_ID_FACE_NUM_MASK, FL_IMAGE_ID_FORMAT, FL_IMAGE_ID_FORMAT_MASK, FL_IMAGE_ID_HEIGHT, FL_IMAGE_ID_HEIGHT_MASK, FL_IMAGE_ID_MD5, FL_IMAGE_ID_MD5_MASK, FL_IMAGE_ID_THUMB_MD5, FL_IMAGE_ID_THUMB_MD5_MASK, FL_IMAGE_ID_WIDTH, FL_IMAGE_ID_WIDTH_MASK, FL_IMAGE_IK_FL_FACE_IMAGE_MD5, FL_IMAGE_IK_FL_PERSON_IMAGE_MD5, FL_IMAGE_INDEX_DEVICE_ID, FL_IMAGE_JAVA_FIELDS, FL_IMAGE_JAVA_FIELDS_LIST, FL_IMAGE_PK_COUNT, FL_LOG_COLUMN_COUNT, FL_LOG_FIELD_TYPES, FL_LOG_FIELDS, FL_LOG_FIELDS_LIST, FL_LOG_FK_COMPARE_FACE, FL_LOG_FK_DEVICE_ID, FL_LOG_FK_PERSON_ID, FL_LOG_FK_VERIFY_FEATURE, FL_LOG_FULL_FIELDS, FL_LOG_ID_COMPARE_FACE, FL_LOG_ID_COMPARE_FACE_MASK, FL_LOG_ID_CREATE_TIME, FL_LOG_ID_CREATE_TIME_MASK, FL_LOG_ID_DEVICE_ID, FL_LOG_ID_DEVICE_ID_MASK, FL_LOG_ID_DIRECTION, FL_LOG_ID_DIRECTION_MASK, FL_LOG_ID_ID, FL_LOG_ID_ID_MASK, FL_LOG_ID_PERSON_ID, FL_LOG_ID_PERSON_ID_MASK, FL_LOG_ID_SIMILARTY, FL_LOG_ID_SIMILARTY_MASK, FL_LOG_ID_VERIFY_FEATURE, FL_LOG_ID_VERIFY_FEATURE_MASK, FL_LOG_ID_VERIFY_STATUS, FL_LOG_ID_VERIFY_STATUS_MASK, FL_LOG_ID_VERIFY_TIME, FL_LOG_ID_VERIFY_TIME_MASK, FL_LOG_INDEX_COMPARE_FACE, FL_LOG_INDEX_DEVICE_ID, FL_LOG_INDEX_PERSON_ID, FL_LOG_INDEX_VERIFY_FEATURE, FL_LOG_JAVA_FIELDS, FL_LOG_JAVA_FIELDS_LIST, FL_LOG_LIGHT_COLUMN_COUNT, FL_LOG_LIGHT_FIELD_TYPES, FL_LOG_LIGHT_FIELDS, FL_LOG_LIGHT_FIELDS_LIST, FL_LOG_LIGHT_FULL_FIELDS, FL_LOG_LIGHT_ID_DIRECTION, FL_LOG_LIGHT_ID_DIRECTION_MASK, FL_LOG_LIGHT_ID_ID, FL_LOG_LIGHT_ID_ID_MASK, FL_LOG_LIGHT_ID_NAME, FL_LOG_LIGHT_ID_NAME_MASK, FL_LOG_LIGHT_ID_PAPERS_NUM, FL_LOG_LIGHT_ID_PAPERS_NUM_MASK, FL_LOG_LIGHT_ID_PAPERS_TYPE, FL_LOG_LIGHT_ID_PAPERS_TYPE_MASK, FL_LOG_LIGHT_ID_PERSON_ID, FL_LOG_LIGHT_ID_PERSON_ID_MASK, FL_LOG_LIGHT_ID_VERIFY_TIME, FL_LOG_LIGHT_ID_VERIFY_TIME_MASK, FL_LOG_LIGHT_JAVA_FIELDS, FL_LOG_LIGHT_JAVA_FIELDS_LIST, FL_LOG_LIGHT_PK_COUNT, FL_LOG_PK_COUNT, FL_PERMIT_COLUMN_COUNT, FL_PERMIT_FIELD_TYPES, FL_PERMIT_FIELDS, FL_PERMIT_FIELDS_LIST, FL_PERMIT_FK_DEVICE_GROUP_ID, FL_PERMIT_FK_PERSON_GROUP_ID, FL_PERMIT_FULL_FIELDS, FL_PERMIT_ID_CREATE_TIME, FL_PERMIT_ID_CREATE_TIME_MASK, FL_PERMIT_ID_DEVICE_GROUP_ID, FL_PERMIT_ID_DEVICE_GROUP_ID_MASK, FL_PERMIT_ID_EXT_BIN, FL_PERMIT_ID_EXT_BIN_MASK, FL_PERMIT_ID_EXT_TXT, FL_PERMIT_ID_EXT_TXT_MASK, FL_PERMIT_ID_PASS_LIMIT, FL_PERMIT_ID_PASS_LIMIT_MASK, FL_PERMIT_ID_PERSON_GROUP_ID, FL_PERMIT_ID_PERSON_GROUP_ID_MASK, FL_PERMIT_ID_REMARK, FL_PERMIT_ID_REMARK_MASK, FL_PERMIT_ID_SCHEDULE, FL_PERMIT_ID_SCHEDULE_MASK, FL_PERMIT_JAVA_FIELDS, FL_PERMIT_JAVA_FIELDS_LIST, FL_PERMIT_PK_COUNT, FL_PERSON_COLUMN_COUNT, FL_PERSON_FIELD_TYPES, FL_PERSON_FIELDS, FL_PERSON_FIELDS_LIST, FL_PERSON_FK_GROUP_ID, FL_PERSON_FK_IMAGE_MD5, FL_PERSON_FULL_FIELDS, FL_PERSON_GROUP_COLUMN_COUNT, FL_PERSON_GROUP_FIELD_TYPES, FL_PERSON_GROUP_FIELDS, FL_PERSON_GROUP_FIELDS_LIST, FL_PERSON_GROUP_FK_PARENT, FL_PERSON_GROUP_FULL_FIELDS, FL_PERSON_GROUP_ID_CREATE_TIME, FL_PERSON_GROUP_ID_CREATE_TIME_MASK, FL_PERSON_GROUP_ID_EXT_BIN, FL_PERSON_GROUP_ID_EXT_BIN_MASK, FL_PERSON_GROUP_ID_EXT_TXT, FL_PERSON_GROUP_ID_EXT_TXT_MASK, FL_PERSON_GROUP_ID_ID, FL_PERSON_GROUP_ID_ID_MASK, FL_PERSON_GROUP_ID_LEAF, FL_PERSON_GROUP_ID_LEAF_MASK, FL_PERSON_GROUP_ID_NAME, FL_PERSON_GROUP_ID_NAME_MASK, FL_PERSON_GROUP_ID_PARENT, FL_PERSON_GROUP_ID_PARENT_MASK, FL_PERSON_GROUP_ID_REMARK, FL_PERSON_GROUP_ID_REMARK_MASK, FL_PERSON_GROUP_ID_ROOT_GROUP, FL_PERSON_GROUP_ID_ROOT_GROUP_MASK, FL_PERSON_GROUP_ID_UPDATE_TIME, FL_PERSON_GROUP_ID_UPDATE_TIME_MASK, FL_PERSON_GROUP_IK_FL_PERMIT_PERSON_GROUP_ID, FL_PERSON_GROUP_IK_FL_PERSON_GROUP_ID, FL_PERSON_GROUP_IK_FL_PERSON_GROUP_PARENT, FL_PERSON_GROUP_INDEX_PARENT, FL_PERSON_GROUP_JAVA_FIELDS, FL_PERSON_GROUP_JAVA_FIELDS_LIST, FL_PERSON_GROUP_PK_COUNT, FL_PERSON_ID_ACTIVATED_DATE, FL_PERSON_ID_ACTIVATED_DATE_MASK, FL_PERSON_ID_BIRTHDATE, FL_PERSON_ID_BIRTHDATE_MASK, FL_PERSON_ID_CREATE_TIME, FL_PERSON_ID_CREATE_TIME_MASK, FL_PERSON_ID_EXPIRY_DATE, FL_PERSON_ID_EXPIRY_DATE_MASK, FL_PERSON_ID_EXT_BIN, FL_PERSON_ID_EXT_BIN_MASK, FL_PERSON_ID_EXT_TXT, FL_PERSON_ID_EXT_TXT_MASK, FL_PERSON_ID_GROUP_ID, FL_PERSON_ID_GROUP_ID_MASK, FL_PERSON_ID_ID, FL_PERSON_ID_ID_MASK, FL_PERSON_ID_IMAGE_MD5, FL_PERSON_ID_IMAGE_MD5_MASK, FL_PERSON_ID_MOBILE_PHONE, FL_PERSON_ID_MOBILE_PHONE_MASK, FL_PERSON_ID_NAME, FL_PERSON_ID_NAME_MASK, FL_PERSON_ID_PAPERS_NUM, FL_PERSON_ID_PAPERS_NUM_MASK, FL_PERSON_ID_PAPERS_TYPE, FL_PERSON_ID_PAPERS_TYPE_MASK, FL_PERSON_ID_PASSWORD, FL_PERSON_ID_PASSWORD_MASK, FL_PERSON_ID_RANK, FL_PERSON_ID_RANK_MASK, FL_PERSON_ID_REMARK, FL_PERSON_ID_REMARK_MASK, FL_PERSON_ID_SEX, FL_PERSON_ID_SEX_MASK, FL_PERSON_ID_UPDATE_TIME, FL_PERSON_ID_UPDATE_TIME_MASK, FL_PERSON_IK_FL_FEATURE_PERSON_ID, FL_PERSON_IK_FL_LOG_PERSON_ID, FL_PERSON_INDEX_EXPIRY_DATE, FL_PERSON_INDEX_GROUP_ID, FL_PERSON_INDEX_IMAGE_MD5, FL_PERSON_INDEX_MOBILE_PHONE, FL_PERSON_INDEX_PAPERS_NUM, FL_PERSON_JAVA_FIELDS, FL_PERSON_JAVA_FIELDS_LIST, FL_PERSON_PK_COUNT, FL_STORE_COLUMN_COUNT, FL_STORE_FIELD_TYPES, FL_STORE_FIELDS, FL_STORE_FIELDS_LIST, FL_STORE_FULL_FIELDS, FL_STORE_ID_DATA, FL_STORE_ID_DATA_MASK, FL_STORE_ID_ENCODING, FL_STORE_ID_ENCODING_MASK, FL_STORE_ID_MD5, FL_STORE_ID_MD5_MASK, FL_STORE_JAVA_FIELDS, FL_STORE_JAVA_FIELDS_LIST, FL_STORE_PK_COUNT, SEARCH_ENDING_LIKE, SEARCH_EXACT, SEARCH_LIKE, SEARCH_STARTING_LIKE, SQL_LIKE_WILDCARD, STATE_BIT_MASK, STATE_BIT_NUM, STATE_BIT_SHIFT| 限定符和类型 | 方法和说明 |
|---|---|
B |
checkDuplicate(B bean)
Check duplicated row by primary keys,if row exists throw exception
|
int |
columnIDOf(java.lang.String column) |
int |
countAll()
Retrieves the number of rows of the table.
|
int |
countUsingTemplate(B bean)
count the number of elements of a specific bean
|
int |
countUsingTemplate(B bean,
int searchType)
count the number of elements of a specific bean given the search type
|
int |
countWhere(java.lang.String where)
Retrieves the number of rows of the table with a 'where' clause.
|
int |
delete(B bean)
Delete row according to primary keys of bean.
|
int |
deleteAll()
Deletes all rows from table.
|
int |
deleteByIndex(int keyIndex,
java.lang.Object... keys)
Deletes rows using key.
|
int |
deleteByPrimaryKey(java.lang.Object... keys)
Delete row according to its primary keys.
|
int |
deleteByWhere(java.lang.String where)
Deletes rows from the table using a 'where' clause.
|
int |
deleteUsingTemplate(B bean)
Deletes rows using a template.
|
boolean |
existsByPrimaryKey(B bean)
Returns true if this table contains row specified by primary key fields of B.
|
boolean |
existsPrimaryKey(java.lang.Object... keys)
Returns true if this table contains row with primary key fields.
|
void |
fire(int event,
B bean)
see also #fire(TableListener.Event, B)
|
void |
fire(TableListener.Event event,
B bean)
|
java.lang.String |
getFields()
return the all of filed names
|
java.lang.String |
getFullFields()
return the all of full filed names
|
<T extends BaseBean<T>> |
getImportedBeans(B bean,
int ikIndex)
Retrieves imported T objects by fkIndex.
|
<T extends BaseBean<T>> |
getImportedBeansAsList(B bean,
int ikIndex)
Retrieves imported T objects by ikIndex.
|
java.lang.String[] |
getPrimarykeyNames()
return all of primary key names
|
<T extends BaseBean<T>> |
getReferencedBean(B bean,
int fkIndex)
Retrieves the T object referenced by fkName.
|
java.lang.String |
getTableName()
return the table name
|
boolean |
isPrimaryKey(java.lang.String column)
return true if @{code column}(case insensitive)is primary key,otherwise return false
return false if @{code column} is null or empty |
B[] |
loadAll()
Loads all the rows from table.
|
B[] |
loadAll(int startRow,
int numRows)
Loads the given number of rows from table, given the start row.
|
int |
loadAll(int startRow,
int numRows,
TableManager.Action<B> action)
Loads the given number of rows from table, given the start row and dealt with action.
|
int |
loadAll(TableManager.Action<B> action)
Loads each row from table and dealt with action.
|
java.util.List<B> |
loadAllAsList()
Loads all the rows from table.
|
java.util.List<B> |
loadAllAsList(int startRow,
int numRows)
Loads the given number of rows from table, given the start row.
|
B[] |
loadByIndex(int keyIndex,
java.lang.Object... keys)
Retrieves a array of B bean using the index specified by keyIndex.
|
java.util.List<B> |
loadByIndexAsList(int keyIndex,
java.lang.Object... keys)
Retrieves a list of B bean using the index specified by keyIndex.
|
B |
loadByPrimaryKey(B bean)
Loads a B bean from the table using primary key fields of
bean. |
B |
loadByPrimaryKey(java.lang.Object... keys)
Loads a B bean from the table using primary key fields.
|
B |
loadByPrimaryKeyChecked(B bean)
see also
loadByPrimaryKey(BaseBean) |
B |
loadByPrimaryKeyChecked(java.lang.Object... keys)
see also
loadByPrimaryKey(Object...) |
B[] |
loadBySql(java.lang.String sql,
java.lang.Object[] argList,
int[] fieldList)
Load all the elements using a SQL statement specifying a list of fields to be retrieved.
|
java.util.List<B> |
loadBySqlAsList(java.lang.String sql,
java.lang.Object[] argList,
int[] fieldList)
Load all elements using a SQL statement specifying a list of fields to be retrieved.
|
int |
loadBySqlForAction(java.lang.String sql,
java.lang.Object[] argList,
int[] fieldList,
int startRow,
int numRows,
TableManager.Action<B> action)
Load each the elements using a SQL statement specifying a list of fields to be retrieved and dealt by action.
|
B[] |
loadByWhere(java.lang.String where)
Retrieves an array of B given a sql 'where' clause.
|
B[] |
loadByWhere(java.lang.String where,
int[] fieldList)
Retrieves an array of B bean given a sql where clause, and a list of fields.
|
B[] |
loadByWhere(java.lang.String where,
int[] fieldList,
int startRow,
int numRows)
Retrieves an array of B bean given a sql where clause and a list of fields, and startRow and numRows.
|
int |
loadByWhere(java.lang.String where,
int[] fieldList,
int startRow,
int numRows,
TableManager.Action<B> action)
Retrieves each row of B bean given a sql where clause and a list of fields, and startRow and numRows,
and dealt with action.
|
int |
loadByWhere(java.lang.String where,
int[] fieldList,
TableManager.Action<B> action)
Retrieves each row of B bean given a sql where clause, and a list of fields,
and dealt with action.
|
int |
loadByWhere(java.lang.String where,
TableManager.Action<B> action)
Retrieves each row of B bean given a sql 'where' clause and dealt with action.
|
java.util.List<B> |
loadByWhereAsList(java.lang.String where)
Retrieves a list of B bean given a sql 'where' clause.
|
java.util.List<B> |
loadByWhereAsList(java.lang.String where,
int[] fieldList)
Retrieves a list of B bean given a sql where clause, and a list of fields.
|
java.util.List<B> |
loadByWhereAsList(java.lang.String where,
int[] fieldList,
int startRow,
int numRows)
Retrieves a list of B bean given a sql where clause and a list of fields, and startRow and numRows.
|
int |
loadByWhereForAction(java.lang.String where,
int[] fieldList,
int startRow,
int numRows,
TableManager.Action<B> action)
Retrieves each row of B bean given a sql where clause and a list of fields, and startRow and numRows,
and dealt wity action
It is up to you to pass the 'WHERE' in your where clauses.
|
<T> java.util.List<T> |
loadColumnAsList(java.lang.String column,
boolean distinct,
java.lang.String where,
int startRow,
int numRows)
Load column from table.
|
B |
loadUniqueUsingTemplate(B bean)
Loads a unique B bean from a template one giving a c
|
B |
loadUniqueUsingTemplateChecked(B bean)
Loads a unique B bean from a template one giving a c
|
B[] |
loadUsingTemplate(B bean)
Loads an array of B from a template one.
|
int |
loadUsingTemplate(B bean,
int[] fieldList,
int startRow,
int numRows,
int searchType,
TableManager.Action<B> action)
Loads each row from a template one, given the start row and number of rows and dealt with action.
|
B[] |
loadUsingTemplate(B bean,
int startRow,
int numRows)
Loads an array of B bean from a template one, given the start row and number of rows.
|
B[] |
loadUsingTemplate(B bean,
int startRow,
int numRows,
int searchType)
Loads a list of B bean from a template one, given the start row and number of rows.
|
int |
loadUsingTemplate(B bean,
int startRow,
int numRows,
TableManager.Action<B> action)
Loads each row from a template one, given the start row and number of rows and dealt with action.
|
int |
loadUsingTemplate(B bean,
TableManager.Action<B> action)
Loads each row from a template one and dealt with action.
|
java.util.List<B> |
loadUsingTemplateAsList(B bean)
Loads a list of B bean from a template one.
|
java.util.List<B> |
loadUsingTemplateAsList(B bean,
int startRow,
int numRows)
Loads a list of B bean from a template one, given the start row and number of rows.
|
java.util.List<B> |
loadUsingTemplateAsList(B bean,
int startRow,
int numRows,
int searchType)
Loads an array of B bean from a template one, given the start row and number of rows.
|
TableListener<B> |
registerListener(TableListener<B> listener)
Registers a unique
TableListener listener. |
<T> T |
runAsTransaction(java.util.concurrent.Callable<T> fun)
Run
Callable<T> as a transaction. |
void |
runAsTransaction(java.lang.Runnable fun)
Run
Runnable as a transaction.no return |
B |
save(B bean)
Saves the B bean into the database.
|
B[] |
save(B[] beans)
Saves an array of B bean into the database.
|
B |
save(B bean,
java.lang.Object... args)
Save the B bean and referenced beans and imported beans (array) into the database.
|
<C extends java.util.Collection<B>> |
save(C beans)
Saves a collection of B bean into the database as transaction.
|
B[] |
saveAsTransaction(B[] beans)
Saves an array of B bean into the database as transaction.
|
B |
saveAsTransaction(B bean,
java.lang.Object... args)
Transaction version for sync save
|
<C extends java.util.Collection<B>> |
saveAsTransaction(C beans)
Saves a collection of B bean into the database.
|
B |
saveCollection(B bean,
java.lang.Object... args)
Save the B bean and referenced beans and imported beans (collection) into the database.
|
B |
saveCollectionAsTransaction(B bean,
java.lang.Object... args)
Transaction version for sync save
|
<T extends BaseBean<T>,C extends java.util.Collection<T>> |
setImportedBeans(B bean,
C importedBeans,
int ikIndex)
Set the importedBeans associates to the bean by fkIndex
|
<T extends BaseBean<T>> |
setImportedBeans(B bean,
T[] importedBeans,
int ikIndex)
Set the importedBeans associates to the bean by
ikIndex |
<T extends BaseBean<T>> |
setReferencedBean(B bean,
T beanToSet,
int fkIndex)
Associates the B object to the T object by fkName field.
|
java.lang.Class<?> |
typeOf(int columnId)
return type of column specified by columnId
|
void |
unregisterListener(TableListener<B> listener)
remove listener.
|
java.lang.String getFields()
java.lang.String[] getPrimarykeyNames()
int columnIDOf(java.lang.String column)
column - clomn name or java field name of Bjava.lang.Class<?> typeOf(int columnId)
columnId - column idjava.lang.String getTableName()
java.lang.String getFullFields()
boolean isPrimaryKey(java.lang.String column)
column - int countAll() throws RuntimeDaoException
RuntimeDaoExceptionint countUsingTemplate(B bean) throws RuntimeDaoException
bean - the bean to look for ant countRuntimeDaoExceptionint countUsingTemplate(B bean, int searchType) throws RuntimeDaoException
bean - the template to look forsearchType - exact ? like ? starting like ? ending link ? Constant.SEARCH_EXACT Constant.SEARCH_LIKE Constant.SEARCH_STARTING_LIKE Constant.SEARCH_ENDING_LIKE RuntimeDaoExceptionint countWhere(java.lang.String where) throws RuntimeDaoException
where - the restriction clauseRuntimeDaoExceptionint deleteAll() throws RuntimeDaoException
RuntimeDaoExceptionint deleteByWhere(java.lang.String where) throws RuntimeDaoException
where - the sql 'where' clauseRuntimeDaoExceptionint deleteUsingTemplate(B bean) throws RuntimeDaoException
bean - the template object(s) to be deletedRuntimeDaoExceptionint deleteByPrimaryKey(java.lang.Object... keys) throws RuntimeDaoException
keys - primary keys valueRuntimeDaoExceptionint delete(B bean) throws RuntimeDaoException
bean - will be deleted ,all keys must not be nullRuntimeDaoExceptionB[] loadAll() throws RuntimeDaoException
RuntimeDaoExceptionint loadAll(TableManager.Action<B> action) throws RuntimeDaoException
action - Action object for do something(not null)RuntimeDaoExceptionB[] loadAll(int startRow, int numRows) throws RuntimeDaoException
startRow - the start row to be used (first row = 1, last row = -1)numRows - the number of rows to be retrieved (all rows = a negative number)RuntimeDaoExceptionint loadAll(int startRow, int numRows, TableManager.Action<B> action) throws RuntimeDaoException
startRow - the start row to be used (first row = 1, last row = -1)numRows - the number of rows to be retrieved (all rows = a negative number)action - Action object for do something(not null)RuntimeDaoExceptionjava.util.List<B> loadAllAsList() throws RuntimeDaoException
RuntimeDaoExceptionjava.util.List<B> loadAllAsList(int startRow, int numRows) throws RuntimeDaoException
startRow - the start row to be used (first row = 1, last row = -1)numRows - the number of rows to be retrieved (all rows = a negative number)RuntimeDaoExceptionB loadByPrimaryKey(B bean) throws RuntimeDaoException
bean.bean - the B bean with primary key fieldsnull if not found or bean is nullRuntimeDaoExceptionB loadByPrimaryKeyChecked(B bean) throws RuntimeDaoException, ObjectRetrievalException
loadByPrimaryKey(BaseBean)bean - ObjectRetrievalException - not foundRuntimeDaoExceptionB loadByPrimaryKey(java.lang.Object... keys) throws RuntimeDaoException
keys - primary keys value:null if not foundRuntimeDaoExceptionB loadByPrimaryKeyChecked(java.lang.Object... keys) throws RuntimeDaoException, ObjectRetrievalException
loadByPrimaryKey(Object...)keys - ObjectRetrievalException - not foundRuntimeDaoExceptionboolean existsPrimaryKey(java.lang.Object... keys) throws RuntimeDaoException
keys - primary keys valueRuntimeDaoExceptionloadByPrimaryKey(Object...)boolean existsByPrimaryKey(B bean) throws RuntimeDaoException
bean - the B bean with primary key fieldsRuntimeDaoExceptionloadByPrimaryKey(BaseBean)B checkDuplicate(B bean) throws RuntimeDaoException, ObjectRetrievalException
bean - the B bean with primary key fieldsObjectRetrievalException - has duplicated recordRuntimeDaoExceptionexistsByPrimaryKey(BaseBean)B[] loadByWhere(java.lang.String where) throws RuntimeDaoException
where - the sql 'where' clauseRuntimeDaoExceptionint loadByWhere(java.lang.String where, TableManager.Action<B> action) throws RuntimeDaoException
where - the sql 'where' clauseaction - Action object for do something(not null)RuntimeDaoExceptionB[] loadByWhere(java.lang.String where, int[] fieldList) throws RuntimeDaoException
where - the sql 'WHERE' clausefieldList - array of field's IDRuntimeDaoExceptionint loadByWhere(java.lang.String where, int[] fieldList, TableManager.Action<B> action) throws RuntimeDaoException
where - the sql 'WHERE' clausefieldList - array of field's IDaction - Action object for do something(not null)RuntimeDaoExceptionB[] loadByWhere(java.lang.String where, int[] fieldList, int startRow, int numRows) throws RuntimeDaoException
where - the sql 'where' clausefieldList - table of the field's associated constantsstartRow - the start row to be used (first row = 1, last row = -1)numRows - the number of rows to be retrieved (all rows = a negative number)RuntimeDaoExceptionint loadByWhere(java.lang.String where, int[] fieldList, int startRow, int numRows, TableManager.Action<B> action) throws RuntimeDaoException
where - the sql 'where' clausefieldList - table of the field's associated constantsstartRow - the start row to be used (first row = 1, last row = -1)numRows - the number of rows to be retrieved (all rows = a negative number)action - Action object for do something(not null)RuntimeDaoExceptionjava.util.List<B> loadByWhereAsList(java.lang.String where) throws RuntimeDaoException
where - the sql 'where' clauseRuntimeDaoExceptionjava.util.List<B> loadByWhereAsList(java.lang.String where, int[] fieldList) throws RuntimeDaoException
where - the sql 'WHERE' clausefieldList - array of field's IDRuntimeDaoExceptionjava.util.List<B> loadByWhereAsList(java.lang.String where, int[] fieldList, int startRow, int numRows) throws RuntimeDaoException
where - the sql 'where' clausefieldList - table of the field's associated constantsstartRow - the start row to be used (first row = 1, last row = -1)numRows - the number of rows to be retrieved (all rows = a negative number)RuntimeDaoExceptionint loadByWhereForAction(java.lang.String where, int[] fieldList, int startRow, int numRows, TableManager.Action<B> action) throws RuntimeDaoException
where - the sql 'where' clausefieldList - table of the field's associated constantsstartRow - the start row to be used (first row = 1, last row = -1)numRows - the number of rows to be retrieved (all rows = a negative number)action - Action object for do something(not null)RuntimeDaoExceptionB loadUniqueUsingTemplate(B bean) throws RuntimeDaoException
bean - the B bean to look fornull if not found or null input argumentObjectRetrievalException - more than one rowRuntimeDaoExceptionB loadUniqueUsingTemplateChecked(B bean) throws RuntimeDaoException, ObjectRetrievalException
bean - the B bean to look forObjectRetrievalException - not found or more than one rowRuntimeDaoExceptionB[] loadUsingTemplate(B bean) throws RuntimeDaoException
bean - the B bean template to look forRuntimeDaoExceptionint loadUsingTemplate(B bean, TableManager.Action<B> action) throws RuntimeDaoException
bean - the B bean template to look foraction - Action object for do something(not null)RuntimeDaoExceptionB[] loadUsingTemplate(B bean, int startRow, int numRows) throws RuntimeDaoException
bean - the B bean template to look forstartRow - the start row to be used (first row = 1, last row=-1)numRows - the number of rows to be retrieved (all rows = a negative number)RuntimeDaoExceptionint loadUsingTemplate(B bean, int startRow, int numRows, TableManager.Action<B> action) throws RuntimeDaoException
bean - the B bean template to look forstartRow - the start row to be used (first row = 1, last row=-1)numRows - the number of rows to be retrieved (all rows = a negative number)action - Action object for do something(not null)RuntimeDaoExceptionint loadUsingTemplate(B bean, int[] fieldList, int startRow, int numRows, int searchType, TableManager.Action<B> action) throws RuntimeDaoException
bean - the B template to look forfieldList - table of the field's associated constantsstartRow - the start row to be used (first row = 1, last row=-1)numRows - the number of rows to be retrieved (all rows = a negative number)searchType - exact ? like ? starting like ? ending link ? Constant.SEARCH_EXACT Constant.SEARCH_LIKE Constant.SEARCH_STARTING_LIKE Constant.SEARCH_ENDING_LIKE action - Action object for do something(not null)RuntimeDaoExceptionB[] loadUsingTemplate(B bean, int startRow, int numRows, int searchType) throws RuntimeDaoException
bean - the B bean template to look forstartRow - the start row to be used (first row = 1, last row=-1)numRows - the number of rows to be retrieved (all rows = a negative number)searchType - exact ? like ? starting like ? ending link ? Constant.SEARCH_EXACT Constant.SEARCH_LIKE Constant.SEARCH_STARTING_LIKE Constant.SEARCH_ENDING_LIKE RuntimeDaoExceptionjava.util.List<B> loadUsingTemplateAsList(B bean) throws RuntimeDaoException
bean - the B bean template to look forRuntimeDaoExceptionjava.util.List<B> loadUsingTemplateAsList(B bean, int startRow, int numRows) throws RuntimeDaoException
bean - the B bean template to look forstartRow - the start row to be used (first row = 1, last row=-1)numRows - the number of rows to be retrieved (all rows = a negative number)RuntimeDaoExceptionjava.util.List<B> loadUsingTemplateAsList(B bean, int startRow, int numRows, int searchType) throws RuntimeDaoException
bean - the B bean template to look forstartRow - the start row to be used (first row = 1, last row=-1)numRows - the number of rows to be retrieved (all rows = a negative number)searchType - exact ? like ? starting like ? ending link? Constant.SEARCH_EXACT Constant.SEARCH_LIKE Constant.SEARCH_STARTING_LIKE Constant.SEARCH_ENDING_LIKE RuntimeDaoExceptionB[] loadByIndex(int keyIndex, java.lang.Object... keys) throws RuntimeDaoException
keyIndex - valid values:see also #loadByIndexAsList(int,Object ...)keys - key values of indexRuntimeDaoException#loadByIndexAsList(int ,Object ...)java.util.List<B> loadByIndexAsList(int keyIndex, java.lang.Object... keys) throws RuntimeDaoException
keyIndex - valid values: Constant.FL_DEVICE_INDEX_MAC,Constant.FL_DEVICE_INDEX_SERIAL_NO,Constant.FL_DEVICE_INDEX_GROUP_IDConstant.FL_DEVICE_GROUP_INDEX_PARENTConstant.FL_FACE_INDEX_FEATURE_MD5,Constant.FL_FACE_INDEX_IMAGE_MD5Constant.FL_FEATURE_INDEX_VERSION,Constant.FL_FEATURE_INDEX_PERSON_IDConstant.FL_IMAGE_INDEX_DEVICE_IDConstant.FL_LOG_INDEX_COMPARE_FACE,Constant.FL_LOG_INDEX_DEVICE_ID,Constant.FL_LOG_INDEX_PERSON_ID,Constant.FL_LOG_INDEX_VERIFY_FEATUREConstant.FL_PERSON_INDEX_IMAGE_MD5,Constant.FL_PERSON_INDEX_MOBILE_PHONE,Constant.FL_PERSON_INDEX_PAPERS_NUM,Constant.FL_PERSON_INDEX_EXPIRY_DATE,Constant.FL_PERSON_INDEX_GROUP_IDConstant.FL_PERSON_GROUP_INDEX_PARENTkeys - key values of indexRuntimeDaoExceptionint deleteByIndex(int keyIndex, java.lang.Object... keys) throws RuntimeDaoException
keyIndex - valid values: see also #loadByIndexAsList(int,Object ...)keys - key values of indexRuntimeDaoExceptionTableListener<B> registerListener(TableListener<B> listener)
listener - void unregisterListener(TableListener<B> listener)
listener - void fire(TableListener.Event event, B bean) throws RuntimeDaoException
event - bean - RuntimeDaoExceptionvoid fire(int event, B bean) throws RuntimeDaoException
event - bean - java.lang.IllegalArgumentException - invalid event idRuntimeDaoExceptionB save(B bean) throws RuntimeDaoException
bean - the B bean to be savedRuntimeDaoExceptionB[] save(B[] beans) throws RuntimeDaoException
beans - the array of B bean to be savedRuntimeDaoException<C extends java.util.Collection<B>> C saveAsTransaction(C beans) throws RuntimeDaoException
beans - the B bean table to be savedRuntimeDaoExceptionB[] saveAsTransaction(B[] beans) throws RuntimeDaoException
beans - the B bean table to be savedRuntimeDaoExceptionsave(BaseBean[])<C extends java.util.Collection<B>> C save(C beans) throws RuntimeDaoException
beans - the B bean table to be savedRuntimeDaoExceptionB save(B bean, java.lang.Object... args) throws RuntimeDaoException
bean - the B bean to be savedargs - referenced beans or imported beans,for each table,each argument's type is different:DeviceGroupBean ImageBean[] LogBean[]DeviceGroupBean DeviceBean[] DeviceGroupBean[] PermitBean[]FeatureBean ImageBean LogBean[]PersonBean FaceBean[] LogBean[]DeviceBean FaceBean[] PersonBean[]DeviceBean FaceBean FeatureBean PersonBeanDeviceGroupBean PersonGroupBeanImageBean PersonGroupBean FeatureBean[] LogBean[]PersonGroupBean PermitBean[] PersonBean[] PersonGroupBean[]RuntimeDaoExceptionB saveCollection(B bean, java.lang.Object... args) throws RuntimeDaoException
bean - the B bean to be savedargs - referenced beans or imported beans,for each table,each argument's type is different:DeviceGroupBean Collection<ImageBean> Collection<LogBean>DeviceGroupBean Collection<DeviceBean> Collection<DeviceGroupBean> Collection<PermitBean>FeatureBean ImageBean Collection<LogBean>PersonBean Collection<FaceBean> Collection<LogBean>DeviceBean Collection<FaceBean> Collection<PersonBean>DeviceBean FaceBean FeatureBean PersonBeanDeviceGroupBean PersonGroupBeanImageBean PersonGroupBean Collection<FeatureBean> Collection<LogBean>PersonGroupBean Collection<PermitBean> Collection<PersonBean> Collection<PersonGroupBean>RuntimeDaoExceptionB saveAsTransaction(B bean, java.lang.Object... args) throws RuntimeDaoException
bean - the B bean to be savedargs - referenced beans or imported beansRuntimeDaoException#save(BaseBean ,Object ...)B saveCollectionAsTransaction(B bean, java.lang.Object... args) throws RuntimeDaoException
bean - the B bean to be savedargs - referenced beans or imported beansRuntimeDaoException#saveCollection(BaseBean ,Object ...)B[] loadBySql(java.lang.String sql, java.lang.Object[] argList, int[] fieldList) throws RuntimeDaoException
sql - the SQL statement for retrievingargList - the arguments to use fill given prepared statement,may be nullfieldList - table of the field's associated constantsRuntimeDaoExceptionjava.util.List<B> loadBySqlAsList(java.lang.String sql, java.lang.Object[] argList, int[] fieldList) throws RuntimeDaoException
sql - the SQL statement for retrievingargList - the arguments to use fill given prepared statement,may be nullfieldList - table of the field's associated constantsRuntimeDaoException<T> java.util.List<T> loadColumnAsList(java.lang.String column, boolean distinct, java.lang.String where, int startRow, int numRows) throws RuntimeDaoException
column - column name or java file name of Bdistinct - select distinct valueswhere - the sql 'where' clausestartRow - the start row to be used (first row = 1, last row = -1)numRows - the number of rows to be retrieved (all rows = a negative number)RuntimeDaoExceptionint loadBySqlForAction(java.lang.String sql, java.lang.Object[] argList, int[] fieldList, int startRow, int numRows, TableManager.Action<B> action) throws RuntimeDaoException
sql - the SQL statement for retrievingargList - the arguments to use fill given prepared statement,may be nullfieldList - table of the field's associated constantsstartRow - the start row to be used (first row = 1, last row = -1)numRows - the number of rows to be retrieved (all rows = a negative number)action - Action object for do something(not null)RuntimeDaoException<T> T runAsTransaction(java.util.concurrent.Callable<T> fun) throws RuntimeDaoException
Callable<T> as a transaction.SQLException threw by Callable<T> is warpped into RuntimeExceptionNullPointerException if fun be nullT - type of return resultfun - RuntimeDaoExceptionvoid runAsTransaction(java.lang.Runnable fun) throws RuntimeDaoException
Runnable as a transaction.no returnfun - RuntimeDaoExceptionrunAsTransaction(Runnable)<T extends BaseBean<T>> T getReferencedBean(B bean, int fkIndex) throws RuntimeDaoException
T - Constant.FL_DEVICE_FK_GROUP_ID - DeviceGroupBeanConstant.FL_DEVICE_GROUP_FK_PARENT - DeviceGroupBeanConstant.FL_FACE_FK_FEATURE_MD5 - FeatureBeanConstant.FL_FACE_FK_IMAGE_MD5 - ImageBeanConstant.FL_FEATURE_FK_PERSON_ID - PersonBeanConstant.FL_IMAGE_FK_DEVICE_ID - DeviceBeanConstant.FL_LOG_FK_DEVICE_ID - DeviceBeanConstant.FL_LOG_FK_COMPARE_FACE - FaceBeanConstant.FL_LOG_FK_VERIFY_FEATURE - FeatureBeanConstant.FL_LOG_FK_PERSON_ID - PersonBeanConstant.FL_PERMIT_FK_DEVICE_GROUP_ID - DeviceGroupBeanConstant.FL_PERMIT_FK_PERSON_GROUP_ID - PersonGroupBeanConstant.FL_PERSON_FK_IMAGE_MD5 - ImageBeanConstant.FL_PERSON_FK_GROUP_ID - PersonGroupBeanConstant.FL_PERSON_GROUP_FK_PARENT - PersonGroupBeanbean - the B object to usefkIndex - foreign key name.Constant.FL_DEVICE_FK_GROUP_IDConstant.FL_DEVICE_GROUP_FK_PARENTConstant.FL_FACE_FK_FEATURE_MD5,Constant.FL_FACE_FK_IMAGE_MD5Constant.FL_FEATURE_FK_PERSON_IDConstant.FL_IMAGE_FK_DEVICE_IDConstant.FL_LOG_FK_DEVICE_ID,Constant.FL_LOG_FK_COMPARE_FACE,Constant.FL_LOG_FK_VERIFY_FEATURE,Constant.FL_LOG_FK_PERSON_IDConstant.FL_PERMIT_FK_DEVICE_GROUP_ID,Constant.FL_PERMIT_FK_PERSON_GROUP_IDConstant.FL_PERSON_FK_IMAGE_MD5,Constant.FL_PERSON_FK_GROUP_IDConstant.FL_PERSON_GROUP_FK_PARENTnull if bean is nullRuntimeDaoException<T extends BaseBean<T>> T setReferencedBean(B bean, T beanToSet, int fkIndex) throws RuntimeDaoException
T - see also getReferencedBean(BaseBean, int)bean - the B object to usebeanToSet - the T object to associate to the B beanfkIndex - see also getReferencedBean(BaseBean, int)RuntimeDaoException<T extends BaseBean<T>> T[] getImportedBeans(B bean, int ikIndex) throws RuntimeDaoException
T - Constant.FL_DEVICE_IK_FL_IMAGE_DEVICE_ID - PersonGroupBeanConstant.FL_DEVICE_IK_FL_LOG_DEVICE_ID - PersonGroupBeanConstant.FL_DEVICE_GROUP_IK_FL_DEVICE_GROUP_ID - PersonGroupBeanConstant.FL_DEVICE_GROUP_IK_FL_DEVICE_GROUP_PARENT - PersonGroupBeanConstant.FL_DEVICE_GROUP_IK_FL_PERMIT_DEVICE_GROUP_ID - PersonGroupBeanConstant.FL_FACE_IK_FL_LOG_COMPARE_FACE - PersonGroupBeanConstant.FL_FEATURE_IK_FL_FACE_FEATURE_MD5 - PersonGroupBeanConstant.FL_FEATURE_IK_FL_LOG_VERIFY_FEATURE - PersonGroupBeanConstant.FL_IMAGE_IK_FL_FACE_IMAGE_MD5 - PersonGroupBeanConstant.FL_IMAGE_IK_FL_PERSON_IMAGE_MD5 - PersonGroupBeanConstant.FL_PERSON_IK_FL_FEATURE_PERSON_ID - PersonGroupBeanConstant.FL_PERSON_IK_FL_LOG_PERSON_ID - PersonGroupBeanConstant.FL_PERSON_GROUP_IK_FL_PERMIT_PERSON_GROUP_ID - PersonGroupBeanConstant.FL_PERSON_GROUP_IK_FL_PERSON_GROUP_ID - PersonGroupBeanConstant.FL_PERSON_GROUP_IK_FL_PERSON_GROUP_PARENT - PersonGroupBeanbean - the B object to useikIndex - foreign key name.Constant.FL_IMAGE_FK_DEVICE_ID,Constant.FL_LOG_FK_DEVICE_IDConstant.FL_DEVICE_FK_GROUP_ID,Constant.FL_DEVICE_GROUP_FK_PARENT,Constant.FL_PERMIT_FK_DEVICE_GROUP_IDConstant.FL_LOG_FK_COMPARE_FACEConstant.FL_FACE_FK_FEATURE_MD5,Constant.FL_LOG_FK_VERIFY_FEATUREConstant.FL_FACE_FK_IMAGE_MD5,Constant.FL_PERSON_FK_IMAGE_MD5Constant.FL_FEATURE_FK_PERSON_ID,Constant.FL_LOG_FK_PERSON_IDConstant.FL_PERMIT_FK_PERSON_GROUP_ID,Constant.FL_PERSON_FK_GROUP_ID,Constant.FL_PERSON_GROUP_FK_PARENTnull if bean is nullRuntimeDaoException<T extends BaseBean<T>> java.util.List<T> getImportedBeansAsList(B bean, int ikIndex) throws RuntimeDaoException
T - see also getImportedBeans(BaseBean, int)bean - the B object to useikIndex - foreign key name.see also getImportedBeans(BaseBean, int)null if bean is nullRuntimeDaoException<T extends BaseBean<T>> T[] setImportedBeans(B bean, T[] importedBeans, int ikIndex) throws RuntimeDaoException
ikIndexT - see also getImportedBeans(BaseBean, int)bean - the bean object to useimportedBeans - the T object to associate to beanikIndex - foreign key name.see also getImportedBeans(BaseBean, int)RuntimeDaoException<T extends BaseBean<T>,C extends java.util.Collection<T>> C setImportedBeans(B bean, C importedBeans, int ikIndex) throws RuntimeDaoException
T - see also getImportedBeans(BaseBean, int)bean - the bean object to useimportedBeans - the T object to associate to beanikIndex - foreign key name. see also getImportedBeans(BaseBean, int)RuntimeDaoExceptionCopyright © 2019. All Rights Reserved.