public class UserAwareAPIConsumer extends AbstractAPIManager
appMDAO, appRepository, registry, tenantDomain, tenantId| Modifier and Type | Method and Description |
|---|---|
String |
addApplication(org.wso2.carbon.appmgt.api.model.Application application,
String userId)
Add a new Application from the store.
|
String |
addSubscription(org.wso2.carbon.appmgt.api.model.APIIdentifier identifier,
String subscriptionType,
String userId,
int applicationId,
String trustedIdps) |
void |
addSubscription(String subscriberName,
org.wso2.carbon.appmgt.api.model.WebApp webApp,
String applicationName) |
void |
addToFavouriteApps(org.wso2.carbon.appmgt.api.model.APIIdentifier identifier,
String username,
int tenantIdOfUser,
int tenantIdOfStore) |
void |
checkSubscribePermission() |
Map<String,Object> |
getAllPaginatedAPIs(String tenantDomain,
int start,
int end)
The method to get All PUBLISHED and DEPRECATED APIs, to Store view
|
Map<String,Object> |
getAllPaginatedPublishedAPIs(String tenantDomain,
int start,
int end)
The method to get APIs to Store view *
|
Set<org.wso2.carbon.appmgt.api.model.WebApp> |
getAllPublishedAPIs(String tenantDomain)
The method to get APIs to Store view *
|
Set<org.wso2.carbon.appmgt.api.model.Tag> |
getAllTags(String requestedTenantDomain) |
Set<org.wso2.carbon.appmgt.api.model.Tag> |
getAllTags(String requestedTenantDomain,
String assetType,
Map<String,String> attributeMap) |
Set<org.wso2.carbon.appmgt.api.model.WebApp> |
getAPIsWithTag(String tag)
Returns the set of APIs with the given tag from the taggedAPIs Map
|
org.wso2.carbon.appmgt.api.model.Application[] |
getApplications(org.wso2.carbon.appmgt.api.model.Subscriber subscriber) |
float |
getAverageRating(String uuid,
String assetType) |
org.wso2.carbon.appmgt.api.model.BusinessOwner |
getBusinessOwner(int businessOwnerId)
Retrieve business owner by given id.
|
org.wso2.carbon.appmgt.api.model.BusinessOwner |
getBusinessOwnerForAppStore(int businessOwnerId,
int appTenantId)
Retrieve business owner for a given business owner id.
|
List<String> |
getBusinessOwnerIdsBySearchPrefix(String searchPrefix,
int tenantId)
Search business owner.
|
Set<String> |
getDeniedTiers()
Returns a list of tiers denied
|
List<org.wso2.carbon.appmgt.api.model.APIIdentifier> |
getFavouriteApps(String username,
int tenantIdOfUser,
int tenantIdOfStore,
org.wso2.carbon.appmgt.api.model.WebAppSortOption sortOption) |
Map<String,Object> |
getPaginatedAPIsWithTag(String tag,
int start,
int end)
Returns the set of APIs with the given tag from the taggedAPIs Map
|
Set<org.wso2.carbon.appmgt.api.model.WebApp> |
getPublishedAPIsByProvider(String providerId,
int limit) |
Set<org.wso2.carbon.appmgt.api.model.WebApp> |
getPublishedAPIsByProvider(String providerId,
String loggedUsername,
int limit) |
Set<org.wso2.carbon.appmgt.api.model.WebApp> |
getRecentlyAddedAPIs(int limit,
String tenantDomain)
Get the recently added APIs set
|
Set<org.wso2.carbon.appmgt.api.model.SubscribedAPI> |
getSubscribedAPIs(org.wso2.carbon.appmgt.api.model.Subscriber subscriber) |
Set<org.wso2.carbon.appmgt.api.model.SubscribedAPI> |
getSubscribedAPIs(org.wso2.carbon.appmgt.api.model.Subscriber subscriber,
String applicationName) |
Set<org.wso2.carbon.appmgt.api.model.SubscribedAPI> |
getSubscribedIdentifiers(org.wso2.carbon.appmgt.api.model.Subscriber subscriber,
org.wso2.carbon.appmgt.api.model.APIIdentifier identifier) |
org.wso2.carbon.appmgt.api.model.Subscriber |
getSubscriber(String subscriberId) |
org.wso2.carbon.appmgt.api.model.Subscription |
getSubscription(org.wso2.carbon.appmgt.api.model.APIIdentifier apiIdentifier,
int applicationId,
String subscriptionType) |
Map<String,Set<org.wso2.carbon.appmgt.api.model.WebApp>> |
getTaggedAPIs() |
Set<org.wso2.carbon.appmgt.api.model.WebApp> |
getTopRatedAPIs(int limit) |
List<org.wso2.carbon.appmgt.api.model.APIIdentifier> |
getUserAccessibleApps(String username,
int tenantIdOfUser,
int tenantIdOfStore,
org.wso2.carbon.appmgt.api.model.WebAppSortOption sortOption,
boolean treatAsSite) |
org.wso2.carbon.appmgt.api.model.WebApp |
getWebApp(String uuid)
Retrieve webapp from the UUID
|
boolean |
hasFavouritePage(String username,
int tenantIdOfUser,
int tenantIdOfStore) |
boolean |
isApplicationTokenExists(String accessToken) |
boolean |
isFavouriteApp(org.wso2.carbon.appmgt.api.model.APIIdentifier identifier,
String username,
int tenantIdOfUser,
int tenantIdOfStore) |
boolean |
isSubscribed(org.wso2.carbon.appmgt.api.model.APIIdentifier apiIdentifier,
String userId) |
boolean |
isSubscribedToMobileApp(String userId,
String appId) |
boolean |
isTierDeneid(String tierName)
Check whether given Tier is denied for the user
|
void |
removeAPISubscription(org.wso2.carbon.appmgt.api.model.APIIdentifier identifier,
String userId,
String applicationName) |
void |
removeFavouritePage(String username,
int tenantIdOfUser,
int tenantIdOfStore) |
void |
removeFromFavouriteApps(org.wso2.carbon.appmgt.api.model.APIIdentifier identifier,
String username,
int tenantIdOfUser,
int tenantIdOfStore) |
void |
removeSubscriber(org.wso2.carbon.appmgt.api.model.APIIdentifier identifier,
String userId) |
void |
removeSubscription(org.wso2.carbon.appmgt.api.model.APIIdentifier identifier,
String userId,
int applicationId) |
Set<org.wso2.carbon.appmgt.api.model.WebApp> |
searchAPI(org.wso2.carbon.registry.core.Registry registry,
String searchTerm,
String searchType) |
Set<org.wso2.carbon.appmgt.api.model.WebApp> |
searchAPI(String searchTerm,
String searchType,
String requestedTenantDomain) |
List<org.wso2.carbon.appmgt.api.model.APIIdentifier> |
searchFavouriteApps(String username,
int tenantIdOfUser,
int tenantIdOfStore,
org.wso2.carbon.appmgt.api.model.WebAppSearchOption searchOption,
String searchValue) |
Map<String,Object> |
searchPaginatedAPIs(org.wso2.carbon.registry.core.Registry registry,
String searchTerm,
String searchType,
int start,
int end) |
Map<String,Object> |
searchPaginatedAPIs(String searchTerm,
String searchType,
String requestedTenantDomain,
int start,
int end) |
List<org.wso2.carbon.appmgt.api.model.APIIdentifier> |
searchUserAccessibleApps(String username,
int tenantIdOfUser,
int tenantIdOfStore,
boolean treatAsSite,
org.wso2.carbon.appmgt.api.model.WebAppSearchOption searchOption,
String searchValue) |
void |
setFavouritePage(String username,
int tenantIdOfUser,
int tenantIdOfStore) |
void |
updateApplication(org.wso2.carbon.appmgt.api.model.Application application) |
void |
updateSubscriptions(org.wso2.carbon.appmgt.api.model.APIIdentifier identifier,
String userId,
int applicationId) |
addIcon, addSubscriber, cleanup, getAccessTokenData, getAllAPIs, getAllAPIs, getAllDocumentation, getAllDocumentation, getAPI, getAPI, getAPI, getAPIVersions, getDocumentation, getDocumentation, getDocumentationContent, getIcon, getSubscriber, getSubscriberAPIs, getTiers, getTiers, handleException, handleException, handleResourceAlreadyExistsException, handleResourceAuthorizationException, handleResourceNotFoundException, isAPIAvailable, isApplicationTokenRevoked, isContextExist, isDocumentationExist, searchAccessToken, updateSubscriberclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddIcon, addSubscriber, cleanup, getAccessTokenData, getAllAPIs, getAllDocumentation, getAllDocumentation, getAPI, getAPIVersions, getDocumentation, getDocumentation, getDocumentationContent, getIcon, getSubscriber, getSubscriberAPIs, getTiers, getTiers, isAPIAvailable, isApplicationTokenRevoked, isContextExist, isDocumentationExist, searchAccessToken, updateSubscriberpublic String addSubscription(org.wso2.carbon.appmgt.api.model.APIIdentifier identifier, String subscriptionType, String userId, int applicationId, String trustedIdps) throws org.wso2.carbon.appmgt.api.AppManagementException
addSubscription in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic org.wso2.carbon.appmgt.api.model.Subscription getSubscription(org.wso2.carbon.appmgt.api.model.APIIdentifier apiIdentifier,
int applicationId,
String subscriptionType)
throws org.wso2.carbon.appmgt.api.AppManagementException
getSubscription in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic void removeSubscription(org.wso2.carbon.appmgt.api.model.APIIdentifier identifier,
String userId,
int applicationId)
throws org.wso2.carbon.appmgt.api.AppManagementException
removeSubscription in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic String addApplication(org.wso2.carbon.appmgt.api.model.Application application, String userId) throws org.wso2.carbon.appmgt.api.AppManagementException
public void updateApplication(org.wso2.carbon.appmgt.api.model.Application application)
throws org.wso2.carbon.appmgt.api.AppManagementException
updateApplication in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic void addToFavouriteApps(org.wso2.carbon.appmgt.api.model.APIIdentifier identifier,
String username,
int tenantIdOfUser,
int tenantIdOfStore)
throws org.wso2.carbon.appmgt.api.AppManagementException
addToFavouriteApps in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic void removeFromFavouriteApps(org.wso2.carbon.appmgt.api.model.APIIdentifier identifier,
String username,
int tenantIdOfUser,
int tenantIdOfStore)
throws org.wso2.carbon.appmgt.api.AppManagementException
removeFromFavouriteApps in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic boolean isFavouriteApp(org.wso2.carbon.appmgt.api.model.APIIdentifier identifier,
String username,
int tenantIdOfUser,
int tenantIdOfStore)
throws org.wso2.carbon.appmgt.api.AppManagementException
isFavouriteApp in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic List<org.wso2.carbon.appmgt.api.model.APIIdentifier> getFavouriteApps(String username, int tenantIdOfUser, int tenantIdOfStore, org.wso2.carbon.appmgt.api.model.WebAppSortOption sortOption) throws org.wso2.carbon.appmgt.api.AppManagementException
getFavouriteApps in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic List<org.wso2.carbon.appmgt.api.model.APIIdentifier> searchFavouriteApps(String username, int tenantIdOfUser, int tenantIdOfStore, org.wso2.carbon.appmgt.api.model.WebAppSearchOption searchOption, String searchValue) throws org.wso2.carbon.appmgt.api.AppManagementException
searchFavouriteApps in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic void setFavouritePage(String username, int tenantIdOfUser, int tenantIdOfStore) throws org.wso2.carbon.appmgt.api.AppManagementException
setFavouritePage in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic void removeFavouritePage(String username, int tenantIdOfUser, int tenantIdOfStore) throws org.wso2.carbon.appmgt.api.AppManagementException
removeFavouritePage in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic boolean hasFavouritePage(String username, int tenantIdOfUser, int tenantIdOfStore) throws org.wso2.carbon.appmgt.api.AppManagementException
hasFavouritePage in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic void checkSubscribePermission()
throws org.wso2.carbon.appmgt.api.AppManagementException
org.wso2.carbon.appmgt.api.AppManagementExceptionpublic org.wso2.carbon.appmgt.api.model.Subscriber getSubscriber(String subscriberId) throws org.wso2.carbon.appmgt.api.AppManagementException
getSubscriber in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic org.wso2.carbon.appmgt.api.model.BusinessOwner getBusinessOwner(int businessOwnerId)
throws org.wso2.carbon.appmgt.api.AppManagementException
getBusinessOwner in interface org.wso2.carbon.appmgt.api.APIConsumerbusinessOwnerId - Id of business ownerBusinessOwner objectorg.wso2.carbon.appmgt.api.AppManagementException - on error while trying to get business ownerpublic org.wso2.carbon.appmgt.api.model.BusinessOwner getBusinessOwnerForAppStore(int businessOwnerId,
int appTenantId)
throws org.wso2.carbon.appmgt.api.AppManagementException
getBusinessOwnerForAppStore in interface org.wso2.carbon.appmgt.api.APIConsumerbusinessOwnerId - Business owner idappTenantId - Tenant id of the applicationBusinessOwner objectorg.wso2.carbon.appmgt.api.AppManagementException - on error while trying to get business ownerpublic List<String> getBusinessOwnerIdsBySearchPrefix(String searchPrefix, int tenantId) throws org.wso2.carbon.appmgt.api.AppManagementException
getBusinessOwnerIdsBySearchPrefix in interface org.wso2.carbon.appmgt.api.APIConsumersearchPrefix - Search prefixtenantId - Tenant Id of the applicationorg.wso2.carbon.appmgt.api.AppManagementException - on error while trying to search business ownerpublic Set<org.wso2.carbon.appmgt.api.model.WebApp> getAPIsWithTag(String tag) throws org.wso2.carbon.appmgt.api.AppManagementException
getAPIsWithTag in interface org.wso2.carbon.appmgt.api.APIConsumertag - org.wso2.carbon.appmgt.api.AppManagementExceptionpublic Map<String,Object> getPaginatedAPIsWithTag(String tag, int start, int end) throws org.wso2.carbon.appmgt.api.AppManagementException
getPaginatedAPIsWithTag in interface org.wso2.carbon.appmgt.api.APIConsumertag - org.wso2.carbon.appmgt.api.AppManagementExceptionpublic Set<org.wso2.carbon.appmgt.api.model.WebApp> getAllPublishedAPIs(String tenantDomain) throws org.wso2.carbon.appmgt.api.AppManagementException
getAllPublishedAPIs in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic Map<String,Object> getAllPaginatedPublishedAPIs(String tenantDomain, int start, int end) throws org.wso2.carbon.appmgt.api.AppManagementException
getAllPaginatedPublishedAPIs in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic Map<String,Object> getAllPaginatedAPIs(String tenantDomain, int start, int end) throws org.wso2.carbon.appmgt.api.AppManagementException
org.wso2.carbon.appmgt.api.AppManagementExceptionpublic Set<org.wso2.carbon.appmgt.api.model.WebApp> getTopRatedAPIs(int limit) throws org.wso2.carbon.appmgt.api.AppManagementException
getTopRatedAPIs in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic float getAverageRating(String uuid, String assetType) throws org.wso2.carbon.appmgt.api.AppManagementException
getAverageRating in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic Set<org.wso2.carbon.appmgt.api.model.WebApp> getRecentlyAddedAPIs(int limit, String tenantDomain) throws org.wso2.carbon.appmgt.api.AppManagementException
getRecentlyAddedAPIs in interface org.wso2.carbon.appmgt.api.APIConsumerlimit - no limit. Return everything else, limit the return list to specified value.org.wso2.carbon.appmgt.api.AppManagementExceptionpublic Set<org.wso2.carbon.appmgt.api.model.Tag> getAllTags(String requestedTenantDomain) throws org.wso2.carbon.appmgt.api.AppManagementException
getAllTags in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic Set<org.wso2.carbon.appmgt.api.model.Tag> getAllTags(String requestedTenantDomain, String assetType, Map<String,String> attributeMap) throws org.wso2.carbon.appmgt.api.AppManagementException
getAllTags in interface org.wso2.carbon.appmgt.api.APIConsumerrequestedTenantDomain - assetType - Currently we don't use asset type. Asset type could be webapp, mobileapp or any other asset type.attributeMap - Attribute map for the give assetType.org.wso2.carbon.appmgt.api.AppManagementExceptionpublic Set<org.wso2.carbon.appmgt.api.model.WebApp> getPublishedAPIsByProvider(String providerId, int limit) throws org.wso2.carbon.appmgt.api.AppManagementException
getPublishedAPIsByProvider in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic Set<org.wso2.carbon.appmgt.api.model.WebApp> getPublishedAPIsByProvider(String providerId, String loggedUsername, int limit) throws org.wso2.carbon.appmgt.api.AppManagementException
getPublishedAPIsByProvider in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic Set<org.wso2.carbon.appmgt.api.model.WebApp> searchAPI(String searchTerm, String searchType, String requestedTenantDomain) throws org.wso2.carbon.appmgt.api.AppManagementException
searchAPI in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic Set<org.wso2.carbon.appmgt.api.model.WebApp> searchAPI(org.wso2.carbon.registry.core.Registry registry, String searchTerm, String searchType) throws org.wso2.carbon.appmgt.api.AppManagementException
org.wso2.carbon.appmgt.api.AppManagementExceptionpublic Map<String,Object> searchPaginatedAPIs(String searchTerm, String searchType, String requestedTenantDomain, int start, int end) throws org.wso2.carbon.appmgt.api.AppManagementException
searchPaginatedAPIs in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic Map<String,Object> searchPaginatedAPIs(org.wso2.carbon.registry.core.Registry registry, String searchTerm, String searchType, int start, int end) throws org.wso2.carbon.appmgt.api.AppManagementException
org.wso2.carbon.appmgt.api.AppManagementExceptionpublic Set<org.wso2.carbon.appmgt.api.model.SubscribedAPI> getSubscribedAPIs(org.wso2.carbon.appmgt.api.model.Subscriber subscriber) throws org.wso2.carbon.appmgt.api.AppManagementException
getSubscribedAPIs in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic Set<org.wso2.carbon.appmgt.api.model.SubscribedAPI> getSubscribedAPIs(org.wso2.carbon.appmgt.api.model.Subscriber subscriber, String applicationName) throws org.wso2.carbon.appmgt.api.AppManagementException
getSubscribedAPIs in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic boolean isSubscribed(org.wso2.carbon.appmgt.api.model.APIIdentifier apiIdentifier,
String userId)
throws org.wso2.carbon.appmgt.api.AppManagementException
isSubscribed in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic void removeAPISubscription(org.wso2.carbon.appmgt.api.model.APIIdentifier identifier,
String userId,
String applicationName)
throws org.wso2.carbon.appmgt.api.AppManagementException
removeAPISubscription in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic void removeSubscriber(org.wso2.carbon.appmgt.api.model.APIIdentifier identifier,
String userId)
throws org.wso2.carbon.appmgt.api.AppManagementException
removeSubscriber in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic void updateSubscriptions(org.wso2.carbon.appmgt.api.model.APIIdentifier identifier,
String userId,
int applicationId)
throws org.wso2.carbon.appmgt.api.AppManagementException
updateSubscriptions in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic org.wso2.carbon.appmgt.api.model.WebApp getWebApp(String uuid) throws org.wso2.carbon.appmgt.api.AppManagementException
getWebApp in interface org.wso2.carbon.appmgt.api.APIConsumeruuid - uuid of the applicationorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic boolean isApplicationTokenExists(String accessToken) throws org.wso2.carbon.appmgt.api.AppManagementException
isApplicationTokenExists in interface org.wso2.carbon.appmgt.api.APIConsumerisApplicationTokenExists in interface org.wso2.carbon.appmgt.api.APIManagerisApplicationTokenExists in class AbstractAPIManagerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic Set<org.wso2.carbon.appmgt.api.model.SubscribedAPI> getSubscribedIdentifiers(org.wso2.carbon.appmgt.api.model.Subscriber subscriber, org.wso2.carbon.appmgt.api.model.APIIdentifier identifier) throws org.wso2.carbon.appmgt.api.AppManagementException
getSubscribedIdentifiers in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic Set<String> getDeniedTiers() throws org.wso2.carbon.appmgt.api.AppManagementException
getDeniedTiers in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic boolean isTierDeneid(String tierName) throws org.wso2.carbon.appmgt.api.AppManagementException
isTierDeneid in interface org.wso2.carbon.appmgt.api.APIConsumertierName - org.wso2.carbon.appmgt.api.AppManagementException - if failed to get the tierspublic org.wso2.carbon.appmgt.api.model.Application[] getApplications(org.wso2.carbon.appmgt.api.model.Subscriber subscriber)
throws org.wso2.carbon.appmgt.api.AppManagementException
getApplications in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic List<org.wso2.carbon.appmgt.api.model.APIIdentifier> getUserAccessibleApps(String username, int tenantIdOfUser, int tenantIdOfStore, org.wso2.carbon.appmgt.api.model.WebAppSortOption sortOption, boolean treatAsSite) throws org.wso2.carbon.appmgt.api.AppManagementException
getUserAccessibleApps in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic List<org.wso2.carbon.appmgt.api.model.APIIdentifier> searchUserAccessibleApps(String username, int tenantIdOfUser, int tenantIdOfStore, boolean treatAsSite, org.wso2.carbon.appmgt.api.model.WebAppSearchOption searchOption, String searchValue) throws org.wso2.carbon.appmgt.api.AppManagementException
searchUserAccessibleApps in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic boolean isSubscribedToMobileApp(String userId, String appId) throws org.wso2.carbon.appmgt.api.AppManagementException
isSubscribedToMobileApp in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic Map<String,Set<org.wso2.carbon.appmgt.api.model.WebApp>> getTaggedAPIs()
getTaggedAPIs in interface org.wso2.carbon.appmgt.api.APIConsumerpublic void addSubscription(String subscriberName, org.wso2.carbon.appmgt.api.model.WebApp webApp, String applicationName) throws org.wso2.carbon.appmgt.api.AppManagementException
addSubscription in interface org.wso2.carbon.appmgt.api.APIConsumerorg.wso2.carbon.appmgt.api.AppManagementExceptionCopyright © 2017 WSO2. All rights reserved.