Package ru.bgcrm.plugin.ufanet.dao
Class SimDAO
java.lang.Object
ru.bgcrm.dao.CommonDAO
ru.bgcrm.plugin.ufanet.dao.SimDAO
-
Nested Class Summary
Nested classes/interfaces inherited from class ru.bgcrm.dao.CommonDAO
CommonDAO.ObjectExtractor<T>, CommonDAO.RecordUpdater<T extends Id> -
Field Summary
Fields inherited from class ru.bgcrm.dao.CommonDAO
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSimCard(List<SimCard> list) static List<SimCardCategory> getSimCard(int id) static SimCardstatic SimCardgetSimCardFromRs(ResultSet rs, boolean loadTitles) getSimCardList(List<Integer> ids) static List<SimCardStatus> searchSimCard(Set<Integer> categoryIdSet, Set<Integer> statusIdSet) voidsearchSIMCard(SearchResult<SimCard> searchResult, DynActionForm form) voidupdateSimCategory(int id, int categoryId) voidupdateSimStatus(int id, int statusId, int uid) voidupdateSimStatus(int id, int statusId, int customerId, int uid) Methods inherited from class ru.bgcrm.dao.CommonDAO
buildPlaceholders, deleteById, execute, execute, execute, executeBatch, executeInsert, executeUpdate, getById, getFoundRows, getFoundRows, getGroupedIds, getGroupedIds, getIds, getIds, getLikePattern, getLikePatternEnd, getLikePatternStart, getLikePatternSub, getMySQLLimit, getPeriodSql, lastInsertId, setPeriodParamValue, setRecordCount, sqlToBgException, update, updateColumn, updateIds, updateIds
-
Constructor Details
-
SimDAO
-
-
Method Details
-
searchSIMCard
public void searchSIMCard(SearchResult<SimCard> searchResult, DynActionForm form) throws BGException - Throws:
BGException
-
getSimCardList
- Throws:
BGException
-
getSimCard
- Throws:
BGException
-
updateSimStatus
- Throws:
SQLException
-
updateSimStatus
- Throws:
SQLException
-
updateSimCategory
- Throws:
SQLException
-
searchSimCard
public List<SimCard> searchSimCard(Set<Integer> categoryIdSet, Set<Integer> statusIdSet) throws SQLException - Throws:
SQLException
-
getSimCardFromRs
- Throws:
SQLException
-
getSimCardFromRs
- Throws:
SQLException
-
getStatusList
- Throws:
BGException
-
getCategoryList
- Throws:
BGException
-
addSimCard
- Throws:
SQLException
-