Class ContentTokenAPI
- java.lang.Object
-
- com.cheetahdigital.corekit.models.module.Controller
-
- com.cheetahdigital.content.core.api.contenttoken.ContentTokenAPI
-
- All Implemented Interfaces:
RestController
public class ContentTokenAPI extends Controller
Class for setting the query parameters of Content Token API. AllNullable
parameters means you can remove the parameter by passing anull
value.
-
-
Field Summary
-
Fields inherited from class com.cheetahdigital.corekit.models.module.Controller
STANDARD_DATE_FORMAT, TIMEZONE_DATE_FORMAT
-
-
Constructor Summary
Constructors Constructor Description ContentTokenAPI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getContentTokens(ContentTokenParams contentTokenParams, boolean clearCache, ListenerModel<BaseModel<java.util.HashMap<java.lang.String,ContentToken>>,java.util.HashMap<java.lang.String,ContentToken>> listener)
Get All ContentTokens-
Methods inherited from class com.cheetahdigital.corekit.models.module.Controller
createCache, createHttpClient, createRetrofitInterface, evictAllCache, getGsonConfiguration, getRestAdapter, getTimeoutConnectionInSeconds, getTimeoutSocketInSeconds, initialize, removeResponsesFromCache
-
-
-
-
Method Detail
-
getContentTokens
public void getContentTokens(ContentTokenParams contentTokenParams, boolean clearCache, ListenerModel<BaseModel<java.util.HashMap<java.lang.String,ContentToken>>,java.util.HashMap<java.lang.String,ContentToken>> listener)
Get All ContentTokens- Parameters:
contentTokenParams
- theContentTokenParams
for Content Token APIclearCache
- set totrue
to clear previously stored cachelistener
- callback to handle the results
-
-