Package com.majorana.maj_orm.ORM_ACCESS
Class DbBeanGenericInstance<T extends BaseMajoranaEntity>
java.lang.Object
com.majorana.maj_orm.ORM_ACCESS.DbBeanGenericInstance<T>
- All Implemented Interfaces:
DbBeanGenericInterface<T>
public class DbBeanGenericInstance<T extends BaseMajoranaEntity>
extends Object
implements DbBeanGenericInterface<T>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classprotected class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeleteBeanById(MultiId mid) deleteBeanByParams(MultiId mid, BaseMajoranaEntity bde) intdeleteBeans(String[] paramNames, Object[] params) getBeanNPWithSelectClause(String sql, String[] paramNames, Object[] params) T[]getBeansArray(String sql, Object[] params) T[]getBeansArray(String sql, String[] paramNames, Object[] params) T[]getBeansArrayNP(String sql, String[] paramNames, Object[] params) T[]getBeansArrayNPWithSelectClause(String sql, String[] paramNames, Object[] params) getBeansNP(String sql, String[] paramNames, Object[] params) getBeansNPWithSelectClause(String sql1, String[] paramNames, Object[] params) getParamMap(String[] named, Object[] params) getRepo()static intmapParams(PreparedStatement ps, Object[] args) intupdateAltIds(MultiId mid, T bde) updateBean(MultiId mid, T bde)
-
Constructor Details
-
DbBeanGenericInstance
-
-
Method Details
-
getRepo
- Specified by:
getRepoin interfaceDbBeanGenericInterface<T extends BaseMajoranaEntity>
-
getIdField
- Specified by:
getIdFieldin interfaceDbBeanGenericInterface<T extends BaseMajoranaEntity>
-
getBean
- Throws:
SQLException
-
getBeansArray
- Throws:
SQLException
-
getBeansArrayNP
- Specified by:
getBeansArrayNPin interfaceDbBeanGenericInterface<T extends BaseMajoranaEntity>- Throws:
SQLException
-
getBeansArrayNPWithSelectClause
public T[] getBeansArrayNPWithSelectClause(String sql, String[] paramNames, Object[] params) throws SQLException - Specified by:
getBeansArrayNPWithSelectClausein interfaceDbBeanGenericInterface<T extends BaseMajoranaEntity>- Throws:
SQLException
-
getBeanNP
- Specified by:
getBeanNPin interfaceDbBeanGenericInterface<T extends BaseMajoranaEntity>- Throws:
SQLException
-
getBeanNPWithSelectClause
public T getBeanNPWithSelectClause(String sql, String[] paramNames, Object[] params) throws SQLException - Specified by:
getBeanNPWithSelectClausein interfaceDbBeanGenericInterface<T extends BaseMajoranaEntity>- Throws:
SQLException
-
getParamMap
- Specified by:
getParamMapin interfaceDbBeanGenericInterface<T extends BaseMajoranaEntity>
-
getFields
- Specified by:
getFieldsin interfaceDbBeanGenericInterface<T extends BaseMajoranaEntity>
-
getFields
- Specified by:
getFieldsin interfaceDbBeanGenericInterface<T extends BaseMajoranaEntity>
-
getIdFieldName
- Specified by:
getIdFieldNamein interfaceDbBeanGenericInterface<T extends BaseMajoranaEntity>
-
getBeans
- Throws:
SQLException
-
deleteBeans
- Specified by:
deleteBeansin interfaceDbBeanGenericInterface<T extends BaseMajoranaEntity>- Throws:
SQLException
-
updateAltIds
- Specified by:
updateAltIdsin interfaceDbBeanGenericInterface<T extends BaseMajoranaEntity>- Throws:
SQLException
-
storeBean
- Specified by:
storeBeanin interfaceDbBeanGenericInterface<T extends BaseMajoranaEntity>- Throws:
SQLException
-
updateBean
- Specified by:
updateBeanin interfaceDbBeanGenericInterface<T extends BaseMajoranaEntity>- Throws:
SQLException
-
deleteBeanById
public MultiId deleteBeanById(MultiId mid) throws SQLException, InstantiationException, IllegalAccessException - Specified by:
deleteBeanByIdin interfaceDbBeanGenericInterface<T extends BaseMajoranaEntity>- Throws:
SQLExceptionInstantiationExceptionIllegalAccessException
-
deleteBeanByParams
- Specified by:
deleteBeanByParamsin interfaceDbBeanGenericInterface<T extends BaseMajoranaEntity>- Throws:
SQLException
-
getBean
- Throws:
SQLException
-
getBeansArray
- Specified by:
getBeansArrayin interfaceDbBeanGenericInterface<T extends BaseMajoranaEntity>- Throws:
SQLException
-
getBeansNP
- Specified by:
getBeansNPin interfaceDbBeanGenericInterface<T extends BaseMajoranaEntity>
-
getBeansNPWithSelectClause
- Specified by:
getBeansNPWithSelectClausein interfaceDbBeanGenericInterface<T extends BaseMajoranaEntity>
-
getBeans
- Specified by:
getBeansin interfaceDbBeanGenericInterface<T extends BaseMajoranaEntity>- Throws:
SQLException
-
mapParams
- Throws:
SQLException
-