Class OrganizerDao
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.bgbilling.common.dao.AbstractDaoConstant
ru.bitel.bgbilling.plugins.organizer.server.dao.OrganizerDao
public class OrganizerDao
extends ru.bitel.bgbilling.common.dao.AbstractDaoConstant
-
Field Summary
FieldsFields inherited from class ru.bitel.bgbilling.common.dao.AbstractDaoConstant
con, ERROR, fields, moduleId, SQL_ALL, SQL_AND, SQL_DELETE, SQL_DISTINCT, SQL_EQ, SQL_EQCS, SQL_FROM, SQL_GROUP, SQL_IN, SQL_INSERT, SQL_JOIN, SQL_LEFT_JOIN, SQL_LIMIT, SQL_NOT_IN, SQL_ON, SQL_ORDER, SQL_SELECT, SQL_SET, SQL_UPDATE, SQL_VALUES, SQL_WHERE, tableName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToJournal(int rid, int userID, String messageType) intcountJournalList(Page page, Period per, int uid) countRecords(int uid) intcountTotalRecords(RecordFilter filter) voiddeleteRecordById(int rid) getJournalList(Page page, Period period, int uid) getRecordById(int rid) getRecords(RecordFilter filter) getTodoRecords(int uid, int status) Deprecated.getUserGroups(int uid) voidsearchTodoRecords(SearchResult<OrganizerRecord> searchResult, int uid, int status) Постраничный вывод записейvoidMethods inherited from class ru.bitel.bgbilling.common.dao.AbstractDaoConstant
getPeriod, getPlaceholders, getSQLOrder, getSQLOrderFields, getTableName, psSetDate, psSetDateOrNull, psSetInt, psSetIntOrNull, psSetPeriod, psSetString, psSetStringOrNull, psSetTimestampOrNull, queryAndIn, setStatementParam, sqlDelete, sqlDeleteBatch, sqlInsert, sqlInsertBatch, sqlInsertGetId, sqlInsertGetLongId, sqlInsertOnDuplicateKeyUpdate, sqlInsertSelect, sqlInsertUpdateById, sqlSelectCountAsInt, sqlUpdate, sqlUpdateBatchMethods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
error, error, error, getLogger, logError, logError, warn
-
Field Details
-
RecordsTotal
public int RecordsTotal
-
-
Constructor Details
-
OrganizerDao
-
-
Method Details
-
getRecords
- Throws:
SQLException
-
countTotalRecords
- Throws:
SQLException
-
getRecordById
- Throws:
SQLException
-
updateRecord
- Throws:
SQLException
-
getUserGroups
- Throws:
SQLException
-
searchTodoRecords
public void searchTodoRecords(SearchResult<OrganizerRecord> searchResult, int uid, int status) throws ru.bitel.bgbilling.common.BGException Постраничный вывод записей- Parameters:
searchResult-uid-status-- Throws:
ru.bitel.bgbilling.common.BGException
-
getTodoRecords
@Deprecated public List<OrganizerRecord> getTodoRecords(int uid, int status) throws ru.bitel.bgbilling.common.BGException Deprecated.ИспользоватьsearchTodoRecords(SearchResult, int, int)- Parameters:
uid-status-- Returns:
- Throws:
ru.bitel.bgbilling.common.BGException
-
countRecords
- Throws:
SQLException
-
addToJournal
- Throws:
SQLException
-
deleteRecordById
- Throws:
SQLException
-
getJournalList
- Throws:
SQLException
-
countJournalList
- Throws:
SQLException
-
searchTodoRecords(SearchResult, int, int)