|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JCoBackgroundUnitAttributes
Unit Attributes describing some properties of a processed bgRFC unit in the backend. To get an empty instance of unit attributes use JCo.createFunctionUnitAttributes()
Method Summary | |
---|---|
String |
getClient()
Returns the SAP client associated with the unit. |
String |
getProgramName()
Returns the program name associated with the unit. |
String |
getUserID()
Returns the user ID associated with the unit. |
boolean |
isCommitCheckOn()
Returns whether a commit check is done in the backend for the associated unit. |
boolean |
isKernelTraceOn()
Returns whether the backend shall write kernel traces for this unit. |
boolean |
isUnitHistoryOn()
Returns whether the backend shall keep a history of the associated unit. |
boolean |
isUnitLocked()
Returns whether the associated unit will be locked. |
void |
setClient(String client)
Allows setting the SAP client attribute. |
void |
setCommitCheckOn(boolean checkOn)
Allows adjusting the commit check attribute. |
void |
setKernelTrace(boolean traceOn)
Allows setting the kernel trace attribute. |
void |
setLock(boolean lock)
Allows setting the lock attribute. |
void |
setProgramName(String programName)
Allows setting the program name attribute. |
void |
setUnitHistory(boolean historyOn)
Allows setting the unit history attribute. |
void |
setUser(String userID)
Allows setting the user attribute. |
Method Detail |
---|
void setKernelTrace(boolean traceOn)
traceOn
- Turns on kernel trace if set to true, turns it off otherwiseboolean isKernelTraceOn()
void setUnitHistory(boolean historyOn)
historyOn
- Turns on the unit history if set to true, turns it off otherwiseboolean isUnitHistoryOn()
void setLock(boolean lock)
lock
- Locks the unit if set to true, otherwise nothing special happens.boolean isUnitLocked()
void setCommitCheckOn(boolean checkOn)
COMMIT WORK
.
In this case the unit is aborted with an error, because the transactional
integrity of this unit cannot be guaranteed.
By default, the commit check is turned off. Hence, the behavior mentioned above
is suppressed, meaning the unit will be executed anyway, even if one of its
function modules misbehaves and triggers a COMMIT WORK
.
checkOn
- turns on commit if set to true, turns it off, if set to falseboolean isCommitCheckOn()
void setUser(String userID)
userID
- The user to associate with the unit.String getUserID()
void setClient(String client)
client
- The SAP client to associate with the unit.String getClient()
void setProgramName(String programName)
programName
- The program name to associate with the unit.String getProgramName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |