Package org.nuclos.api.context
Interface JobContext
- All Superinterfaces:
LogContext
JobContext
represents the context used in Job-Rule
It contains the SessionId
- Author:
- Matthias Reichart
-
Method Summary
Modifier and TypeMethodDescriptionReturns the mandator of this jobThis methods return the SessionId that has been set by the userThis methods returns the transactional object.boolean
This methods returnstrue
when the last transactional object will be returned bygetTransactionalObject
.void
This method logs an info message into the Job-Message database and can be viewed via JobController in Nuclos by opending the corresponding Jobvoid
joblogError
(String message) This method logs an error message into the Job-Message database and can be viewed via JobController in Nuclos by opending the corresponding Jobvoid
joblogWarn
(String message) This method logs a warning message into the Job-Message database and can be viewed via JobController in Nuclos by opending the corresponding Jobvoid
setSessionId
(Long sessionId) This method sets the SessionId that is passed as argumentMethods inherited from interface org.nuclos.api.context.LogContext
log, logError, logWarn
-
Method Details
-
setSessionId
This method sets the SessionId that is passed as argument- Parameters:
sessionId
-
-
getSessionId
Long getSessionId()This methods return the SessionId that has been set by the user- Returns:
-
getMandator
NuclosMandator getMandator()Returns the mandator of this job- Returns:
-
joblog
This method logs an info message into the Job-Message database and can be viewed via JobController in Nuclos by opending the corresponding Job- Parameters:
message
-
-
joblogWarn
This method logs a warning message into the Job-Message database and can be viewed via JobController in Nuclos by opending the corresponding Job- Parameters:
message
-
-
joblogError
This method logs an error message into the Job-Message database and can be viewed via JobController in Nuclos by opending the corresponding Job- Parameters:
message
-
-
getTransactionalObject
Object getTransactionalObject()This methods returns the transactional object. See alsoTransactionalJobRule
- Returns:
-
isLastTransactionalObject
boolean isLastTransactionalObject()This methods returnstrue
when the last transactional object will be returned bygetTransactionalObject
. See alsoTransactionalJobRule
- Returns:
-