Package mc.core.domain.system.dobj
Class ReportDO
java.lang.Object
mc.core.system.base.BaseBean
-
Nested Class Summary
Nested classes/interfaces inherited from class mc.core.domain.base.dobj.AbstractBaseDO
AbstractBaseDO.Initializer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintoptimization for cleanupvoidvoidbehavior differs: only delete if not in useintgetReportItemCount(Report report) getReportItems(Report report, Integer maxCount) since from mc7.4 the report items of the version reports are stored in lucene index they must be retrieved by this method instead of calling getReport().getReportItemsoptimization for cleanup: collect all used reportIdsvoidsendEvent(ReportItem item) send event for item to report data storeMethods inherited from class mc.core.domain.base.dobj.AbstractSimpleEntityDO
changeOrder, getAllActive, getUserRole, toggleActivationMethods inherited from class mc.core.domain.base.dobj.AbstractEntityBaseDO
addDefaultSearchCriteria, copy, copyToCollection, getFromInternalDescription, prepareSearchFilter, save, sendEvent, sendEventMethods inherited from class mc.core.domain.base.dobj.AbstractBaseDO
delete, getAll, getEntityDisplay, getFromId, getFromKey, getOne, map, map, save, validator
-
Constructor Details
-
ReportDO
public ReportDO()
-
-
Method Details
-
delete
behavior differs: only delete if not in use- Overrides:
deletein classAbstractBaseDO<Report>- Parameters:
entity- mandatoryforce- if true delete without usage check, which can result in db constraints error unless references are taken care of- Throws:
ApplicationException
-
delete
- Throws:
ApplicationException
-
delete
optimization for cleanup- Throws:
ApplicationException
-
getUsedReportIds
optimization for cleanup: collect all used reportIds -
getReportItems
since from mc7.4 the report items of the version reports are stored in lucene index they must be retrieved by this method instead of calling getReport().getReportItems -
getReportItemCount
-
sendEvent
send event for item to report data store
-