public class EudonetClient extends Object
Constructor and Description |
---|
EudonetClient(String baseUrl) |
EudonetClient(String baseUrl,
String userName,
String password) |
Modifier and Type | Method and Description |
---|---|
com.sun.jersey.api.client.ClientResponse |
addAnnexes(String strAuthenticate,
String strBodyJson)
add a Annexes
|
com.sun.jersey.api.client.ClientResponse |
createRecord(String strAuthenticate,
String strIdTable,
String strBodyJson)
create a new record in the table strIdTable
|
com.sun.jersey.api.client.ClientResponse |
deleteRecord(String strAuthenticate,
String strIdTable,
String strIdRecord)
delete the record
|
com.sun.jersey.api.client.ClientResponse |
getAttributListMetaInfos(String strAuthenticate,
String strBodyJson)
get a MetaInfos
|
static com.sun.jersey.api.client.Client |
getClient() |
static EudonetClient |
getService(String baseUrl) |
com.sun.jersey.api.client.ClientResponse |
getTableListMetaInfos(String strAuthenticate)
get a MetaInfos
|
com.sun.jersey.api.client.ClientResponse |
getTokenAuthenticate(String strAuthenticateJson)
return the token
|
static com.sun.jersey.api.client.WebResource |
getWebResource() |
com.sun.jersey.api.client.ClientResponse |
searchFastRecord(String strAuthenticate,
String strIdTable,
String strBodyJson)
search records
|
com.sun.jersey.api.client.ClientResponse |
searchRecordByCrieria(String strAuthenticate,
String strIdTable,
String strBodyJson)
search records by Crieria
|
com.sun.jersey.api.client.ClientResponse |
searchRecordById(String strAuthenticate,
String strIdTable,
String strIdRecord)
search a record by id
|
com.sun.jersey.api.client.ClientResponse |
updateRecord(String strAuthenticate,
String strIdTable,
String strBodyJson,
String strIdRecord)
update the record
|
public EudonetClient(String baseUrl)
public static EudonetClient getService(String baseUrl)
public com.sun.jersey.api.client.ClientResponse getTokenAuthenticate(String strAuthenticateJson)
strUrlApi
- strAuthenticateJson
- public com.sun.jersey.api.client.ClientResponse createRecord(String strAuthenticate, String strIdTable, String strBodyJson)
strUrlApi
- strAuthenticate
- strIdTable
- strBodyJson
- public com.sun.jersey.api.client.ClientResponse updateRecord(String strAuthenticate, String strIdTable, String strBodyJson, String strIdRecord)
strUrlApi
- strAuthenticate
- strIdTable
- strBodyJson
- strIdRecord
- public com.sun.jersey.api.client.ClientResponse deleteRecord(String strAuthenticate, String strIdTable, String strIdRecord)
strUrlApi
- strAuthenticate
- strIdTable
- strIdRecord
- public com.sun.jersey.api.client.ClientResponse searchRecordById(String strAuthenticate, String strIdTable, String strIdRecord)
strUrlApi
- strAuthenticate
- strIdTable
- strIdRecord
- public com.sun.jersey.api.client.ClientResponse searchRecordByCrieria(String strAuthenticate, String strIdTable, String strBodyJson)
strUrlApi
- strAuthenticate
- strIdTable
- strBodyJson
- public com.sun.jersey.api.client.ClientResponse searchFastRecord(String strAuthenticate, String strIdTable, String strBodyJson)
strUrlApi
- strAuthenticate
- strIdTable
- strBodyJson
- public com.sun.jersey.api.client.ClientResponse addAnnexes(String strAuthenticate, String strBodyJson)
strUrlApi
- strAuthenticate
- strBodyJson
- public com.sun.jersey.api.client.ClientResponse getAttributListMetaInfos(String strAuthenticate, String strBodyJson)
strAuthenticate
- strBodyJson
- public com.sun.jersey.api.client.ClientResponse getTableListMetaInfos(String strAuthenticate)
strAuthenticate
- public static com.sun.jersey.api.client.Client getClient()
public static com.sun.jersey.api.client.WebResource getWebResource()
Copyright © 2018 City of Paris. All rights reserved.