Package io.jmix.samples.rest.service
Class RestTestServiceBean
java.lang.Object
io.jmix.samples.rest.service.RestTestServiceBean
- All Implemented Interfaces:
RestTestService
@Service("jmix_RestTestService")
public class RestTestServiceBean
extends Object
implements RestTestService
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DataManagerprotected FetchPlanRepositoryprotected MetadataFields inherited from interface io.jmix.samples.rest.service.RestTestService
NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconcatCarVins(List<Car> cars) voidfindAllCars(String viewName) getPojo()voidvoidintmethodWithListOfMapParam(List<Map<String, BigDecimal>> param) methodWithOptionalArgs(String arg1, String arg2, String arg3) intmethodWithPojoCollectionParameter(List<TestPojo> pojoCollection) methodWithPojoCollectionParameter2(List<TestPojo> pojoCollection) intmethodWithPrimitiveListArguments(List<String> stringList, int[] intArray, int intArgument) voidoverloadedMethod(int param) overloadedMethod(String param) overloadedMethodWithOptionalArgs(String arg1, String arg2) testBigDecimalParam(BigDecimal param) testDateParam(Date param) testJavaTimeParam(LocalDate localDate, LocalDateTime localDateTime, LocalTime localTime, OffsetDateTime offsetDateTime, OffsetTime offsetTime, Time time) testNullParam(UUID uuid) updateCarVin(Car car, String vin) updateCarVins(List<Car> cars, String vin) intvalidatedMethod(String code) validatedMethodResult(String code)
-
Field Details
-
metadata
-
dataManager
-
fetchPlanRepository
-
-
Constructor Details
-
RestTestServiceBean
public RestTestServiceBean()
-
-
Method Details
-
emptyMethod
public void emptyMethod()- Specified by:
emptyMethodin interfaceRestTestService
-
notPermittedMethod
public void notPermittedMethod()- Specified by:
notPermittedMethodin interfaceRestTestService
-
sum
- Specified by:
sumin interfaceRestTestService
-
methodWithCustomException
public void methodWithCustomException()- Specified by:
methodWithCustomExceptionin interfaceRestTestService
-
methodWithException
public void methodWithException()- Specified by:
methodWithExceptionin interfaceRestTestService
-
overloadedMethod
- Specified by:
overloadedMethodin interfaceRestTestService
-
overloadedMethod
- Specified by:
overloadedMethodin interfaceRestTestService
-
findCar
- Specified by:
findCarin interfaceRestTestService
-
findAllCars
- Specified by:
findAllCarsin interfaceRestTestService
-
updateCarVin
- Specified by:
updateCarVinin interfaceRestTestService
-
concatCarVins
- Specified by:
concatCarVinsin interfaceRestTestService
-
updateCarVins
- Specified by:
updateCarVinsin interfaceRestTestService
-
testNullParam
- Specified by:
testNullParamin interfaceRestTestService
-
testDateParam
- Specified by:
testDateParamin interfaceRestTestService
-
testJavaTimeParam
public String testJavaTimeParam(LocalDate localDate, LocalDateTime localDateTime, LocalTime localTime, OffsetDateTime offsetDateTime, OffsetTime offsetTime, Time time) - Specified by:
testJavaTimeParamin interfaceRestTestService
-
testBigDecimalParam
- Specified by:
testBigDecimalParamin interfaceRestTestService
-
getPojo
- Specified by:
getPojoin interfaceRestTestService- Throws:
Exception
-
getPojoList
- Specified by:
getPojoListin interfaceRestTestService- Throws:
ParseException
-
methodWithPojoParameter
- Specified by:
methodWithPojoParameterin interfaceRestTestService
-
methodWithPojoCollectionParameter
- Specified by:
methodWithPojoCollectionParameterin interfaceRestTestService
-
methodWithPojoCollectionParameter2
- Specified by:
methodWithPojoCollectionParameter2in interfaceRestTestService
-
validatedMethod
- Specified by:
validatedMethodin interfaceRestTestService
-
validatedMethodResult
- Specified by:
validatedMethodResultin interfaceRestTestService
-
notPersistedEntity
- Specified by:
notPersistedEntityin interfaceRestTestService
-
methodWithPrimitiveListArguments
public List<String> methodWithPrimitiveListArguments(List<String> stringList, int[] intArray, int intArgument) - Specified by:
methodWithPrimitiveListArgumentsin interfaceRestTestService
-
getPojosWithNestedEntity
- Specified by:
getPojosWithNestedEntityin interfaceRestTestService
-
getPojosWithNestedEntityWithView
- Specified by:
getPojosWithNestedEntityWithViewin interfaceRestTestService
-
methodWithListOfMapParam
- Specified by:
methodWithListOfMapParamin interfaceRestTestService
-
methodReturnsListOfMap
- Specified by:
methodReturnsListOfMapin interfaceRestTestService
-
getNotPersistentStringIdEntity
- Specified by:
getNotPersistentStringIdEntityin interfaceRestTestService
-
methodWithOptionalArgs
- Specified by:
methodWithOptionalArgsin interfaceRestTestService
-
overloadedMethodWithOptionalArgs
- Specified by:
overloadedMethodWithOptionalArgsin interfaceRestTestService
-
overloadedMethodWithOptionalArgs
- Specified by:
overloadedMethodWithOptionalArgsin interfaceRestTestService
-