Package ru.clinicainfo.protocol
Class ClientInfoRequest
- java.lang.Object
-
- ru.clinicainfo.extended.CustomListViewDataSource
-
- ru.clinicainfo.protocol.CustomNetworkRequest
-
- ru.clinicainfo.protocol.CustomProtocolRequest
-
- ru.clinicainfo.protocol.CustomAuthRequest
-
- ru.clinicainfo.protocol.ClientInfoRequest
-
public class ClientInfoRequest extends CustomAuthRequest
Запрос на получение информации о пациенте
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classClientInfoRequest.ClientRepresentItemсписок пациентов, представителем которых является текущий авторизованный пациент-
Nested classes/interfaces inherited from class ru.clinicainfo.protocol.CustomAuthRequest
CustomAuthRequest.ClientMainInfo
-
Nested classes/interfaces inherited from class ru.clinicainfo.protocol.CustomProtocolRequest
CustomProtocolRequest.RequestStatusInfo
-
Nested classes/interfaces inherited from class ru.clinicainfo.protocol.CustomNetworkRequest
CustomNetworkRequest.NoConnectionException, CustomNetworkRequest.ServiceFailureException, CustomNetworkRequest.ServiceParserException, CustomNetworkRequest.ServiceUnavailableException
-
-
Field Summary
-
Fields inherited from class ru.clinicainfo.protocol.CustomAuthRequest
extpCode, pCode
-
Fields inherited from class ru.clinicainfo.protocol.CustomProtocolRequest
reqFilial, REQUEST_FAILURE, REQUEST_NOT_FILES, REQUEST_SUCCESS, RequestDateFormat, RequestDateTimeFormat
-
Fields inherited from class ru.clinicainfo.protocol.CustomNetworkRequest
REQUEST_HTTP_BAD_REQUEST, REQUEST_HTTP_CONFLICT, REQUEST_HTTP_GONE, REQUEST_HTTP_SUCCESS, REQUEST_HTTP_UNAUTHORIZED
-
-
Constructor Summary
Constructors Constructor Description ClientInfoRequest(ru.clinicainfo.medframework.SchedController controller, ru.clinicainfo.medframework.ImageController imageController)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ClientInfoRequest.ClientRepresentItem>getClientRepresentList()Gets client represent list.java.lang.StringgetFailureMessage()java.lang.StringgetMessageCode()voidreadResponseParams(ru.clinicainfo.xml.XMLItem params)voidwriteRequestParams(ru.clinicainfo.xml.XMLItem params)-
Methods inherited from class ru.clinicainfo.protocol.CustomAuthRequest
getClientMainInfo, toString
-
Methods inherited from class ru.clinicainfo.protocol.CustomProtocolRequest
executeRequest, getController, getImageController, getLayoutItemId, getListViewController, getMediaDescriptionUrl, getMediaImageUrl, getMediaMediumImageUrl, getMessageType, getRequestDataTag, getResponseDataTag, getRootTag, getStatusInfo, initListViewController, parseDateTimeFormat, readCheckData, setLayoutItemId, setRequestFilial
-
Methods inherited from class ru.clinicainfo.protocol.CustomNetworkRequest
getError, getExceptionMessage, getMessageFromDataJson, getMessageFromDataJson
-
-
-
-
Method Detail
-
getClientRepresentList
public java.util.List<ClientInfoRequest.ClientRepresentItem> getClientRepresentList()
Gets client represent list.- Returns:
- the client represent list
-
getMessageCode
public java.lang.String getMessageCode()
- Specified by:
getMessageCodein classCustomProtocolRequest
-
getFailureMessage
public java.lang.String getFailureMessage()
- Overrides:
getFailureMessagein classCustomNetworkRequest
-
writeRequestParams
public void writeRequestParams(ru.clinicainfo.xml.XMLItem params)
- Specified by:
writeRequestParamsin classCustomProtocolRequest
-
readResponseParams
public void readResponseParams(ru.clinicainfo.xml.XMLItem params) throws java.text.ParseException- Overrides:
readResponseParamsin classCustomAuthRequest- Throws:
java.text.ParseException
-
-