Package org.apache.ofbiz.common
Class CommonServices
java.lang.Object
org.apache.ofbiz.common.CommonServices
Common Services
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadjustDebugLevels
(DispatchContext dctc, Map<String, ?> context) Service for setting debugging levels.blockingTestService
(DispatchContext dctx, Map<String, ?> context) byteBufferTest
(DispatchContext dctx, Map<String, ?> context) conditionFalseService
(DispatchContext dctx, Map<String, ?> context) Return FALSE Service; ECA Condition ServiceconditionTrueService
(DispatchContext dctx, Map<String, ?> context) Return TRUE Service; ECA Condition ServicecreateNote
(DispatchContext ctx, Map<String, ?> context) Create Note RecorddisplayXaDebugInfo
(DispatchContext dctx, Map<String, ?> context) echoService
(DispatchContext dctx, Map<String, ?> context) Echo service; returns exactly what was sent.entityFailTest
(DispatchContext dctx, Map<String, ?> context) Cause a Referential Integrity ErrorentitySortTest
(DispatchContext dctx, Map<String, ?> context) Test entity sortingforceGc
(DispatchContext dctx, Map<String, ?> context) getAllMetrics
(DispatchContext dctx, Map<String, ?> context) makeALotOfVisits
(DispatchContext dctx, Map<String, ?> context) mcaTest
(DispatchContext dctx, Map<String, ?> context) ping
(DispatchContext dctx, Map<String, ?> context) resetMetric
(DispatchContext dctx, Map<String, ?> context) returnErrorService
(DispatchContext dctx, Map<String, ?> context) Return Error Service; Used for testing error handlingstreamTest
(DispatchContext dctx, Map<String, ?> context) testCommitListener
(DispatchContext dctx, Map<String, ?> context) testRollbackListener
(DispatchContext dctx, Map<String, ?> context) testService
(DispatchContext dctx, Map<String, ?> context) Generic Test ServicetestSOAPService
(DispatchContext dctx, Map<String, ?> context) Generic Test SOAP ServiceuploadTest
(DispatchContext dctx, Map<String, ?> context)
-
Constructor Details
-
CommonServices
public CommonServices()
-
-
Method Details
-
testService
Generic Test Service- Parameters:
dctx
- The DispatchContext that this service is operating incontext
- Map containing the input parameters- Returns:
- Map with the result of the service, the output parameters
-
testSOAPService
Generic Test SOAP Service- Parameters:
dctx
- The DispatchContext that this service is operating incontext
- Map containing the input parameters- Returns:
- Map with the result of the service, the output parameters
-
blockingTestService
-
testRollbackListener
-
testCommitListener
-
createNote
Create Note Record- Parameters:
ctx
- The DispatchContext that this service is operating incontext
- Map containing the input parameters- Returns:
- Map with the result of the service, the output parameters
-
adjustDebugLevels
Service for setting debugging levels.- Parameters:
dctc
- The DispatchContext that this service is operating incontext
- Map containing the input parameters- Returns:
- Map with the result of the service, the output parameters
-
forceGc
-
echoService
Echo service; returns exactly what was sent. This service does not have required parameters and does not validate -
returnErrorService
Return Error Service; Used for testing error handling -
conditionTrueService
Return TRUE Service; ECA Condition Service -
conditionFalseService
Return FALSE Service; ECA Condition Service -
entityFailTest
Cause a Referential Integrity Error -
entitySortTest
Test entity sorting -
makeALotOfVisits
-
displayXaDebugInfo
-
byteBufferTest
-
uploadTest
-
mcaTest
-
streamTest
-
ping
-
getAllMetrics
-
resetMetric
-