|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.shephertz.app42.paas.sdk.jme.appTab.SchemeService
public class SchemeService
PackageService
,
SchemeData
,
App42Response
Constructor Summary | |
---|---|
SchemeService(java.lang.String apiKey,
java.lang.String secretKey,
java.lang.String baseURL)
This is a constructor that takes |
Method Summary | |
---|---|
SchemeData |
addBandwidthInToPackage(java.lang.String schemeName,
java.lang.String packageName,
java.lang.String bandwidthName)
Add bandwidthPackage into the existing package |
SchemeData |
addFeatureInToPackage(java.lang.String schemeName,
java.lang.String packageName,
java.util.Vector featureList)
Add a feature into existing package |
SchemeData |
addLimitToBandwidth(java.lang.String schemeName,
java.lang.String packageName,
java.lang.String bandwidthName,
java.lang.Double price,
java.lang.String unit,
java.lang.Double bandwidth)
|
SchemeData |
addLimitToStorage(java.lang.String schemeName,
java.lang.String packageName,
java.lang.String storageName,
java.lang.Double price,
java.lang.String unit,
java.lang.Double space)
Add StoageLimit into existing package |
SchemeData |
addStorageInToPackage(java.lang.String schemeName,
java.lang.String packageName,
java.lang.String storageName)
Add a storagePackage into the existing package |
SchemeData |
createPackage(java.lang.String schemeName,
SchemeData.PackageData pkgData)
Create a package for the specified scheme |
SchemeData |
createPackageWithUsage(java.lang.String schemeName,
SchemeData.PackageData pkgData)
Create a package with different types of packages |
SchemeData |
createScheme(java.lang.String schemeName,
java.lang.String description)
Create a schemeName which should be unique |
SchemeData |
getAllPackages(java.lang.String schemeName)
Fetch the details based on scheme |
java.util.Vector |
getAllSchemes()
Get all the details of scheme |
SchemeData |
getPackageByPackageName(java.lang.String schemeName,
java.lang.String packageName)
Fetch the details of package for a scheme |
SchemeData |
getSchemeByName(java.lang.String schemeName)
Get the scheme details based on schemeName |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SchemeService(java.lang.String apiKey, java.lang.String secretKey, java.lang.String baseURL)
apiKey
- secretKey
- baseURL
- Method Detail |
---|
public SchemeData addBandwidthInToPackage(java.lang.String schemeName, java.lang.String packageName, java.lang.String bandwidthName) throws App42Exception
schemeName
- - Name of the scheme in which you add packagepackageName
- - Name of the package in which you wan't to add bandwidth,
description.bandwidthName
- -Name of the bandwidth you wan't to add in package
App42Exception
public SchemeData addFeatureInToPackage(java.lang.String schemeName, java.lang.String packageName, java.util.Vector featureList) throws App42Exception
schemeName
- - Name of the scheme in which feature has to be addedpackageName
- - Name of the package in which feature has to be addedfeatureList
- - List of features Name you want't to add in package
App42Exception
public SchemeData addLimitToBandwidth(java.lang.String schemeName, java.lang.String packageName, java.lang.String bandwidthName, java.lang.Double price, java.lang.String unit, java.lang.Double bandwidth) throws App42Exception
schemeName
- - Name of the scheme in which bandwidthLimit has to be addedpackageName
- - Name of the package in which bandwidthLimit has to be addedbandwidthName
- - Name of the bandwidth in which limit has to be addedprice
- - Price for the limit objectunit
- - Unit for the limit objectbandwidth
- - Bandwidth for the limit object
App42Exception
public SchemeData addLimitToStorage(java.lang.String schemeName, java.lang.String packageName, java.lang.String storageName, java.lang.Double price, java.lang.String unit, java.lang.Double space) throws App42Exception
schemeName
- - Name of the scheme in which storageLimit has to be addedpackageName
- - Name of the package in which storageLimit has to be addedstorageName
- -Name of the storage in which limit has to be addedprice
- - Price for the limit objectunit
- - Unit for the limit objectspace
- - Space for the limit object
App42Exception
public SchemeData addStorageInToPackage(java.lang.String schemeName, java.lang.String packageName, java.lang.String storageName) throws App42Exception
schemeName
- - Name of the scheme in which you add packagepackageName
- - Name of the package in which you wan't to add storage,
description.storageName
- -Name of the storage you wan't to add in package
App42Exception
public SchemeData createPackage(java.lang.String schemeName, SchemeData.PackageData pkgData) throws App42Exception
schemeName
- - Name for which you want to create packagepkgData
- - Details of the package like name, duration, price, currency,
description.
App42Exception
public SchemeData createPackageWithUsage(java.lang.String schemeName, SchemeData.PackageData pkgData) throws App42Exception
schemeName
- - Name of the scheme for which you want to create a packagepkgData
- - pkgData contails the details of package
App42Exception
public SchemeData createScheme(java.lang.String schemeName, java.lang.String description) throws App42Exception
schemeName
- - Name of the scheme you want to be createdescription
- - Description of the scheme
App42Exception
public SchemeData getAllPackages(java.lang.String schemeName) throws App42Exception
schemeName
- - Name of the scheme you wan't to retrieve
App42Exception
public java.util.Vector getAllSchemes() throws App42Exception
App42Exception
public SchemeData getPackageByPackageName(java.lang.String schemeName, java.lang.String packageName) throws App42Exception
schemeName
- - Name of the scheme from which package has to be fetchedpackageName
- - Name of the package from which package has to be fetched
App42Exception
public SchemeData getSchemeByName(java.lang.String schemeName) throws App42Exception
schemeName
- - Name of the scheme to retrieve
App42Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |