Package io.dialob.client.spi
Class DialobTypesMapperImpl
- java.lang.Object
-
- io.dialob.client.spi.DialobTypesMapperImpl
-
- All Implemented Interfaces:
DialobClient.TypesMapper
public class DialobTypesMapperImpl extends Object implements DialobClient.TypesMapper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDialobTypesMapperImpl.DialobJsonException
-
Constructor Summary
Constructors Constructor Description DialobTypesMapperImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> TdoInMapper(io.dialob.client.spi.DialobTypesMapperImpl.MapperFunction<T> input)io.dialob.api.form.FormreadForm(String entity)DialobDocument.FormDocumentreadFormDoc(String entity)DialobDocument.FormRevisionDocumentreadFormRevDoc(String entity)io.dialob.api.questionnaire.QuestionnairereadQuestionnaire(InputStream entity)DialobDocument.FormReleaseDocumentreadReleaseDoc(String entity)DialobDocument.FormDocumenttoFormDoc(DialobStore.StoreEntity store)DialobDocument.FormReleaseDocumenttoFormReleaseDoc(DialobStore.StoreEntity store)DialobDocument.FormRevisionDocumenttoFormRevDoc(DialobStore.StoreEntity store)StringtoJson(Object anyObject)StringtoStoreBody(DialobDocument.FormDocument anyObject)StringtoStoreBody(DialobDocument.FormReleaseDocument anyObject)StringtoStoreBody(DialobDocument.FormRevisionDocument anyObject)StringtoString(InputStream entity)
-
-
-
Method Detail
-
toJson
public String toJson(Object anyObject)
- Specified by:
toJsonin interfaceDialobClient.TypesMapper
-
readFormDoc
public DialobDocument.FormDocument readFormDoc(String entity)
- Specified by:
readFormDocin interfaceDialobClient.TypesMapper
-
readQuestionnaire
public io.dialob.api.questionnaire.Questionnaire readQuestionnaire(InputStream entity)
- Specified by:
readQuestionnairein interfaceDialobClient.TypesMapper
-
toString
public String toString(InputStream entity)
- Specified by:
toStringin interfaceDialobClient.TypesMapper
-
toStoreBody
public String toStoreBody(DialobDocument.FormRevisionDocument anyObject)
- Specified by:
toStoreBodyin interfaceDialobClient.TypesMapper
-
toStoreBody
public String toStoreBody(DialobDocument.FormDocument anyObject)
- Specified by:
toStoreBodyin interfaceDialobClient.TypesMapper
-
toStoreBody
public String toStoreBody(DialobDocument.FormReleaseDocument anyObject)
- Specified by:
toStoreBodyin interfaceDialobClient.TypesMapper
-
readForm
public io.dialob.api.form.Form readForm(String entity)
- Specified by:
readFormin interfaceDialobClient.TypesMapper
-
readReleaseDoc
public DialobDocument.FormReleaseDocument readReleaseDoc(String entity)
- Specified by:
readReleaseDocin interfaceDialobClient.TypesMapper
-
readFormRevDoc
public DialobDocument.FormRevisionDocument readFormRevDoc(String entity)
- Specified by:
readFormRevDocin interfaceDialobClient.TypesMapper
-
toFormReleaseDoc
public DialobDocument.FormReleaseDocument toFormReleaseDoc(DialobStore.StoreEntity store)
- Specified by:
toFormReleaseDocin interfaceDialobClient.TypesMapper
-
toFormRevDoc
public DialobDocument.FormRevisionDocument toFormRevDoc(DialobStore.StoreEntity store)
- Specified by:
toFormRevDocin interfaceDialobClient.TypesMapper
-
toFormDoc
public DialobDocument.FormDocument toFormDoc(DialobStore.StoreEntity store)
- Specified by:
toFormDocin interfaceDialobClient.TypesMapper
-
doInMapper
public <T> T doInMapper(io.dialob.client.spi.DialobTypesMapperImpl.MapperFunction<T> input)
-
-