com.shephertz.app42.paas.sdk.jme
Class ServiceAPI

java.lang.Object
  extended by com.shephertz.app42.paas.sdk.jme.ServiceAPI

public class ServiceAPI
extends java.lang.Object

The ServiceAPI class is used to build the Service objects which are used to call various api methods.


Constructor Summary
ServiceAPI(java.lang.String apiKey, java.lang.String secretKey)
          This is a constructor that takes
 
Method Summary
 AlbumService buildAlbumService()
          Builds the instance of AlbumService.
 BillService buildBillService()
           
 CartService buildCartService()
          Builds the instance of CartService.
 CatalogueService buildCatalogueService()
          Builds the instance of CatalogueService.
 ChargeService buildChargeService()
          Builds the instance of Charge.
 CustomCodeService buildCustomCodeService()
           
 DiscountService buildDiscountService()
           
 EmailService buildEmailService()
          Builds the instance of EmailService.
 GameService buildGameService()
          Builds the instance of GameService.
 GeoService buildGeoService()
          Builds the instance of GeoService.
 ImageProcessorService buildImageProcessorService()
          Builds the instance of ImageProcessorService.
 LogService buildLogService()
          Builds the instance of LogService.
 PhotoService buildPhotoService()
          Builds the instance of PhotoService.
 QueueService buildQueueService()
          Builds the instance of QueueService.
 RecommenderService buildRecommenderService()
          Builds the instance of RecommenderService.
 ReviewService buildReviewService()
          Builds the instance of ReviewService.
 RewardService buildRewardService()
          Builds the instance of RewardService.
 SchemeService buildSchemeService()
          Builds the instance of Scheme.
 ScoreBoardService buildScoreBoardService()
          Builds the instance of ScoreBoardService.
 ScoreService buildScoreService()
          Builds the instance of ScoreService.
 SessionService buildSessionManager()
          Builds the instance of SessionService.
 SocialService buildSocialService()
          Builds the instance of SocialService.
 StorageService buildStorageService()
          Builds the instance of StorageService.
 SubscribeService buildSubscribeService()
          Builds the instance of Subscribe.
 UploadService buildUploadService()
          Builds the instance of UploadService.
 UserService buildUserService()
          Builds the instance of UserService.
 java.lang.String getApiKey()
          Retrieve the value of apiKey.
 java.lang.String getBaseURL()
          Retrieve the value of baseURL.
 Config getConfig()
          Retrieve the value of config object.
 java.lang.String getSecretKey()
          Retrieve the value of secretKey.
 void setApiKey(java.lang.String apiKey)
          Sets the value of apiKey
 void setBaseURL(java.lang.String protocol, java.lang.String host, java.lang.Integer port)
          Sets the value of Config.baseURL
 void setConfig(Config config)
          Sets the value of config object
 void setCustomCodeURL(java.lang.String url)
          Sets the value of Config.customcode
 void setSecretKey(java.lang.String secretKey)
          Sets the value of secretKey
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceAPI

public ServiceAPI(java.lang.String apiKey,
                  java.lang.String secretKey)
This is a constructor that takes

Parameters:
apiKey - key used in conjunction with secretKey for authentication
secretKey - key used in conjunction with apiKey for authentication
Method Detail

buildAlbumService

public AlbumService buildAlbumService()
Builds the instance of AlbumService.

Returns:
AlbumService - AlbumService Object
See Also:
AlbumService

buildBillService

public BillService buildBillService()

buildCartService

public CartService buildCartService()
Builds the instance of CartService.

Returns:
CartService - CartService Object
See Also:
CartService

buildCatalogueService

public CatalogueService buildCatalogueService()
Builds the instance of CatalogueService.

Returns:
CatalogueService - CatalogueService Object
See Also:
CatalogueService

buildChargeService

public ChargeService buildChargeService()
Builds the instance of Charge.

Returns:
Charge - Charge Object
See Also:
Charge

buildCustomCodeService

public CustomCodeService buildCustomCodeService()

buildDiscountService

public DiscountService buildDiscountService()

buildEmailService

public EmailService buildEmailService()
Builds the instance of EmailService.

Returns:
EmailService - EmailService Object
See Also:
EmailService

buildGameService

