Package io.jmix.samples.rest.service
Interface RestTestService
- All Known Implementing Classes:
RestTestServiceBean
@Validated
public interface RestTestService
Service is used in functional tests
-
Field Summary
Fields -
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(@Pattern(regexp="\\d+") String code) @NotNull StringvalidatedMethodResult(@Pattern(regexp="\\d+") String code)
-
Field Details
-
NAME
- See Also:
-
-
Method Details
-
emptyMethod
void emptyMethod() -
notPermittedMethod
void notPermittedMethod() -
sum
-
methodWithCustomException
void methodWithCustomException() -
methodWithException
void methodWithException() -
overloadedMethod
-
overloadedMethod
-
findCar
-
findAllCars
-
updateCarVin
-
concatCarVins
-
updateCarVins
-
testNullParam
-
testDateParam
-
testJavaTimeParam
String testJavaTimeParam(LocalDate localDate, LocalDateTime localDateTime, LocalTime localTime, OffsetDateTime offsetDateTime, OffsetTime offsetTime, Time time) -
testBigDecimalParam
-
getPojosWithNestedEntity
List<PojoWithNestedEntity> getPojosWithNestedEntity() -
getPojo
- Throws:
Exception
-
getPojoList
- Throws:
ParseException
-
methodWithPojoParameter
-
methodWithPojoCollectionParameter
-
methodWithPojoCollectionParameter2
-
validatedMethod
-
validatedMethodResult
-
notPersistedEntity
ModelEntity notPersistedEntity() -
methodWithPrimitiveListArguments
-
getPojosWithNestedEntityWithView
List<PojoWithNestedEntity> getPojosWithNestedEntityWithView() -
methodWithListOfMapParam
-
methodReturnsListOfMap
-
getNotPersistentStringIdEntity
NotPersistentStringIdEntity getNotPersistentStringIdEntity() -
methodWithOptionalArgs
-
overloadedMethodWithOptionalArgs
-
overloadedMethodWithOptionalArgs
-