All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.gdface.facelog.db.IPersonManager Maven / Gradle / Ivy

There is a newer version: 5.3.0
Show newest version
// ______________________________________________________
// Generated by sql2java - https://github.com/10km/sql2java 
// JDBC driver used at code generation time: com.mysql.jdbc.Driver
// template: manager.interface.java.vm
// ______________________________________________________
package net.gdface.facelog.db;
import gu.sql2java.TableManager;
import gu.sql2java.exception.ObjectRetrievalException;
import gu.sql2java.exception.RuntimeDaoException;

/**
 * Interface to handle database calls (save, load, count, etc...) for the fl_person table.
* Remarks: 人员基本描述信息 * @author guyadong */ public interface IPersonManager extends TableManager { ////////////////////////////////////// // PRIMARY KEY METHODS ////////////////////////////////////// //1 /** * Loads a {@link PersonBean} from the fl_person using primary key fields. * * @param id Integer - PK# 1 * @return a unique PersonBean or {@code null} if not found * @throws RuntimeDaoException */ public PersonBean loadByPrimaryKey(Integer id)throws RuntimeDaoException; //1.1 /** * Loads a {@link PersonBean} from the fl_person using primary key fields. * * @param id Integer - PK# 1 * @return a unique PersonBean * @throws ObjectRetrievalException if not found * @throws RuntimeDaoException */ public PersonBean loadByPrimaryKeyChecked(Integer id) throws RuntimeDaoException,ObjectRetrievalException; //1.4 /** * check if contains row with primary key fields. * @param id Integer - PK# 1 * @return true if this fl_person contains row with primary key fields. * @throws RuntimeDaoException */ public boolean existsPrimaryKey(Integer id)throws RuntimeDaoException; //1.4.1 /** * Check duplicated row by primary keys,if row exists throw exception * @param id primary keys * @return id * @throws RuntimeDaoException * @throws ObjectRetrievalException */ public Integer checkDuplicate(Integer id)throws RuntimeDaoException,ObjectRetrievalException; //1.8 /** * Loads {@link PersonBean} from the fl_person using primary key fields. * * @param keys primary keys array * @return list of PersonBean * @throws RuntimeDaoException */ public java.util.List loadByPrimaryKey(Integer... keys)throws RuntimeDaoException; //1.9 /** * Loads {@link PersonBean} from the fl_person using primary key fields. * * @param keys primary keys collection * @return list of PersonBean * @throws RuntimeDaoException */ public java.util.List loadByPrimaryKey(java.util.Collection keys)throws RuntimeDaoException; //2 /** * Delete row according to its primary keys.
* all keys must not be null * * @param id Integer - PK# 1 * @return the number of deleted rows * @throws RuntimeDaoException */ public int deleteByPrimaryKey(Integer id)throws RuntimeDaoException; //2.2 /** * Delete rows according to primary key.
* * @param keys primary keys array * @return the number of deleted rows * @throws RuntimeDaoException * @see #delete(gu.sql2java.BaseBean) */ public int deleteByPrimaryKey(Integer... keys)throws RuntimeDaoException; //2.3 /** * Delete rows according to primary key.
* * @param keys primary keys collection * @return the number of deleted rows * @throws RuntimeDaoException * @see #delete(gu.sql2java.BaseBean) */ public int deleteByPrimaryKey(java.util.Collection keys)throws RuntimeDaoException; ////////////////////////////////////// // GET/SET IMPORTED KEY BEAN METHOD ////////////////////////////////////// //3.1 GET IMPORTED /** * Retrieves the {@link ErrorLogBean} object from the fl_error_log.person_id field.
* FK_NAME : fl_error_log_ibfk_1 * @param bean the {@link PersonBean} * @return the associated {@link ErrorLogBean} beans or {@code null} if {@code bean} is {@code null} * @throws RuntimeDaoException */ public ErrorLogBean[] getErrorLogBeansByPersonId(PersonBean bean)throws RuntimeDaoException; //3.1.2 GET IMPORTED /** * Retrieves the {@link ErrorLogBean} object from the fl_error_log.person_id field.
* FK_NAME : fl_error_log_ibfk_1 * @param idOfPerson Integer - PK# 1 * @return the associated {@link ErrorLogBean} beans or {@code null} if {@code bean} is {@code null} * @throws RuntimeDaoException */ public ErrorLogBean[] getErrorLogBeansByPersonId(Integer idOfPerson)throws RuntimeDaoException; //3.2 GET IMPORTED /** * see also #getErrorLogBeansByPersonIdAsList(PersonBean,int,int) * @param bean * @return import bean list * @throws RuntimeDaoException */ public java.util.List getErrorLogBeansByPersonIdAsList(PersonBean bean)throws RuntimeDaoException; //3.2.2 GET IMPORTED /** * Retrieves the {@link ErrorLogBean} object from fl_error_log.person_id field.
* FK_NAME:fl_error_log_ibfk_1 * @param idOfPerson Integer - PK# 1 * @return the associated {@link ErrorLogBean} beans * @throws RuntimeDaoException */ public java.util.List getErrorLogBeansByPersonIdAsList(Integer idOfPerson)throws RuntimeDaoException; //3.2.3 DELETE IMPORTED /** * delete the associated {@link ErrorLogBean} objects from fl_error_log.person_id field.
* FK_NAME:fl_error_log_ibfk_1 * @param idOfPerson Integer - PK# 1 * @return the number of deleted rows * @throws RuntimeDaoException */ public int deleteErrorLogBeansByPersonId(Integer idOfPerson)throws RuntimeDaoException; //3.2.4 GET IMPORTED /** * Retrieves the {@link ErrorLogBean} object from fl_error_log.person_id field.
* FK_NAME:fl_error_log_ibfk_1 * @param bean the {@link PersonBean} * @param startRow the start row to be used (first row = 1, last row=-1) * @param numRows the number of rows to be retrieved (all rows = a negative number) * @return the associated {@link ErrorLogBean} beans or empty list if {@code bean} is {@code null} * @throws RuntimeDaoException */ public java.util.List getErrorLogBeansByPersonIdAsList(PersonBean bean,int startRow,int numRows)throws RuntimeDaoException; //3.3 SET IMPORTED /** * set the {@link ErrorLogBean} object array associate to PersonBean by the fl_error_log.person_id field.
* FK_NAME : fl_error_log_ibfk_1 * @param bean the referenced {@link PersonBean} * @param importedBeans imported beans from fl_error_log * @return importedBeans always * @see IErrorLogManager#setReferencedByPersonId(ErrorLogBean, PersonBean) * @throws RuntimeDaoException */ public ErrorLogBean[] setErrorLogBeansByPersonId(PersonBean bean , ErrorLogBean[] importedBeans)throws RuntimeDaoException; //3.4 SET IMPORTED /** * set the {@link ErrorLogBean} object java.util.Collection associate to PersonBean by the fl_error_log.person_id field.
* FK_NAME:fl_error_log_ibfk_1 * @param bean the referenced {@link PersonBean} * @param importedBeans imported beans from fl_error_log * @return importedBeans always * @see IErrorLogManager#setReferencedByPersonId(ErrorLogBean, PersonBean) * @throws RuntimeDaoException */ public > C setErrorLogBeansByPersonId(PersonBean bean , C importedBeans)throws RuntimeDaoException; //3.1 GET IMPORTED /** * Retrieves the {@link FeatureBean} object from the fl_feature.person_id field.
* FK_NAME : fl_feature_ibfk_1 * @param bean the {@link PersonBean} * @return the associated {@link FeatureBean} beans or {@code null} if {@code bean} is {@code null} * @throws RuntimeDaoException */ public FeatureBean[] getFeatureBeansByPersonId(PersonBean bean)throws RuntimeDaoException; //3.1.2 GET IMPORTED /** * Retrieves the {@link FeatureBean} object from the fl_feature.person_id field.
* FK_NAME : fl_feature_ibfk_1 * @param idOfPerson Integer - PK# 1 * @return the associated {@link FeatureBean} beans or {@code null} if {@code bean} is {@code null} * @throws RuntimeDaoException */ public FeatureBean[] getFeatureBeansByPersonId(Integer idOfPerson)throws RuntimeDaoException; //3.2 GET IMPORTED /** * see also #getFeatureBeansByPersonIdAsList(PersonBean,int,int) * @param bean * @return import bean list * @throws RuntimeDaoException */ public java.util.List getFeatureBeansByPersonIdAsList(PersonBean bean)throws RuntimeDaoException; //3.2.2 GET IMPORTED /** * Retrieves the {@link FeatureBean} object from fl_feature.person_id field.
* FK_NAME:fl_feature_ibfk_1 * @param idOfPerson Integer - PK# 1 * @return the associated {@link FeatureBean} beans * @throws RuntimeDaoException */ public java.util.List getFeatureBeansByPersonIdAsList(Integer idOfPerson)throws RuntimeDaoException; //3.2.3 DELETE IMPORTED /** * delete the associated {@link FeatureBean} objects from fl_feature.person_id field.
* FK_NAME:fl_feature_ibfk_1 * @param idOfPerson Integer - PK# 1 * @return the number of deleted rows * @throws RuntimeDaoException */ public int deleteFeatureBeansByPersonId(Integer idOfPerson)throws RuntimeDaoException; //3.2.4 GET IMPORTED /** * Retrieves the {@link FeatureBean} object from fl_feature.person_id field.
* FK_NAME:fl_feature_ibfk_1 * @param bean the {@link PersonBean} * @param startRow the start row to be used (first row = 1, last row=-1) * @param numRows the number of rows to be retrieved (all rows = a negative number) * @return the associated {@link FeatureBean} beans or empty list if {@code bean} is {@code null} * @throws RuntimeDaoException */ public java.util.List getFeatureBeansByPersonIdAsList(PersonBean bean,int startRow,int numRows)throws RuntimeDaoException; //3.3 SET IMPORTED /** * set the {@link FeatureBean} object array associate to PersonBean by the fl_feature.person_id field.
* FK_NAME : fl_feature_ibfk_1 * @param bean the referenced {@link PersonBean} * @param importedBeans imported beans from fl_feature * @return importedBeans always * @see IFeatureManager#setReferencedByPersonId(FeatureBean, PersonBean) * @throws RuntimeDaoException */ public FeatureBean[] setFeatureBeansByPersonId(PersonBean bean , FeatureBean[] importedBeans)throws RuntimeDaoException; //3.4 SET IMPORTED /** * set the {@link FeatureBean} object java.util.Collection associate to PersonBean by the fl_feature.person_id field.
* FK_NAME:fl_feature_ibfk_1 * @param bean the referenced {@link PersonBean} * @param importedBeans imported beans from fl_feature * @return importedBeans always * @see IFeatureManager#setReferencedByPersonId(FeatureBean, PersonBean) * @throws RuntimeDaoException */ public > C setFeatureBeansByPersonId(PersonBean bean , C importedBeans)throws RuntimeDaoException; //3.1 GET IMPORTED /** * Retrieves the {@link LogBean} object from the fl_log.person_id field.
* FK_NAME : fl_log_ibfk_1 * @param bean the {@link PersonBean} * @return the associated {@link LogBean} beans or {@code null} if {@code bean} is {@code null} * @throws RuntimeDaoException */ public LogBean[] getLogBeansByPersonId(PersonBean bean)throws RuntimeDaoException; //3.1.2 GET IMPORTED /** * Retrieves the {@link LogBean} object from the fl_log.person_id field.
* FK_NAME : fl_log_ibfk_1 * @param idOfPerson Integer - PK# 1 * @return the associated {@link LogBean} beans or {@code null} if {@code bean} is {@code null} * @throws RuntimeDaoException */ public LogBean[] getLogBeansByPersonId(Integer idOfPerson)throws RuntimeDaoException; //3.2 GET IMPORTED /** * see also #getLogBeansByPersonIdAsList(PersonBean,int,int) * @param bean * @return import bean list * @throws RuntimeDaoException */ public java.util.List getLogBeansByPersonIdAsList(PersonBean bean)throws RuntimeDaoException; //3.2.2 GET IMPORTED /** * Retrieves the {@link LogBean} object from fl_log.person_id field.
* FK_NAME:fl_log_ibfk_1 * @param idOfPerson Integer - PK# 1 * @return the associated {@link LogBean} beans * @throws RuntimeDaoException */ public java.util.List getLogBeansByPersonIdAsList(Integer idOfPerson)throws RuntimeDaoException; //3.2.3 DELETE IMPORTED /** * delete the associated {@link LogBean} objects from fl_log.person_id field.
* FK_NAME:fl_log_ibfk_1 * @param idOfPerson Integer - PK# 1 * @return the number of deleted rows * @throws RuntimeDaoException */ public int deleteLogBeansByPersonId(Integer idOfPerson)throws RuntimeDaoException; //3.2.4 GET IMPORTED /** * Retrieves the {@link LogBean} object from fl_log.person_id field.
* FK_NAME:fl_log_ibfk_1 * @param bean the {@link PersonBean} * @param startRow the start row to be used (first row = 1, last row=-1) * @param numRows the number of rows to be retrieved (all rows = a negative number) * @return the associated {@link LogBean} beans or empty list if {@code bean} is {@code null} * @throws RuntimeDaoException */ public java.util.List getLogBeansByPersonIdAsList(PersonBean bean,int startRow,int numRows)throws RuntimeDaoException; //3.3 SET IMPORTED /** * set the {@link LogBean} object array associate to PersonBean by the fl_log.person_id field.
* FK_NAME : fl_log_ibfk_1 * @param bean the referenced {@link PersonBean} * @param importedBeans imported beans from fl_log * @return importedBeans always * @see ILogManager#setReferencedByPersonId(LogBean, PersonBean) * @throws RuntimeDaoException */ public LogBean[] setLogBeansByPersonId(PersonBean bean , LogBean[] importedBeans)throws RuntimeDaoException; //3.4 SET IMPORTED /** * set the {@link LogBean} object java.util.Collection associate to PersonBean by the fl_log.person_id field.
* FK_NAME:fl_log_ibfk_1 * @param bean the referenced {@link PersonBean} * @param importedBeans imported beans from fl_log * @return importedBeans always * @see ILogManager#setReferencedByPersonId(LogBean, PersonBean) * @throws RuntimeDaoException */ public > C setLogBeansByPersonId(PersonBean bean , C importedBeans)throws RuntimeDaoException; //3.5 SYNC SAVE /** * Save the PersonBean bean and referenced beans and imported beans into the database. * * @param bean the {@link PersonBean} bean to be saved * @param refImageByImageMd5 the {@link ImageBean} bean referenced by {@link PersonBean} * @param refPersongroupByGroupId the {@link PersonGroupBean} bean referenced by {@link PersonBean} * @param impErrorlogByPersonId the {@link ErrorLogBean} bean refer to {@link PersonBean} * @param impFeatureByPersonId the {@link FeatureBean} bean refer to {@link PersonBean} * @param impLogByPersonId the {@link LogBean} bean refer to {@link PersonBean} * @return the inserted or updated {@link PersonBean} bean * @throws RuntimeDaoException */ public PersonBean save(PersonBean bean , ImageBean refImageByImageMd5 , PersonGroupBean refPersongroupByGroupId , ErrorLogBean[] impErrorlogByPersonId , FeatureBean[] impFeatureByPersonId , LogBean[] impLogByPersonId )throws RuntimeDaoException; //3.6 SYNC SAVE AS TRANSACTION /** * Transaction version for sync save
* see also {@link #save(PersonBean , ImageBean , PersonGroupBean , ErrorLogBean[] , FeatureBean[] , LogBean[] )} * @param bean the {@link PersonBean} bean to be saved * @param refImageByImageMd5 the {@link ImageBean} bean referenced by {@link PersonBean} * @param refPersongroupByGroupId the {@link PersonGroupBean} bean referenced by {@link PersonBean} * @param impErrorlogByPersonId the {@link ErrorLogBean} bean refer to {@link PersonBean} * @param impFeatureByPersonId the {@link FeatureBean} bean refer to {@link PersonBean} * @param impLogByPersonId the {@link LogBean} bean refer to {@link PersonBean} * @return the inserted or updated {@link PersonBean} bean * @throws RuntimeDaoException */ public PersonBean saveAsTransaction(final PersonBean bean ,final ImageBean refImageByImageMd5 ,final PersonGroupBean refPersongroupByGroupId ,final ErrorLogBean[] impErrorlogByPersonId ,final FeatureBean[] impFeatureByPersonId ,final LogBean[] impLogByPersonId )throws RuntimeDaoException; //3.7 SYNC SAVE /** * Save the PersonBean bean and referenced beans and imported beans into the database. * * @param bean the {@link PersonBean} bean to be saved * @param refImageByImageMd5 the {@link ImageBean} bean referenced by {@link PersonBean} * @param refPersongroupByGroupId the {@link PersonGroupBean} bean referenced by {@link PersonBean} * @param impErrorlogByPersonId the {@link ErrorLogBean} bean refer to {@link PersonBean} * @param impFeatureByPersonId the {@link FeatureBean} bean refer to {@link PersonBean} * @param impLogByPersonId the {@link LogBean} bean refer to {@link PersonBean} * @return the inserted or updated {@link PersonBean} bean * @throws RuntimeDaoException */ public PersonBean save(PersonBean bean , ImageBean refImageByImageMd5 , PersonGroupBean refPersongroupByGroupId , java.util.Collection impErrorlogByPersonId , java.util.Collection impFeatureByPersonId , java.util.Collection impLogByPersonId )throws RuntimeDaoException; //3.8 SYNC SAVE AS TRANSACTION /** * Transaction version for sync save
* see also {@link #save(PersonBean , ImageBean , PersonGroupBean , java.util.Collection , java.util.Collection , java.util.Collection )} * @param bean the {@link PersonBean} bean to be saved * @param refImageByImageMd5 the {@link ImageBean} bean referenced by {@link PersonBean} * @param refPersongroupByGroupId the {@link PersonGroupBean} bean referenced by {@link PersonBean} * @param impErrorlogByPersonId the {@link ErrorLogBean} bean refer to {@link PersonBean} * @param impFeatureByPersonId the {@link FeatureBean} bean refer to {@link PersonBean} * @param impLogByPersonId the {@link LogBean} bean refer to {@link PersonBean} * @return the inserted or updated {@link PersonBean} bean * @throws RuntimeDaoException */ public PersonBean saveAsTransaction(final PersonBean bean ,final ImageBean refImageByImageMd5 ,final PersonGroupBean refPersongroupByGroupId ,final java.util.Collection impErrorlogByPersonId ,final java.util.Collection impFeatureByPersonId ,final java.util.Collection impLogByPersonId )throws RuntimeDaoException; ////////////////////////////////////// // GET/SET FOREIGN KEY BEAN METHOD ////////////////////////////////////// //5.1 GET REFERENCED VALUE /** * Retrieves the {@link ImageBean} object referenced by {@link PersonBean#getImageMd5}() field.
* FK_NAME : fl_person_ibfk_2 * @param bean the {@link PersonBean} * @return the associated {@link ImageBean} bean or {@code null} if {@code bean} is {@code null} * @throws RuntimeDaoException */ public ImageBean getReferencedByImageMd5(PersonBean bean)throws RuntimeDaoException; //5.2 SET REFERENCED /** * Associates the {@link PersonBean} object to the {@link ImageBean} object by {@link PersonBean#getImageMd5}() field. * * @param bean the {@link PersonBean} object to use * @param beanToSet the {@link ImageBean} object to associate to the {@link PersonBean} * @return always beanToSet saved * @throws RuntimeDaoException */ public ImageBean setReferencedByImageMd5(PersonBean bean, ImageBean beanToSet)throws RuntimeDaoException; //5.1 GET REFERENCED VALUE /** * Retrieves the {@link PersonGroupBean} object referenced by {@link PersonBean#getGroupId}() field.
* FK_NAME : fl_person_ibfk_1 * @param bean the {@link PersonBean} * @return the associated {@link PersonGroupBean} bean or {@code null} if {@code bean} is {@code null} * @throws RuntimeDaoException */ public PersonGroupBean getReferencedByGroupId(PersonBean bean)throws RuntimeDaoException; //5.2 SET REFERENCED /** * Associates the {@link PersonBean} object to the {@link PersonGroupBean} object by {@link PersonBean#getGroupId}() field. * * @param bean the {@link PersonBean} object to use * @param beanToSet the {@link PersonGroupBean} object to associate to the {@link PersonBean} * @return always beanToSet saved * @throws RuntimeDaoException */ public PersonGroupBean setReferencedByGroupId(PersonBean bean, PersonGroupBean beanToSet)throws RuntimeDaoException; //_____________________________________________________________________ // // USING INDICES //_____________________________________________________________________ /** * Retrieves an unique PersonBean using the image_md5 index. * * @param imageMd5 the image_md5 column's value filter * @return an PersonBean,otherwise null if not found or exists null in input arguments * @throws RuntimeDaoException */ public PersonBean loadByIndexImageMd5(String imageMd5)throws RuntimeDaoException; /** * Retrieves an unique PersonBean using the image_md5 index. * * @param imageMd5 the image_md5 column's value filter. must not be null * @return an PersonBean * @throws NullPointerException exists null in input arguments * @throws ObjectRetrievalException if not found * @throws RuntimeDaoException */ public PersonBean loadByIndexImageMd5Checked(String imageMd5)throws RuntimeDaoException,ObjectRetrievalException; /** * Retrieves an unique PersonBean for each image_md5 index. * * @param indexs index array * @return an list of PersonBean * @throws RuntimeDaoException */ public java.util.List loadByIndexImageMd5(String... indexs)throws RuntimeDaoException; /** * Retrieves an unique PersonBean for each image_md5 index. * * @param indexs index collection * @return an list of PersonBean * @throws RuntimeDaoException */ public java.util.List loadByIndexImageMd5(java.util.Collection indexs)throws RuntimeDaoException; /** * Deletes rows for each image_md5 index. * * @param indexs index array * @return the number of deleted rows * @throws RuntimeDaoException */ public int deleteByIndexImageMd5(String... indexs)throws RuntimeDaoException; /** * Deletes rows for each image_md5 index. * * @param indexs index collection * @return the number of deleted rows * @throws RuntimeDaoException */ public int deleteByIndexImageMd5(java.util.Collection indexs)throws RuntimeDaoException; /** * Deletes rows using the image_md5 index. * * @param imageMd5 the image_md5 column's value filter. * @return the number of deleted objects * @throws RuntimeDaoException */ public int deleteByIndexImageMd5(String imageMd5)throws RuntimeDaoException; /** * Retrieves an unique PersonBean using the mobile_phone index. * * @param mobilePhone the mobile_phone column's value filter * @return an PersonBean,otherwise null if not found or exists null in input arguments * @throws RuntimeDaoException */ public PersonBean loadByIndexMobilePhone(String mobilePhone)throws RuntimeDaoException; /** * Retrieves an unique PersonBean using the mobile_phone index. * * @param mobilePhone the mobile_phone column's value filter. must not be null * @return an PersonBean * @throws NullPointerException exists null in input arguments * @throws ObjectRetrievalException if not found * @throws RuntimeDaoException */ public PersonBean loadByIndexMobilePhoneChecked(String mobilePhone)throws RuntimeDaoException,ObjectRetrievalException; /** * Retrieves an unique PersonBean for each mobile_phone index. * * @param indexs index array * @return an list of PersonBean * @throws RuntimeDaoException */ public java.util.List loadByIndexMobilePhone(String... indexs)throws RuntimeDaoException; /** * Retrieves an unique PersonBean for each mobile_phone index. * * @param indexs index collection * @return an list of PersonBean * @throws RuntimeDaoException */ public java.util.List loadByIndexMobilePhone(java.util.Collection indexs)throws RuntimeDaoException; /** * Deletes rows for each mobile_phone index. * * @param indexs index array * @return the number of deleted rows * @throws RuntimeDaoException */ public int deleteByIndexMobilePhone(String... indexs)throws RuntimeDaoException; /** * Deletes rows for each mobile_phone index. * * @param indexs index collection * @return the number of deleted rows * @throws RuntimeDaoException */ public int deleteByIndexMobilePhone(java.util.Collection indexs)throws RuntimeDaoException; /** * Deletes rows using the mobile_phone index. * * @param mobilePhone the mobile_phone column's value filter. * @return the number of deleted objects * @throws RuntimeDaoException */ public int deleteByIndexMobilePhone(String mobilePhone)throws RuntimeDaoException; /** * Retrieves an unique PersonBean using the papers_num index. * * @param papersNum the papers_num column's value filter * @return an PersonBean,otherwise null if not found or exists null in input arguments * @throws RuntimeDaoException */ public PersonBean loadByIndexPapersNum(String papersNum)throws RuntimeDaoException; /** * Retrieves an unique PersonBean using the papers_num index. * * @param papersNum the papers_num column's value filter. must not be null * @return an PersonBean * @throws NullPointerException exists null in input arguments * @throws ObjectRetrievalException if not found * @throws RuntimeDaoException */ public PersonBean loadByIndexPapersNumChecked(String papersNum)throws RuntimeDaoException,ObjectRetrievalException; /** * Retrieves an unique PersonBean for each papers_num index. * * @param indexs index array * @return an list of PersonBean * @throws RuntimeDaoException */ public java.util.List loadByIndexPapersNum(String... indexs)throws RuntimeDaoException; /** * Retrieves an unique PersonBean for each papers_num index. * * @param indexs index collection * @return an list of PersonBean * @throws RuntimeDaoException */ public java.util.List loadByIndexPapersNum(java.util.Collection indexs)throws RuntimeDaoException; /** * Deletes rows for each papers_num index. * * @param indexs index array * @return the number of deleted rows * @throws RuntimeDaoException */ public int deleteByIndexPapersNum(String... indexs)throws RuntimeDaoException; /** * Deletes rows for each papers_num index. * * @param indexs index collection * @return the number of deleted rows * @throws RuntimeDaoException */ public int deleteByIndexPapersNum(java.util.Collection indexs)throws RuntimeDaoException; /** * Deletes rows using the papers_num index. * * @param papersNum the papers_num column's value filter. * @return the number of deleted objects * @throws RuntimeDaoException */ public int deleteByIndexPapersNum(String papersNum)throws RuntimeDaoException; /** * Retrieves an array of PersonBean using the expiry_date index. * * @param expiryDate the expiry_date column's value filter. * @return an array of PersonBean * @throws RuntimeDaoException */ public PersonBean[] loadByIndexExpiryDate(java.util.Date expiryDate)throws RuntimeDaoException; /** * Retrieves a list of PersonBean using the expiry_date index. * * @param expiryDate the expiry_date column's value filter. * @return a list of PersonBean * @throws RuntimeDaoException */ public java.util.List loadByIndexExpiryDateAsList(java.util.Date expiryDate)throws RuntimeDaoException; /** * Deletes rows using the expiry_date index. * * @param expiryDate the expiry_date column's value filter. * @return the number of deleted objects * @throws RuntimeDaoException */ public int deleteByIndexExpiryDate(java.util.Date expiryDate)throws RuntimeDaoException; /** * Retrieves an array of PersonBean using the group_id index. * * @param groupId the group_id column's value filter. * @return an array of PersonBean * @throws RuntimeDaoException */ public PersonBean[] loadByIndexGroupId(Integer groupId)throws RuntimeDaoException; /** * Retrieves a list of PersonBean using the group_id index. * * @param groupId the group_id column's value filter. * @return a list of PersonBean * @throws RuntimeDaoException */ public java.util.List loadByIndexGroupIdAsList(Integer groupId)throws RuntimeDaoException; /** * Deletes rows using the group_id index. * * @param groupId the group_id column's value filter. * @return the number of deleted objects * @throws RuntimeDaoException */ public int deleteByIndexGroupId(Integer groupId)throws RuntimeDaoException; //45 /** * return a primary key list from {@link PersonBean} array * @param beans * @return primary key list */ public java.util.List toPrimaryKeyList(PersonBean... beans); //46 /** * return a primary key list from {@link PersonBean} collection * @param beans * @return primary key list */ public java.util.List toPrimaryKeyList(java.util.Collection beans); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy