net.sf.oxclient.communication.json
Class JSONQuery
java.lang.Object
net.sf.oxclient.communication.json.JSONQuery
- All Implemented Interfaces:
- CommunicationQuery, IQuery
@Guarded
public class JSONQuery
- extends Object
- implements CommunicationQuery
- Author:
- Björn Voß
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSONQuery
public JSONQuery(ICommunicationClient client,
String module,
IJSONMapper jsonMapper,
IParameterGenerator parameterGenerator)
JSONQuery
public JSONQuery(IJSONMapper jsonMapper,
IParameterGenerator parameterGenerator)
queryForList
public <E> List<E> queryForList(Class<E> elementClass)
- Specified by:
queryForList
in interface IQuery
queryForObject
public <E> E queryForObject(Class<E> elementClass)
- Specified by:
queryForObject
in interface IQuery
setParameters
public void setParameters(Map<String,String> params)
- Specified by:
setParameters
in interface IQuery
setPropertyColumns
public void setPropertyColumns(Map<Integer,String> propertyColumns)
- Specified by:
setPropertyColumns
in interface IQuery
setModule
public void setModule(@NotNull@NotEmpty
String module)
- Specified by:
setModule
in interface IQuery
- Parameters:
module
- the module to set
setClient
public void setClient(@NotNull
ICommunicationClient client)
- Specified by:
setClient
in interface CommunicationQuery
- Parameters:
client
- the client to set
queryForResponseString
public String queryForResponseString()
- Specified by:
queryForResponseString
in interface IQuery
Copyright © 2007. All Rights Reserved.