public interface PrintContext extends RuleContext
PrintContext
represents the context used in PrintRule
It provides a PrintoutList
which is applied to the
BusinessObject
in the execution context
RuleContext
Modifier and Type | Method and Description |
---|---|
<T extends BusinessObject> |
getBusinessObject(java.lang.Class<T> t)
returns
BusinessObject
is not persisted automatically |
<T extends GenericBusinessObject> |
getGenericBusinessObject(java.lang.Class<T> t)
returns
GenericBusinessObject
is not persisted automatically |
PrintoutList |
getPrintoutList()
returns
PrintoutList for the BusinessObject
in the execution context |
addContextCacheValue, getContextCacheValue, getLanguage, getUser, removeContextCacheValue
log, logError, logWarn
PrintoutList getPrintoutList()
PrintoutList
for the BusinessObject
in the execution contextPrintout
<T extends BusinessObject> T getBusinessObject(java.lang.Class<T> t)
BusinessObject
is not persisted automaticallyBusinessObject
<T extends GenericBusinessObject> T getGenericBusinessObject(java.lang.Class<T> t) throws BusinessException
GenericBusinessObject
is not persisted automaticallyt
- Classtype being a GenericBusinessObject
GenericBusinessObject
extending GenericBusinessObject
BusinessException
Copyright © 2023. All rights reserved.