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 DfpException
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 stringDfpException
- when : a) Exception is raised by the API, in this case a specific DfpApiException
is thrown
b) Exception is raised because of a communication problem with the API DfpCommunicationException
c) Exception is raised because of an incorrect action DfpException
public Integer performOrders(String queryString, Map<String,Object> queryParams, String orderAction) throws DfpException
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 stringDfpException
- when : a) Exception is raised by the API, in this case a specific DfpApiException
is thrown
b) Exception is raised because of a communication problem with the API DfpCommunicationException
c) Exception is raised because of an incorrect action DfpException
public Integer performLineItems(String queryString, Map<String,Object> queryParams, String lineItemAction) throws DfpException
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 stringDfpException
- when : a) Exception is raised by the API, in this case a specific DfpApiException
is thrown
b) Exception is raised because of a communication problem with the API DfpCommunicationException
c) Exception is raised because of an incorrect action DfpException
public Integer performUsers(String queryString, Map<String,Object> queryParams, String userAction) throws DfpException
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 stringDfpException
- when : a) Exception is raised by the API, in this case a specific DfpApiException
is thrown
b) Exception is raised because of a communication problem with the API DfpCommunicationException
c) Exception is raised because of an incorrect action DfpException
Copyright © 2010–2018. All rights reserved.