Class OrganizerManager
java.lang.Object
ru.bitel.bgbilling.plugins.organizer.server.bean.OrganizerManager
public class OrganizerManager
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description intRecordsTotal -
Constructor Summary
Constructors Constructor Description OrganizerManager(java.sql.Connection conn) -
Method Summary
Modifier and Type Method Description voidaddToJournal(int rid, int userID, java.lang.String messageType)intcountJournalList(Page page, Period per, int uid)OrganizerCountercountRecords(int uid)intcountTotalRecords(RecordFilter filter)voiddeleteRecordById(int rid)voiddeleteRecordByID(int rid)Deprecated.java.util.List<JournalEntry>getJournalList(Page page, Period period, int uid)OrganizerRecordgetRecordById(int rid)java.util.List<OrganizerRecord>getRecords(RecordFilter filter)java.util.List<OrganizerRecord>getTodoRecords(int uid, int status)Deprecated.java.lang.StringgetUserGroups(int uid)voidsearchTodoRecords(SearchResult<OrganizerRecord> searchResult, int uid, int status)Постраничный вывод записейvoidupdateRecord(OrganizerRecord rec)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
RecordsTotal
public int RecordsTotal
-
-
Constructor Details
-
OrganizerManager
public OrganizerManager(java.sql.Connection conn)
-
-
Method Details
-
getRecords
public java.util.List<OrganizerRecord> getRecords(RecordFilter filter) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
countTotalRecords
- Throws:
java.sql.SQLException
-
getRecordById
- Throws:
java.sql.SQLException
-
updateRecord
- Throws:
java.sql.SQLException
-
getUserGroups
public java.lang.String getUserGroups(int uid) throws java.sql.SQLException- Throws:
java.sql.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 java.util.List<OrganizerRecord> getTodoRecords(int uid, int status) throws ru.bitel.bgbilling.common.BGExceptionDeprecated.ИспользоватьsearchTodoRecords(SearchResult, int, int)- Parameters:
uid-status-- Returns:
- Throws:
java.sql.SQLExceptionru.bitel.bgbilling.common.BGException
-
countRecords
- Throws:
java.sql.SQLException
-
addToJournal
public void addToJournal(int rid, int userID, java.lang.String messageType) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
deleteRecordById
public void deleteRecordById(int rid) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
deleteRecordByID
@Deprecated public void deleteRecordByID(int rid) throws java.sql.SQLExceptionDeprecated.ИспользоватьdeleteRecordById(int).- Parameters:
rid-- Throws:
java.sql.SQLException
-
getJournalList
public java.util.List<JournalEntry> getJournalList(Page page, Period period, int uid) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
countJournalList
- Throws:
java.sql.SQLException
-
searchTodoRecords(SearchResult, int, int)