public interface MarketplaceService
| Modifier and Type | Method and Description |
|---|---|
void |
createSite(CreateSiteRequest request)
Creates a site using the given blueprint
|
Map<String,Object> |
searchPlugins(String type,
String keywords,
boolean showIncompatible,
long offset,
long limit)
Performs a search for all available plugins that match the given filters
|
Map<String,Object> searchPlugins(String type, String keywords, boolean showIncompatible, long offset, long limit) throws MarketplaceException
type - the type of plugins to searchkeywords - the keywords to filter pluginsshowIncompatible - indicates if incompatible plugins should be returnedoffset - the offset for paginationlimit - the limit for paginationMarketplaceException - if there is any error performing the searchvoid createSite(CreateSiteRequest request) throws RemoteRepositoryNotFoundException, InvalidRemoteRepositoryException, RemoteRepositoryNotBareException, InvalidRemoteUrlException, ServiceLayerException, InvalidRemoteRepositoryCredentialsException
request - the site informationRemoteRepositoryNotFoundException - if there is an error with the remote repositoryInvalidRemoteRepositoryException - if there is an error with the remote repositoryRemoteRepositoryNotBareException - if there is an error with the remote repositoryInvalidRemoteUrlException - if there is an error with the remote repositoryServiceLayerException - if there is any unexpected errorInvalidRemoteRepositoryCredentialsException - if there is any error with the credentialsCopyright © 2023 CrafterCMS. All rights reserved.