public GameService buildGameService()
Builds the instance of GameService.

Returns:
GameService - GameService Object
See Also:
GameService

buildGeoService

public GeoService buildGeoService()
Builds the instance of GeoService.

Returns:
GeoService - GeoService Object
See Also:
GeoService

buildImageProcessorService

public ImageProcessorService buildImageProcessorService()
Builds the instance of ImageProcessorService.

Returns:
ImageProcessorService - ImageProcessorService Object
See Also:
ImageProcessorService

buildLogService

public LogService buildLogService()
Builds the instance of LogService.

Returns:
LogService - LogService Object
See Also:
LogService

buildPhotoService

public PhotoService buildPhotoService()
Builds the instance of PhotoService.

Returns:
PhotoService - PhotoService Object
See Also:
PhotoService

buildQueueService

public QueueService buildQueueService()
Builds the instance of QueueService.

Returns:
QueueService - QueueService Object
See Also:
QueueService

buildRecommenderService

public RecommenderService buildRecommenderService()
Builds the instance of RecommenderService.

Returns:
RecommenderService - RecommenderService Object
See Also:
RecommenderService

buildReviewService

public ReviewService buildReviewService()
Builds the instance of ReviewService.

Returns:
ReviewService - ReviewService Object
See Also:
ReviewService

buildRewardService

public RewardService buildRewardService()
Builds the instance of RewardService.

Returns:
RewardService - RewardService Object
See Also:
RewardService

buildSchemeService

public SchemeService buildSchemeService()
Builds the instance of Scheme.

Returns:
Scheme - Scheme Object
See Also:
SchemeService

buildScoreBoardService

public ScoreBoardService buildScoreBoardService()
Builds the instance of ScoreBoardService.

Returns:
ScoreBoardService - ScoreBoardService Object
See Also:
ScoreBoardService

buildScoreService

public ScoreService buildScoreService()
Builds the instance of ScoreService.

Returns:
ScoreService - ScoreService Object
See Also:
ScoreService

buildSessionManager

public SessionService buildSessionManager()
Builds the instance of SessionService.

Returns:
SessionService - SessionService Object
See Also:
SessionService

buildSocialService

public SocialService buildSocialService()
Builds the instance of SocialService.

Returns:
SocialService - SocialService Object
See Also:
SocialService

buildStorageService

public StorageService buildStorageService()
Builds the instance of StorageService.

Returns:
StorageService - StorageService Object
See Also:
StorageService

buildSubscribeService

public SubscribeService buildSubscribeService()
Builds the instance of Subscribe.

Returns:
Subscribe - Subscribe Object
See Also:
SubscribeService

buildUploadService

public UploadService buildUploadService()
Builds the instance of UploadService.

Returns:
UploadService - UploadService Object
See Also:
UploadService

buildUserService

public UserService buildUserService()
Builds the instance of UserService.

Returns:
UserService - UserService Object
See Also:
UserService

getApiKey

public java.lang.String getApiKey()
Retrieve the value of apiKey.

Returns:
apiKey - A variable of String type

getBaseURL

public java.lang.String getBaseURL()
Retrieve the value of baseURL.

Returns:
Config.baseURL - A variable of String type

getConfig

public Config getConfig()
Retrieve the value of config object.

Returns:
Config object

getSecretKey

public java.lang.String getSecretKey()
Retrieve the value of secretKey.

Returns:
secretKey - A variable of String type

setApiKey

public void setApiKey(java.lang.String apiKey)
Sets the value of apiKey

Parameters:
apiKey - apiKey - A variable of String type

setBaseURL

public void setBaseURL(java.lang.String protocol,
                       java.lang.String host,
                       java.lang.Integer port)
Sets the value of Config.baseURL

Parameters:
protocol - protocol - A variable of String type
host - host - A variable of String type
port - port - A variable of Integer type

setConfig

public void setConfig(Config config)
Sets the value of config object

Parameters:
config - Config object
See Also:
Config

setCustomCodeURL

public void setCustomCodeURL(java.lang.String url)
Sets the value of Config.customcode

Parameters:
url - url - server url

setSecretKey

public void setSecretKey(java.lang.String secretKey)
Sets the value of secretKey

Parameters:
secretKey - secretKey - A variable of String type