public interface ApplicationDAO
| Modifier and Type | Method and Description |
|---|---|
default String |
addApplication(org.wso2.carbon.identity.application.common.model.ServiceProvider application,
String tenantDomain) |
int |
createApplication(org.wso2.carbon.identity.application.common.model.ServiceProvider applicationDTO,
String tenantDomain) |
void |
deleteApplication(String applicationName) |
default void |
deleteApplicationByResourceId(String resourceId,
String tenantDomain) |
org.wso2.carbon.identity.application.common.model.ApplicationBasicInfo[] |
getAllApplicationBasicInfo() |
List<String> |
getAllRequestedClaimsByServiceProvider(String serviceProviderName,
String tenantDomain)
Returns back the requested set of claims by the provided service provider in local idp claim
dialect.
|
org.wso2.carbon.identity.application.common.model.ServiceProvider |
getApplication(int applicationId) |
org.wso2.carbon.identity.application.common.model.ServiceProvider |
getApplication(String applicationName,
String tenantDomain) |
default org.wso2.carbon.identity.application.common.model.ApplicationBasicInfo |
getApplicationBasicInfoByResourceId(String resourceId,
String tenantDomain) |
default org.wso2.carbon.identity.application.common.model.ServiceProvider |
getApplicationByResourceId(String resourceId,
String tenantDomain) |
String |
getApplicationName(int applicationID) |
default int |
getCountOfDiscoverableApplications(String filter,
String tenantDomain)
Returns the count of discoverable applications matching given filter.
|
default List<org.wso2.carbon.identity.application.common.model.ApplicationBasicInfo> |
getDiscoverableApplicationBasicInfo(int limit,
int offset,
String filter,
String sortOrder,
String sortBy,
String tenantDomain)
Returns basic application information of applications that are flagged as discoverable in the given tenant
matching given criteria.
|
default org.wso2.carbon.identity.application.common.model.ApplicationBasicInfo |
getDiscoverableApplicationBasicInfoByResourceId(String resourceId,
String tenantDomain)
Returns basic application information of the application matching given resource Id if discoverable.
|
Map<String,String> |
getLocalIdPToServiceProviderClaimMapping(String serviceProviderName,
String tenantDomain)
[local-idp-claim-uri,sp-claim-uri]
|
String |
getServiceProviderNameByClientId(String clientId,
String clientType,
String tenantDomain) |
Map<String,String> |
getServiceProviderToLocalIdPClaimMapping(String serviceProviderName,
String tenantDomain)
[sp-claim-uri,local-idp-claim-uri]
|
default boolean |
isApplicationDiscoverable(String resourceId,
String tenantDomain)
Returns if application matching given resource Id in given tenant is discoverable.
|
default boolean |
isApplicationExists(String serviceProviderName,
String tenantName)
Checks whether the application already exists with the name.
|
void |
updateApplication(org.wso2.carbon.identity.application.common.model.ServiceProvider applicationDTO,
String tenantDomain) |
default void |
updateApplicationByResourceId(String resourceId,
String tenantDomain,
org.wso2.carbon.identity.application.common.model.ServiceProvider updatedApp) |
int createApplication(org.wso2.carbon.identity.application.common.model.ServiceProvider applicationDTO,
String tenantDomain)
throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
applicationDTO - org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptionorg.wso2.carbon.identity.application.common.model.ServiceProvider getApplication(String applicationName, String tenantDomain) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
applicationName - org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptionorg.wso2.carbon.identity.application.common.model.ServiceProvider getApplication(int applicationId)
throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
applicationId - org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptionorg.wso2.carbon.identity.application.common.model.ApplicationBasicInfo[] getAllApplicationBasicInfo()
throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptionvoid updateApplication(org.wso2.carbon.identity.application.common.model.ServiceProvider applicationDTO,
String tenantDomain)
throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
applicationDTO - org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptionvoid deleteApplication(String applicationName) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
applicationName - org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptionString getApplicationName(int applicationID) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
applicationID - org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptionString getServiceProviderNameByClientId(String clientId, String clientType, String tenantDomain) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
clientId - clientType - tenantDomain - org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptionMap<String,String> getServiceProviderToLocalIdPClaimMapping(String serviceProviderName, String tenantDomain) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
serviceProviderName - tenantDomain - org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptionMap<String,String> getLocalIdPToServiceProviderClaimMapping(String serviceProviderName, String tenantDomain) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
serviceProviderName - tenantDomain - org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptionList<String> getAllRequestedClaimsByServiceProvider(String serviceProviderName, String tenantDomain) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
serviceProviderName - tenantDomain - org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptiondefault boolean isApplicationExists(String serviceProviderName, String tenantName) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
serviceProviderName - Name of the service providertenantName - tenant nameorg.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptiondefault org.wso2.carbon.identity.application.common.model.ApplicationBasicInfo getApplicationBasicInfoByResourceId(String resourceId, String tenantDomain) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptiondefault String addApplication(org.wso2.carbon.identity.application.common.model.ServiceProvider application, String tenantDomain) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptiondefault org.wso2.carbon.identity.application.common.model.ServiceProvider getApplicationByResourceId(String resourceId, String tenantDomain) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptiondefault void updateApplicationByResourceId(String resourceId, String tenantDomain, org.wso2.carbon.identity.application.common.model.ServiceProvider updatedApp) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptiondefault void deleteApplicationByResourceId(String resourceId, String tenantDomain) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptiondefault List<org.wso2.carbon.identity.application.common.model.ApplicationBasicInfo> getDiscoverableApplicationBasicInfo(int limit, int offset, String filter, String sortOrder, String sortBy, String tenantDomain) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
limit - Maximum no of applications to be returned in the result set (optional).offset - Zero based index of the first application to be returned in the result set (optional).filter - Filter to search for applications (optional).sortOrder - Sort order, ascending or descending (optional).sortBy - Attribute to sort from (optional).tenantDomain - Tenant domain to be filtered from.org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptiondefault org.wso2.carbon.identity.application.common.model.ApplicationBasicInfo getDiscoverableApplicationBasicInfoByResourceId(String resourceId, String tenantDomain) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
resourceId - Unique resource identifier of the application.tenantDomain - Tenant domain of the application.org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptiondefault boolean isApplicationDiscoverable(String resourceId, String tenantDomain) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
resourceId - Unique resource identifier of the application.tenantDomain - Tenant domain of the application.org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptiondefault int getCountOfDiscoverableApplications(String filter, String tenantDomain) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
filter - Filter to search for applications (optional).tenantDomain - org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptionCopyright © 2020 WSO2. All rights reserved.