public class MappingUtil extends Object
| Constructor and Description |
|---|
MappingUtil() |
| Modifier and Type | Method and Description |
|---|---|
static ApplicationInfoErrorDTO |
buildErrorDTO(String status,
String title,
String description)
Build Client Error Reponse.
|
static ApplicationMetadataResourceDTO |
mapApplicationMetadataResourceDTO(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceProvider)
Map Single Application Metadata Resource from service provider.
|
static ApplicationBulkMetadataSuccessDTO |
mapBulkMetadataResponseDTO(List<org.wso2.carbon.identity.application.common.model.ServiceProvider> serviceProviderList)
Map bulk Metadata API Response DTO from list of service providers.
|
static ApplicationSingleMetadataSuccessDTO |
mapSingleMetadataResponseDTO(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceProvider)
Map Single Metadata API Response DTO from service provider.
|
public static ApplicationSingleMetadataSuccessDTO mapSingleMetadataResponseDTO(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceProvider)
serviceProvider - service provider to populate response with.public static ApplicationBulkMetadataSuccessDTO mapBulkMetadataResponseDTO(List<org.wso2.carbon.identity.application.common.model.ServiceProvider> serviceProviderList)
serviceProviderList - service provider list to populate response with.public static ApplicationMetadataResourceDTO mapApplicationMetadataResourceDTO(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceProvider)
serviceProvider - service provider to populate response with.public static ApplicationInfoErrorDTO buildErrorDTO(String status, String title, String description)
status - status code of the error.title - summary of the error.description - human readable descriptive error.Copyright © 2024 WSO2. All rights reserved.