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, readall, 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, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEntityRefs, readall, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, updatepublic List<SystemMessage> allByDate(IEntityContext ec, Date date) throws de.xima.cmn.dao.exceptions.DatabaseAccessException
ISystemMessageDaoallByDate in interface ISystemMessageDaoec - 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.DatabaseAccessExceptionpublic List<SystemMessage> allActiveByDate(IEntityContext ec, Date date) throws de.xima.cmn.dao.exceptions.DatabaseAccessException
ISystemMessageDaoSystemMessage.isFlagActive()
 and available at the given date.allActiveByDate in interface ISystemMessageDaoec - 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.DatabaseAccessExceptionprotected IFCDaoActionHook<SystemMessage> getPreActionHook()
getPreActionHook in class GenericDao<SystemMessage>Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.