public class SimDAO extends CommonDAO
CommonDAO.ObjectExtractor<T>, CommonDAO.RecordUpdater<T extends Id>
con, dateFormat_DDMMYYYY, dateFormat_DDMMYYYY_HHMM, log, SQL_AND, SQL_DELETE, SQL_DESC, SQL_FROM, SQL_GROUP_BY, SQL_INNER_JOIN, SQL_INSERT, SQL_INSERT_IGNORE, SQL_LEFT_JOIN, SQL_LEFT_OUTER_JOIN, SQL_LIMIT, SQL_ON_DUP_KEY_UPDATE, SQL_OR, SQL_ORDER_BY, SQL_REPLACE, SQL_SELECT, SQL_SELECT_ALL_FROM, SQL_SELECT_COUNT_ROWS, SQL_SET, SQL_UPDATE, SQL_WHERE
Constructor and Description |
---|
SimDAO(java.sql.Connection con) |
Modifier and Type | Method and Description |
---|---|
void |
addSimCard(java.util.List<SimCard> list) |
static java.util.List<SimCardCategory> |
getCategoryList() |
SimCard |
getSimCard(int id) |
static SimCard |
getSimCardFromRs(java.sql.ResultSet rs) |
static SimCard |
getSimCardFromRs(java.sql.ResultSet rs,
boolean loadTitles) |
java.util.List<SimCard> |
getSimCardList(java.util.List<java.lang.Integer> ids) |
static java.util.List<SimCardStatus> |
getStatusList() |
void |
searchSIMCard(SearchResult<SimCard> searchResult,
DynActionForm form) |
java.util.List<SimCard> |
searchSimCard(java.util.Set<java.lang.Integer> categoryIdSet,
java.util.Set<java.lang.Integer> statusIdSet) |
void |
updateSimCategory(int id,
int categoryId) |
void |
updateSimStatus(int id,
int statusId,
int uid) |
void |
updateSimStatus(int id,
int statusId,
int customerId,
int uid) |
deleteById, execute, execute, execute, executeInsert, executeUpdate, getById, getFoundRows, getFoundRows, getGroupedIds, getGroupedIds, getIds, getIds, getLikePattern, getLikePatternEnd, getLikePatternStart, getLikePatternSub, getMySQLLimit, getPeriodSql, lastInsertId, setPeriodParamValue, setRecordCount, sqlToBgException, update, updateColumn, updateIds, updateIds
public void searchSIMCard(SearchResult<SimCard> searchResult, DynActionForm form) throws BGException
BGException
public java.util.List<SimCard> getSimCardList(java.util.List<java.lang.Integer> ids) throws BGException
BGException
public SimCard getSimCard(int id) throws BGException
BGException
public void updateSimStatus(int id, int statusId, int customerId, int uid) throws java.sql.SQLException
java.sql.SQLException
public void updateSimStatus(int id, int statusId, int uid) throws java.sql.SQLException
java.sql.SQLException
public void updateSimCategory(int id, int categoryId) throws java.sql.SQLException
java.sql.SQLException
public java.util.List<SimCard> searchSimCard(java.util.Set<java.lang.Integer> categoryIdSet, java.util.Set<java.lang.Integer> statusIdSet) throws java.sql.SQLException
java.sql.SQLException
public static SimCard getSimCardFromRs(java.sql.ResultSet rs, boolean loadTitles) throws java.sql.SQLException
java.sql.SQLException
public static SimCard getSimCardFromRs(java.sql.ResultSet rs) throws java.sql.SQLException
java.sql.SQLException
public static java.util.List<SimCardStatus> getStatusList() throws BGException
BGException
public static java.util.List<SimCardCategory> getCategoryList() throws BGException
BGException
public void addSimCard(java.util.List<SimCard> list) throws java.sql.SQLException
java.sql.SQLException