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) returnsBusinessObjectis not persisted automatically<T extends GenericBusinessObject>
TreturnsGenericBusinessObjectis not persisted automaticallyreturnsPrintoutListfor theBusinessObjectin the execution contextMethods inherited from interface org.nuclos.api.context.LogContext
log, logError, logWarnMethods inherited from interface org.nuclos.api.context.RuleContext
addContextCacheValue, getContextCacheValue, getLanguage, getLocale, getUser, removeContextCacheValue
-
Method Details
-
getPrintoutList
PrintoutList getPrintoutList()returnsPrintoutListfor theBusinessObjectin the execution context- Returns:
Printout
-
getBusinessObject
returnsBusinessObjectis not persisted automatically- Returns:
BusinessObject
-
getGenericBusinessObject
returnsGenericBusinessObjectis not persisted automatically- Parameters:
t- Classtype being aGenericBusinessObject- Returns:
GenericBusinessObjectextendingGenericBusinessObject- Throws:
BusinessException
-