public class PerformMethods extends Object
Constructor and Description |
---|
PerformMethods(AbstractConfig connectionStrategy)
Initialise the perform methods with the specified connection strategy.
|
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 |
performCustomFields(String queryString,
Map<String,Object> queryParams,
String customFieldAction)
Perform the chosen action over the CustomFields that match with the query
string given by parameter.
|
Integer |
performCustomTargetingKeys(String queryString,
Map<String,Object> queryParams,
String customTargetingKeyAction)
Perform the chosen action over the Custom Targeting Keys that match with the
query string given by parameter.
|
Integer |
performCustomTargetingValues(String queryString,
Map<String,Object> queryParams,
String customTargetingValueAction)
Perform the chosen action over the Custom Targeting Values 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 |
performPlacements(String queryString,
Map<String,Object> queryParams,
String placementAction)
Perform the chosen action over the Placements 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)
connectionStrategy
- the connection strategy used to connect to the APIpublic 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
public Integer performPlacements(String queryString, Map<String,Object> queryParams, String placementAction) throws AdManagerException
queryString
- the query string for the statementqueryParams
- a map with the query params included in the query stringplacementAction
- Action for perform over the Placements 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 performCustomFields(String queryString, Map<String,Object> queryParams, String customFieldAction) throws AdManagerException
queryString
- the query string for the statementqueryParams
- a map with the query parameters included in the query stringcustomFieldAction
- Action for perform over the CustomFields 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 performCustomTargetingKeys(String queryString, Map<String,Object> queryParams, String customTargetingKeyAction) throws AdManagerException
queryString
- the query string for the statementqueryParams
- a map with the query params included in the query stringcustomTargetingKeyAction
- Action for perform over the Custom Targeting Keys 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 performCustomTargetingValues(String queryString, Map<String,Object> queryParams, String customTargetingValueAction) throws AdManagerException
queryString
- the query string for the statementqueryParams
- a map with the query params included in the query stringcustomTargetingValueAction
- Action for perform over the Custom Targeting Values 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.