public interface SystemMessageService extends EditableService<SystemMessage,Long>
| Modifier and Type | Method and Description | 
|---|---|
SystemMessage | 
get(Long id)
Pobiera komunikat 
 | 
List<SystemMessageDto> | 
getNewSystemMessagesForUser(String userName,
                           boolean afterLogin)
Pobiera aktualne komunikaty dla użytkownika 
 | 
CountedResult<SystemMessage> | 
getSystemMessages(Integer start,
                 Integer limit,
                 String orderBy,
                 SortDirection orderDirection)
Pobiera komunikaty 
 | 
String | 
sanitizeMessage(String message)
Escepuje wiadomość 
 | 
delete, save, updatecount, countAll, findByCriteria, findByCriteria, findByProperty, findOne, findOneByProperty, get, getAll, getAll, getCountedResult, getCountedResult, scrollByCriteria, scrollByCriteriaCountedResult<SystemMessage> getSystemMessages(Integer start, Integer limit, String orderBy, SortDirection orderDirection)
start - startlimit - limitorderBy - pole, po którym sortujemyorderDirection - kierunek sortowaniaList<SystemMessageDto> getNewSystemMessagesForUser(String userName, boolean afterLogin)
userName - login użytkownikaafterLogin - czy pobranie komunikatów nastąpiło po zalogowaniuSystemMessage get(Long id)
get in interface BaseFinder<SystemMessage,Long>id - Identyfikator obiektu.SystemMessageNotFoundExceptionCopyright © 2025 Suncode. All rights reserved.