| Package | Description |
|---|---|
| org.wso2.carbon.appmgt.api | |
| org.wso2.carbon.appmgt.api.model |
| Modifier and Type | Method and Description |
|---|---|
APIIdentifier |
APISubscriptions.getApiId() |
APIIdentifier |
APISubscriptionCount.getApiId() |
| Modifier and Type | Method and Description |
|---|---|
List<APIIdentifier> |
APIProvider.getAssociatedApps(int policyPartialId)
Get the apps which use the given policy partial
|
List<APIIdentifier> |
APIConsumer.getFavouriteApps(String username,
int tenantIdOfUser,
int tenantIdOfStore,
WebAppSortOption sortOption)
Returns favourite apps of given user for given tenant store based on given sorting option.
|
List<APIIdentifier> |
APIConsumer.getUserAccessibleApps(String username,
int tenantIdOfUser,
int tenantIdOfStore,
WebAppSortOption sortOption,
boolean treatAsSite)
Returns the accessible web apps(anonymous + subscribed) of given user for given tenant store.
|
List<APIIdentifier> |
APIConsumer.searchFavouriteApps(String username,
int tenantIdOfUser,
int tenantIdOfStore,
WebAppSearchOption searchOption,
String searchValue)
Returns favourite apps of user for given tenant store based on given search criteria.
|
List<APIIdentifier> |
APIConsumer.searchUserAccessibleApps(String username,
int tenantIdOfUser,
int tenantIdOfStore,
boolean treatAsSite,
WebAppSearchOption searchOption,
String searchValue)
Returns accessible apps(anonymous + subscribed) of given user based on give search option.
|
| Modifier and Type | Method and Description |
|---|---|
void |
APIProvider.addAPIDefinitionContent(APIIdentifier identifier,
String documentationName,
String text)
This method used to update the WebApp definition content - Swagger
|
void |
APIProvider.addDocumentation(APIIdentifier apiId,
Documentation documentation)
Adds Documentation to an WebApp
|
void |
APIProvider.addDocumentationContent(APIIdentifier identifier,
String documentationName,
String text)
This method used to save the documentation content
|
String |
APIConsumer.addSubscription(APIIdentifier identifier,
String subscriptionType,
String userId,
int applicationId,
String trustedIdp)
Add new Subscriber
|
void |
APIConsumer.addToFavouriteApps(APIIdentifier identifier,
String username,
int tenantIdOfUser,
int tenantIdOfStore)
Add the given app as favourite app for given user.
|
void |
APIProvider.copyAllDocumentation(APIIdentifier apiId,
String toVersion)
Copies current Documentation into another version of the same WebApp.
|
boolean |
APIProvider.deleteApp(APIIdentifier identifier,
SSOProvider ssoProvider,
String authorizedAdminCookie)
Delete an WebApp
|
void |
APIProvider.generateEntitlementPolicies(APIIdentifier apiIdentifier,
String authorizedAdminCookie)
Generates entitlement policies for the given app.
|
List<Documentation> |
APIManager.getAllDocumentation(APIIdentifier appId)
Returns a list of documentation attached to a particular WebApp
|
List<Documentation> |
APIManager.getAllDocumentation(APIIdentifier apiId,
String loggedUserName)
Returns a list of documentation attached to a particular WebApp
|
WebApp |
APIManager.getAPI(APIIdentifier identifier)
Returns details of an WebApp
|
long |
APIProvider.getAPISubscriptionCountByAPI(APIIdentifier identifier)
this method returns the Set
|
Usage |
APIProvider.getAPIUsageBySubscriber(APIIdentifier apiIdentifier,
String consumerEmail)
Shows how a given consumer uses the given WebApp.
|
Documentation |
APIManager.getDocumentation(APIIdentifier apiId,
DocumentationType docType,
String docName)
Returns the specified document attached to the given WebApp
|
String |
APIManager.getDocumentationContent(APIIdentifier identifier,
String documentationName)
This method used to get the content of a documentation
|
Set<AppStore> |
APIProvider.getExternalAppStores(APIIdentifier identifier)
Get the external app stores for given identifier.
|
Icon |
APIManager.getIcon(APIIdentifier identifier)
Retrieves the icon image associated with a particular WebApp as a stream.
|
List<LifeCycleEvent> |
APIProvider.getLifeCycleEvents(APIIdentifier apiId)
Returns the details of all the life-cycle changes done per WebApp.
|
Set<SubscribedAPI> |
APIConsumer.getSubscribedIdentifiers(Subscriber subscriber,
APIIdentifier identifier) |
Set<Subscriber> |
APIProvider.getSubscribersOfAPI(APIIdentifier identifier)
Returns full list of Subscribers of an WebApp
|
Subscription |
APIConsumer.getSubscription(APIIdentifier apiIdentifier,
int applicationId,
String subscriptionType)
Get the subscription for given search criteria.
|
Usage |
APIProvider.getUsageByAPI(APIIdentifier apiIdentifier)
Return Usage of given APIIdentifier
|
boolean |
APIProvider.hasMoreVersions(APIIdentifier identifier)
Check if the given WebApp has any other versions in any lifecycle state.
|
boolean |
APIManager.isAPIAvailable(APIIdentifier identifier)
Checks the Availability of given APIIdentifier
|
boolean |
APIProvider.isDefaultVersion(APIIdentifier identifier)
Check if the given WebApp version is the default version.
|
boolean |
APIManager.isDocumentationExist(APIIdentifier identifier,
String docName)
Checks whether the given document already exists for the given app
|
boolean |
APIConsumer.isFavouriteApp(APIIdentifier identifier,
String username,
int tenantIdOfUser,
int tenantIdOfStore)
Check whether given app exists in the favourite app list of the user in given tenant store.
|
boolean |
APIConsumer.isSubscribed(APIIdentifier apiIdentifier,
String userId)
Returns true if a given user has subscribed to the WebApp
|
int |
APIProvider.moveSubscriptions(APIIdentifier fromIdentifier,
APIIdentifier toIdentifier)
Moves subscriptions from one app (@{code fromApp}) to another app (
toApp) |
void |
APIConsumer.removeAPISubscription(APIIdentifier identifier,
String userId,
String applicationName) |
void |
APIProvider.removeDocumentation(APIIdentifier appId,
String documentId)
Removes a given documentation
|
void |
APIProvider.removeDocumentation(APIIdentifier apiId,
String docType,
String docName)
Removes a given documentation
|
void |
APIConsumer.removeFromFavouriteApps(APIIdentifier identifier,
String username,
int tenantIdOfUser,
int tenantIdOfStore)
Remove the given app from favourite app list of given user.
|
void |
APIConsumer.removeSubscriber(APIIdentifier identifier,
String userId)
Remove a Subscriber
|
void |
APIConsumer.removeSubscription(APIIdentifier identifier,
String userId,
int applicationId)
Unsubscribe the specified user from the specified WebApp in the given application
|
void |
APIProvider.updateDocumentation(APIIdentifier apiId,
Documentation documentation)
Updates a given documentation
|
void |
APIProvider.updateSubscription(APIIdentifier apiId,
String subStatus,
int appId)
Update the subscription status
|
void |
APIConsumer.updateSubscriptions(APIIdentifier identifier,
String userId,
int applicationId)
This method is to update the subscriber.
|
| Constructor and Description |
|---|
APISubscriptionCount(APIIdentifier apiId,
long subscriptions) |
APISubscriptions(APIIdentifier apiId,
Set<SubscribedAPI> subscriptions) |
| Modifier and Type | Method and Description |
|---|---|
APIIdentifier |
LifeCycleEvent.getApi() |
APIIdentifier |
SubscribedAPI.getApiId() |
APIIdentifier |
WebApp.getId() |
| Modifier and Type | Method and Description |
|---|---|
void |
LifeCycleEvent.setApi(APIIdentifier api) |
| Constructor and Description |
|---|
SubscribedAPI(Subscriber subscriber,
APIIdentifier apiId) |
WebApp(APIIdentifier id) |
Copyright © 2017 WSO2. All rights reserved.