public interface ISystemMessageDao extends IGenericDao<SystemMessage>
Modifier and Type | Method and Description |
---|---|
List<SystemMessage> |
allActiveByDate(IEntityContext ec,
Date date)
Retrieves all system messages that are both #
SystemMessage.isFlagActive()
and available at the given date. |
List<SystemMessage> |
allByDate(IEntityContext ec,
Date date)
Retrieves all system messages that are available at the given date.
|
getEntityRefs, read
all, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, deleteAll, executePagedDaoAction, read, registerListener, registerListener, resultTotalCount, singleElement, unregisterListener, unregisterListener, update, update
List<SystemMessage> allByDate(IEntityContext ec, @Nullable Date date) throws de.xima.cmn.dao.exceptions.DatabaseAccessException
ec
- Current entity context for accessing the database.date
- The date for which to retrieve the messages. If null
,
all messages are returned.de.xima.cmn.dao.exceptions.DatabaseAccessException
List<SystemMessage> allActiveByDate(IEntityContext ec, @Nullable Date date) throws de.xima.cmn.dao.exceptions.DatabaseAccessException
SystemMessage.isFlagActive()
and available at the given date.ec
- Current entity context for accessing the database.date
- The date for which to retrieve the messages. If null
,
all messages are returned.de.xima.cmn.dao.exceptions.DatabaseAccessException
Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.