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 int
RecordsTotal
-
Constructor Summary
Constructors Constructor Description OrganizerManager(java.sql.Connection conn)
-
Method Summary
Modifier and Type Method Description void
addToJournal(int rid, int userID, java.lang.String messageType)
int
countJournalList(Page page, Period per, int uid)
OrganizerCounter
countRecords(int uid)
int
countTotalRecords(RecordFilter filter)
void
deleteRecordById(int rid)
void
deleteRecordByID(int rid)
Deprecated.java.util.List<JournalEntry>
getJournalList(Page page, Period period, int uid)
OrganizerRecord
getRecordById(int rid)
java.util.List<OrganizerRecord>
getRecords(RecordFilter filter)
java.util.List<OrganizerRecord>
getTodoRecords(int uid, int status)
Deprecated.java.lang.String
getUserGroups(int uid)
void
searchTodoRecords(SearchResult<OrganizerRecord> searchResult, int uid, int status)
Постраничный вывод записейvoid
updateRecord(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.SQLException
ru.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)