Package com.axway.apim.appexport.impl
Class ApplicationExporter
- java.lang.Object
-
- com.axway.apim.appexport.impl.ApplicationExporter
-
- Direct Known Subclasses:
ConsoleAppExporter,CSVAppExporter,DeleteAppHandler,JsonApplicationExporter
public abstract class ApplicationExporter extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApplicationExporter.ResultHandler
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.LoggerLOG
-
Constructor Summary
Constructors Constructor Description ApplicationExporter(AppExportParams params, com.axway.apim.lib.ExportResult result)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static ApplicationExportercreate(ApplicationExporter.ResultHandler exportImpl, AppExportParams params, com.axway.apim.lib.ExportResult result)abstract voidexport(List<com.axway.apim.api.model.apps.ClientApplication> apps)protected com.axway.apim.adapter.clientApps.ClientAppFilter.BuildergetBaseFilterBuilder()protected StringgetCreatedBy(String userId, com.axway.apim.api.model.apps.ClientApplication app)protected DategetCreatedOn(Long createdOn)protected List<String>getCustomProperties()abstract com.axway.apim.adapter.clientApps.ClientAppFiltergetFilter()booleanhasError()
-
-
-
Constructor Detail
-
ApplicationExporter
public ApplicationExporter(AppExportParams params, com.axway.apim.lib.ExportResult result)
-
-
Method Detail
-
create
public static ApplicationExporter create(ApplicationExporter.ResultHandler exportImpl, AppExportParams params, com.axway.apim.lib.ExportResult result) throws com.axway.apim.lib.errorHandling.AppException
- Throws:
com.axway.apim.lib.errorHandling.AppException
-
export
public abstract void export(List<com.axway.apim.api.model.apps.ClientApplication> apps) throws com.axway.apim.lib.errorHandling.AppException
- Throws:
com.axway.apim.lib.errorHandling.AppException
-
hasError
public boolean hasError()
-
getFilter
public abstract com.axway.apim.adapter.clientApps.ClientAppFilter getFilter() throws com.axway.apim.lib.errorHandling.AppException- Throws:
com.axway.apim.lib.errorHandling.AppException
-
getBaseFilterBuilder
protected com.axway.apim.adapter.clientApps.ClientAppFilter.Builder getBaseFilterBuilder() throws com.axway.apim.lib.errorHandling.AppException- Throws:
com.axway.apim.lib.errorHandling.AppException
-
getCreatedBy
protected String getCreatedBy(String userId, com.axway.apim.api.model.apps.ClientApplication app)
-
-