public class PerformMethods extends Object
Constructor and Description |
---|
PerformMethods(AbstractConfig connectionStrategy) |
Modifier and Type | Method and Description |
---|---|
Integer |
performAdUnits(String queryString,
Map<String,Object> queryParams,
String adUnitAction)
Perform the chosen action over the Ad Units that match with the query string given by
parameter.
|
Integer |
performLineItems(String queryString,
Map<String,Object> queryParams,
String lineItemAction)
Perform the chosen action over the Line Items that match with the query string given by
parameter.
|
Integer |
performOrders(String queryString,
Map<String,Object> queryParams,
String orderAction)
Perform the chosen action over the Orders that match with the query string given by parameter.
|
Integer |
performUsers(String queryString,
Map<String,Object> queryParams,
String userAction)
Perform the chosen action over the Users that match with the query string given by parameter.
|
public PerformMethods(AbstractConfig connectionStrategy)
public Integer performAdUnits(String queryString, Map<String,Object> queryParams, String adUnitAction) throws AdManagerException
queryString
- the query string for the statementqueryParams
- a map with the query params included in the query stringadUnitAction
- Action for perform over the Ad Units that match with the query stringAdManagerException
- when : a) Exception is raised by the API, in this case a specific
AdManagerApiException
is thrown b) Exception is raised because of a
communication problem with the API AdManagerCommunicationException
c) Exception
is raised because of an incorrect action AdManagerException
public Integer performOrders(String queryString, Map<String,Object> queryParams, String orderAction) throws AdManagerException
queryString
- the query string for the statementqueryParams
- a map with the query params included in the query stringorderAction
- Action for perform over the Orders that match with the query stringAdManagerException
- when : a) Exception is raised by the API, in this case a specific
AdManagerApiException
is thrown b) Exception is raised because of a
communication problem with the API AdManagerCommunicationException
c) Exception
is raised because of an incorrect action AdManagerException
public Integer performLineItems(String queryString, Map<String,Object> queryParams, String lineItemAction) throws AdManagerException
queryString
- the query string for the statementqueryParams
- a map with the query params included in the query stringlineItemAction
- Action for perform over the Line Items that match with the query stringAdManagerException
- when : a) Exception is raised by the API, in this case a specific
AdManagerApiException
is thrown b) Exception is raised because of a
communication problem with the API AdManagerCommunicationException
c) Exception
is raised because of an incorrect action AdManagerException
public Integer performUsers(String queryString, Map<String,Object> queryParams, String userAction) throws AdManagerException
queryString
- the query string for the statementqueryParams
- a map with the query params included in the query stringuserAction
- Action for perform over the Users that match with the query stringAdManagerException
- when : a) Exception is raised by the API, in this case a specific
AdManagerApiException
is thrown b) Exception is raised because of a
communication problem with the API AdManagerCommunicationException
c) Exception
is raised because of an incorrect action AdManagerException
Copyright © 2010–2019. All rights reserved.