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
-
Method Summary
Modifier and TypeMethodDescriptionconcatCarVins
(List<Car> cars) void
findAllCars
(String viewName) getPojo()
void
void
int
methodWithListOfMapParam
(List<Map<String, BigDecimal>> param) methodWithOptionalArgs
(String arg1, String arg2, String arg3) int
methodWithPojoCollectionParameter
(List<TestPojo> pojoCollection) methodWithPojoCollectionParameter2
(List<TestPojo> pojoCollection) int
methodWithPrimitiveListArguments
(List<String> stringList, int[] intArray, int intArgument) void
overloadedMethod
(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) int
validatedMethod
(@Pattern(regexp="\\d+") String code) @NotNull String
validatedMethodResult
(@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
-