public class SystemMessageDao extends GenericDao<SystemMessage> implements ISystemMessageDao
Constructor and Description |
---|
SystemMessageDao() |
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.
|
protected IFCDaoActionHook<SystemMessage> |
getPreActionHook() |
getEntityRefs, getPostActionHook, read
all, bulkDelete, bulkUpdate, cb, checkLockingVersion, cq, create, create, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, notifyListener, notifyListener, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEntityRefs, read
all, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, update
public List<SystemMessage> allByDate(IEntityContext ec, Date date) throws de.xima.cmn.dao.exceptions.DatabaseAccessException
ISystemMessageDao
allByDate
in interface ISystemMessageDao
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
public List<SystemMessage> allActiveByDate(IEntityContext ec, Date date) throws de.xima.cmn.dao.exceptions.DatabaseAccessException
ISystemMessageDao
SystemMessage.isFlagActive()
and available at the given date.allActiveByDate
in interface ISystemMessageDao
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
protected IFCDaoActionHook<SystemMessage> getPreActionHook()
getPreActionHook
in class GenericDao<SystemMessage>
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.