Class ContentTokenAPI

  • All Implemented Interfaces:
    com.cheetahdigital.corekit.rest.RestController

    public class ContentTokenAPI
    extends com.cheetahdigital.corekit.models.module.Controller
    Class for setting the query parameters of Content Token API. All Nullable parameters means you can remove the parameter by passing a null 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, com.cheetahdigital.corekit.models.module.ListenerModel<com.cheetahdigital.corekit.models.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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ContentTokenAPI

        public ContentTokenAPI()
    • Method Detail

      • getContentTokens

        public void getContentTokens​(ContentTokenParams contentTokenParams,
                                     boolean clearCache,
                                     com.cheetahdigital.corekit.models.module.ListenerModel<com.cheetahdigital.corekit.models.BaseModel<java.util.HashMap<java.lang.String,​ContentToken>>,​java.util.HashMap<java.lang.String,​ContentToken>> listener)
        Get All ContentTokens
        Parameters:
        contentTokenParams - the ContentTokenParams for Content Token API
        clearCache - set to true to clear previously stored cache
        listener - callback to handle the results