public class ApplicationMappingUtil extends Object
| Constructor and Description |
|---|
ApplicationMappingUtil() |
| Modifier and Type | Method and Description |
|---|---|
static ApplicationListDTO |
fromApplicationsToDTO(org.wso2.carbon.apimgt.api.model.Application[] applications,
int limit,
int offset) |
static ApplicationInfoDTO |
fromApplicationToInfoDTO(org.wso2.carbon.apimgt.api.model.Application application)
Maps the attribute from Application to ApplicationDto
|
static void |
setPaginationParams(ApplicationListDTO applicationListDTO,
int limit,
int offset,
int size)
Sets pagination urls for a ApplicationListDTO object given pagination parameters and url parameters
|
public static ApplicationListDTO fromApplicationsToDTO(org.wso2.carbon.apimgt.api.model.Application[] applications, int limit, int offset)
public static void setPaginationParams(ApplicationListDTO applicationListDTO, int limit, int offset, int size)
applicationListDTO - a SubscriptionListDTO objectlimit - max number of objects returnedoffset - starting indexsize - max offsetpublic static ApplicationInfoDTO fromApplicationToInfoDTO(org.wso2.carbon.apimgt.api.model.Application application)
application - Copyright © 2019 WSO2. All rights reserved.