Package org.nuclos.api.context
Interface PrintContext
- All Superinterfaces:
LogContext
,RuleContext
PrintContext
represents the context used in PrintRule
It provides a PrintoutList
which is applied to the
BusinessObject
in the execution context
- Author:
- Moritz Neuhaeuser
- See Also:
-
Method Summary
Modifier and TypeMethodDescription<T extends BusinessObject>
TgetBusinessObject
(Class<T> t) returnsBusinessObject
is not persisted automatically<T extends GenericBusinessObject>
TreturnsGenericBusinessObject
is not persisted automaticallyreturnsPrintoutList
for theBusinessObject
in the execution contextMethods inherited from interface org.nuclos.api.context.LogContext
log, logError, logWarn
Methods inherited from interface org.nuclos.api.context.RuleContext
addContextCacheValue, getContextCacheValue, getLanguage, getUser, removeContextCacheValue
-
Method Details
-
getPrintoutList
PrintoutList getPrintoutList()returnsPrintoutList
for theBusinessObject
in the execution context- Returns:
Printout
-
getBusinessObject
returnsBusinessObject
is not persisted automatically- Returns:
BusinessObject
-
getGenericBusinessObject
returnsGenericBusinessObject
is not persisted automatically- Parameters:
t
- Classtype being aGenericBusinessObject
- Returns:
GenericBusinessObject
extendingGenericBusinessObject
- Throws:
BusinessException
-