Uses of Interface
de.xima.fc.proma.context.IPublicPromaInvocationContext
-
-
Uses of IPublicPromaInvocationContext in de.xima.fc.gui.bean.plugin
-
Uses of IPublicPromaInvocationContext in de.xima.fc.gui.model
Methods in de.xima.fc.gui.model with parameters of type IPublicPromaInvocationContext Modifier and Type Method Description <R> StageChain<TempFile,R>
PluginWrapperModel. getAllUpdatedPluginFiles(IPublicPromaInvocationContext pc, String licenseKey, Locale locale)
<R> StageChain<PluginUpdateMetadata,R>
PluginWrapperModel. getPluginMetadata(IPublicPromaInvocationContext pc, de.xima.proma.restclient.pub.gen.model.PublicStoreItemResource storeItem, Locale locale, String licenseKey)
<R> StageChain<PluginUpdateMetadata,R>
PluginWrapperModel. getPluginMetadata(IPublicPromaInvocationContext pc, Locale locale, String licenseKey)
<R> StageChain<de.xima.proma.restclient.pub.gen.model.PublicStoreItemResource,R>
PluginWrapperModel. getPluginPromaItem(IPublicPromaInvocationContext pc, Locale locale, String licenseKey)
<R> StageChain<org.apache.commons.lang3.tuple.Pair<EPluginUpdateAvailability,String>,R>
PluginWrapperModel. getPluginUpdateAvailability(IPublicPromaInvocationContext pc, Locale locale, String licenseKey)
<R> StageChain<String,R>
PluginWrapperModel. getPromaPluginName(IPublicPromaInvocationContext pc, Locale locale, String licenseKey)
<R> StageChain<de.xima.proma.restclient.pub.gen.model.PublicStoreItemList,R>
PluginWrapperModel. getSameChecksumPlugins(IPublicPromaInvocationContext pc, File pluginFile, Locale locale, String licenseKey)
<R> StageChain<de.xima.proma.restclient.pub.gen.model.PublicStoreItemUpdateCheckResult,R>
PluginWrapperModel. getUpdatedPlugin(IPublicPromaInvocationContext pc, Locale locale, String licenseKey)
-
Uses of IPublicPromaInvocationContext in de.xima.fc.license
Methods in de.xima.fc.license with parameters of type IPublicPromaInvocationContext Modifier and Type Method Description static <R> StageChain<IPromaResponse<byte[]>,R>
LicenseServerUtil. createDemoLicense(IPublicPromaInvocationContext pc, String parentLicenseKey, String firstname, String lastname, String email, String customerName, String currentHardwareId, Locale locale)
This method creates a demo license based on the passed parameters and returns the status code of the request and on success the license data of the demo license.static <R> StageChain<Boolean,R>
LicenseServerUtil. createOrUpdateItemLicense(IPublicPromaInvocationContext pc, String licenseKey, String versionKey, Locale locale, String userName)
This method gets all item licenses of a license from proma and creates or updates them in the database.static <R> StageChain<IPromaResponse<Collection<byte[]>>,R>
LicenseServerUtil. getAllClientLicenses(IPublicPromaInvocationContext pc, String licenseKey, Locale locale)
static <R> StageChain<String[],R>
LicenseServerUtil. getCurrentHardwareIdArray(IPublicPromaInvocationContext pc, String licenseKey)
static <R> StageChain<IPromaResponse<de.xima.proma.restclient.pub.gen.model.PublicHardwareIdList>,R>
LicenseServerUtil. getCurrentHardwareIds(IPublicPromaInvocationContext pc, String licenseKey, String versionUuid)
static <R> StageChain<IPromaResponse<byte[]>,R>
LicenseServerUtil. getLicenseKeyStatus(IPublicPromaInvocationContext pc, String licenseKey, String currentHardwareId, Locale locale)
This method builds an http request for checking the license key and return the status code and the license data as byte array.static <R> StageChain<Integer,R>
LicenseServerUtil. getLicenseStatus(IPublicPromaInvocationContext pc, String licenseKey, String currentHardwareId, Locale locale)
This method returns the status of the given license key.static <R> StageChain<Integer,R>
LicenseServerUtil. getLicenseUpdateStatus(IPublicPromaInvocationContext pc, String licenseKey, String versionKey, Locale locale)
Returns the status code of the given license informations.static <R> StageChain<Boolean,R>
LicenseServerUtil. isDemoAllowed(IPublicPromaInvocationContext pc, Locale locale)
This method determines whether the product is allowed to create demo licenses.static <R> StageChain<Integer,R>
LicenseServerUtil. swapHardwareID(IPublicPromaInvocationContext pc, String licenseKey, String versionKey, String swapTargetId, String currentHardwareId)
Builds an http request for swapping a hardware ID.<R> StageChain<Void,R>
LicenseServerUtil. updateClientLicense(IPublicPromaInvocationContext pc, String key, Locale locale)
Tries to update an client-license by the given key<R> StageChain<ELicenseVersionState,R>
LicenseServerUtil. updateSystemLicenseVersionState(IPublicPromaInvocationContext pc, Locale locale)
Updates the system license state by an server-side http query -
Uses of IPublicPromaInvocationContext in de.xima.fc.pluginstore
Methods in de.xima.fc.pluginstore with parameters of type IPublicPromaInvocationContext Modifier and Type Method Description <R> StageChain<PluginStoreModel,R>
PluginStoreLoader. loadPublicItems(IPublicPromaInvocationContext pc, String productVersion, Locale locale, List<VersionedPluginGroupMeta> installedPlugins, String licenseKey)
Loads all freely available plugins that are compatible with the given product version.<R> StageChain<PluginStoreModel,R>
PluginStoreLoader. loadPublicItems(IPublicPromaInvocationContext pc, String productVersion, Locale locale, Map<String,com.google.common.collect.Range<com.vdurmont.semver4j.Semver>> installedPlugins, String licenseKey)
Loads all freely available plugins that are compatible with the given product version. -
Uses of IPublicPromaInvocationContext in de.xima.fc.proma.context
Classes in de.xima.fc.proma.context with type parameters of type IPublicPromaInvocationContext Modifier and Type Interface Description interface
IPublicPromaInvocationContextBuilder<CONTEXT extends IPublicPromaInvocationContext,THIS extends IPublicPromaInvocationContextBuilder<CONTEXT,THIS>>
A builder for a genericIPublicPromaInvocationContext
.Subinterfaces of IPublicPromaInvocationContext in de.xima.fc.proma.context Modifier and Type Interface Description interface
IPublicAsyncWebSocketContext
A specific type ofIPublicPromaInvocationContext
intended UI handling code within the Java Server Faces framework.interface
IPublicNativeSyncContext
A specific sub type ofIPublicPromaInvocationContext
intended generic server-side actions that uses a native HTTP client to send requests.interface
IPublicPromaInvocationContextAsync
AIPublicPromaInvocationContext
when the result is obtained asynchronously in a non-blocking manner.interface
IPublicPromaInvocationContextSync
AIPublicPromaInvocationContext
when the result is obtained synchronously in a blocking manner.interface
IPublicSyncWebSocketContext
A specific type ofIPublicPromaInvocationContext
intended UI handling code within the Java Server Faces framework. -
Uses of IPublicPromaInvocationContext in de.xima.fc.proma.manager
Methods in de.xima.fc.proma.manager with parameters of type IPublicPromaInvocationContext Modifier and Type Method Description static <R> StageChain<Boolean,R>
PromaManager. isPluginStoreAvailable(IPublicPromaInvocationContext pc)
static <R> StageChain<Boolean,R>
PromaManager. isPromaAvailable(IPublicPromaInvocationContext pc)
-
Uses of IPublicPromaInvocationContext in de.xima.fc.proma.provider.interfaces
Methods in de.xima.fc.proma.provider.interfaces with parameters of type IPublicPromaInvocationContext Modifier and Type Method Description <R> StageChain<IPromaResponse<byte[]>,R>
ILicensePromaApi. createDemoLicense(IPublicPromaInvocationContext pc, de.xima.proma.restclient.pub.gen.model.PublicLicenseResource licenseResource, Locale locale)
This method creates a demo license for the given parent license resource and returns the status code and on success the demo license data as a byte array.<R> StageChain<IPromaResponse<Collection<byte[]>>,R>
ILicensePromaApi. getAllLicenseItemsAsFile(IPublicPromaInvocationContext pc, String productLicenseKey, Locale locale)
This method returns the status code of the http request and the all license items in a ZIP file of the given product license if the request was successful<R> StageChain<IPromaResponse<de.xima.proma.restclient.pub.gen.model.PublicStoreItemLicenseList>,R>
ILicensePromaApi. getAllLicenseItemsAsResource(IPublicPromaInvocationContext pc, String productLicenseKey, Locale locale)
This method returns the status code of the http request and the all license items of the given product license if the request was successful<R> StageChain<IPromaResponse<TempFile>,R>
IStoreItemPromaApi. getAllStoreItemFiles(IPublicPromaInvocationContext pc, String storeKey, String itemKey, String itemVersion, String licenseKey)
This method fetches all versions of a store item files in the form of a ZIP file from the ZIP REST API<R> StageChain<IPromaResponse<List<de.xima.proma.restclient.pub.gen.model.PublicStoreItemResource>>,R>
IStoreItemPromaApi. getAllStoreItems(IPublicPromaInvocationContext pc, GetStoreItemsRequest request)
Fetches all matching store items from the remote repository.<R> StageChain<IPromaResponse<List<de.xima.proma.restclient.pub.gen.model.PublicStoreItemVersionResource>>,R>
IStoreItemPromaApi. getAllStoreItemVersions(IPublicPromaInvocationContext pc, String storeKey, String itemKey, Locale locale, String licenseKey)
This method returns all store item versions of a store item.<R> StageChain<IPromaResponse<Collection<byte[]>>,R>
ILicensePromaApi. getAllSubLicenses(IPublicPromaInvocationContext pc, String licenseKey, Locale locale)
This method returns the status code of the request and all sub license files in a ZIP file with request was successful<R> StageChain<IPromaResponse<de.xima.proma.restclient.pub.gen.model.PublicHardwareIdList>,R>
IHardwareIdPromaApi. getHardwareIdsByLicense(IPublicPromaInvocationContext pc, String licenseKey, String versionUuid)
This method returns a list of all hardware IDs for an license version.<R> StageChain<IPromaResponse<byte[]>,R>
ILicensePromaApi. getLicenseFile(IPublicPromaInvocationContext pc, String licenseKey, Locale locale)
This method returns a license file as byte array for a given license key.<R> StageChain<IPromaResponse<byte[]>,R>
ILicensePromaApi. getLicenseItem(IPublicPromaInvocationContext pc, String itemLicenseKey, Locale locale)
This method returns the status code of the http request and the license item file if the request was successful<R> StageChain<IPromaResponse<Void>,R>
ILicensePromaApi. getLicenseStatus(IPublicPromaInvocationContext pc, de.xima.proma.restclient.pub.gen.model.PublicHardwareIdResource hardwareIdResource, Locale locale)
This method checks the status of a license and returns the status in form of a http request status.<R> StageChain<IPromaResponse<Void>,R>
ILicensePromaApi. getLicenseUpdateStatus(IPublicPromaInvocationContext pc, String licenseKey, String versionUuid, Locale locale, String productVersion)
This method checks the update status of a license and returns the status in form of a http request status.<R> StageChain<IPromaResponse<de.xima.proma.restclient.pub.gen.model.PublicStoreItemResource>,R>
IStoreItemPromaApi. getStoreItem(IPublicPromaInvocationContext pc, String storeKey, String itemKey, String productVersion, Locale locale, String licenseKey)
<R> StageChain<IPromaResponse<TempFile>,R>
IStoreItemPromaApi. getStoreItemFile(IPublicPromaInvocationContext pc, String storeKey, String itemKey, String itemVersion, String fileKey, String licenseKey)
This method returns a specific store item file.<R> StageChain<IPromaResponse<de.xima.proma.restclient.pub.gen.model.PublicStoreItemList>,R>
IStoreItemPromaApi. getStoreItemsWithChecksum(IPublicPromaInvocationContext pc, String storeKey, String checkSum, String algo, Locale locale, String licenseKey)
This method returns all store items with the same specified check sum of a store item.<R> StageChain<IPromaResponse<de.xima.proma.restclient.pub.gen.model.PublicStoreItemVersionResource>,R>
IStoreItemPromaApi. getStoreItemVersion(IPublicPromaInvocationContext pc, String storeKey, String itemKey, String itemVersion, Locale locale, String licenseKey)
This method returns a specific store item version object<R> StageChain<IPromaResponse<de.xima.proma.restclient.pub.gen.model.PublicStoreItemUpdateCheckResult>,R>
IStoreItemPromaApi. getUpdatedStoreItem(IPublicPromaInvocationContext pc, String storeKey, String itemKey, String itemVersion, String productVersion, Locale locale, String licenseKey, boolean loadHistory, boolean loadVersion)
This method returns a updated version of an store item.<R> StageChain<IPromaResponse<de.xima.proma.restclient.pub.gen.model.PublicStoreItemUpdateCheckResultMap>,R>
IStoreItemPromaApi. getUpdatedStoreItems(IPublicPromaInvocationContext pc, String storeKey, String productVersion, de.xima.proma.restclient.pub.gen.model.PublicStoreItemMetaList publicStoreItemMetaList, Locale locale, String licenseKey, boolean loadHistory, boolean loadVersion)
This method returns updated versions of all store items in the givenPublicStoreItemMetaList
.<R> StageChain<IPromaResponse<Void>,R>
IProductPromaApi. isDemoAllowed(IPublicPromaInvocationContext pc, String productKey, Locale locale)
This method determines whether the product is allowed to create demo licenses.<R> StageChain<Boolean,R>
IGenericPromaApi. isHasWebsocketConnection(IPublicPromaInvocationContext pc)
This method checks if the browser(client) has a active web socket connection.<R> StageChain<Boolean,R>
IStorePromaApi. isPluginStoreAvailable(IPublicPromaInvocationContext pc)
This method checks if the plugin store from PROMA is available.<R> StageChain<Boolean,R>
IGenericPromaApi. isPromaAvailable(IPublicPromaInvocationContext pc)
This method pings the PROMA rest API and checks if it is available.<R> StageChain<IPromaResponse<byte[]>,R>
ILicensePromaApi. keyCheckAllLicenseFiles(IPublicPromaInvocationContext pc, de.xima.proma.restclient.pub.gen.model.PublicHardwareIdResource hardwareIdResource, Locale locale)
This method returns the current status of license and the license as a ZIP file with all license files of a license if it was successful<R> StageChain<IPromaResponse<byte[]>,R>
ILicensePromaApi. licenseKeyCheck(IPublicPromaInvocationContext pc, de.xima.proma.restclient.pub.gen.model.PublicHardwareIdResource hardwareIdResource, Locale locale)
This method returns the current status of license and the license as a byte array if it was successful<R> StageChain<IPromaResponse<Void>,R>
IHardwareIdPromaApi. swapHardwareId(IPublicPromaInvocationContext pc, String oldHardwareId, de.xima.proma.restclient.pub.gen.model.PublicHardwareIdResource newHardwareId)
This method is a post request which swaps the hardware ID of a license. -
Uses of IPublicPromaInvocationContext in de.xima.fc.proma.util
Methods in de.xima.fc.proma.util with parameters of type IPublicPromaInvocationContext Modifier and Type Method Description static <R> StageChain<de.xima.proma.restclient.pub.gen.model.PublicStoreItemUpdateCheckResult,R>
PromaStoreItems. checkForUpdates(IPublicPromaInvocationContext pc, String storeKey, String itemKey, String itemVersion, String productVersion, Locale locale, String licenseKey, boolean loadHistory, boolean loadVersion)
Checks for update for a given PROMA store item.static <R> StageChain<List<PluginChangeLogVersion>,R>
PromaPluginUpdateCheck. createPluginChangelog(IPublicPromaInvocationContext pc, String pluginKey, PluginManifest manifest, Locale locale, String licenseKey)
This method creates a list of all changes of the given plugin.static <R> StageChain<List<PluginUpdateCheckResult>,R>
PromaPluginUpdateCheck. createPluginUpdateMessages(IPublicPromaInvocationContext pc, boolean forceUpdate)
This method generates all update notifications in the database for all existing client plugins and system plugins that needs an update.static <R> StageChain<List<PluginUpdateCheckResult>,R>
PromaPluginUpdateCheck. createPluginUpdateMessages(IPublicPromaInvocationContext pc, Set<WorkspaceScope> scopes)
This method generates all update notifications in the database for all existing client plugins and system plugins that needs an update.static <R> StageChain<org.apache.commons.lang3.tuple.Pair<EPluginUpdateAvailability,String>,R>
PromaPluginUpdateCheck. fetchPluginUpdateStatus(IPublicPromaInvocationContext pc, String pluginKey, Locale locale, PluginManifest manifest, PluginRuntime runtime, String licenseKey)
This method retrieves the update status of the specified plugin.static <R> StageChain<String,R>
PromaStoreItems. findLatestCompatibleVersion(IPublicPromaInvocationContext pc, String storeKey, String itemKey, String itemVersion, String productVersion, String licenseKey, boolean loadHistory, boolean loadVersion)
Retrieves the latest compatible version for the given store item.static Set<WorkspaceScope>
PromaPluginUpdateCheck. findPluginScopesToCheckForUpdates(IPublicPromaInvocationContext pc, boolean forceUpdate)
Finds all client or system scopes for which the userfrom the given context
is allowed to check for plugin updates.static <R> StageChain<Map<String,String>,R>
PromaStoreItems. getChangelog(IPublicPromaInvocationContext pc, String storeKey, String itemKey, Locale locale, String licenseKey)
Gets a map with the changelogs of the given store item.static <R> StageChain<TempFile,R>
PromaPluginUpdateCheck. getMostRecentCompatiblePluginFiles(IPublicPromaInvocationContext pc, String pluginKey, PluginManifest manifest, String licenseKey, Locale locale)
This method returns a ZIP file containing all plugin files of the latest plugin version.static <R> StageChain<de.xima.proma.restclient.pub.gen.model.PublicStoreItemUpdateCheckResult,R>
PromaPluginUpdateCheck. getMostRecentCompatiblePluginStoreItem(IPublicPromaInvocationContext pc, String pluginKey, PluginManifest manifest, Locale locale, String licenseKey)
This method returns the updated store item update check result of a given plugin.static <R> StageChain<PluginUpdateMetadata,R>
PromaPluginUpdateCheck. getPluginMetadata(IPublicPromaInvocationContext pc, String pluginKey, Locale locale, PluginManifest manifest, PluginRuntime runtime, de.xima.proma.restclient.pub.gen.model.PublicStoreItemResource storeItem, String licenseKey)
This method returns a model class for caching the plugin meta data based on the plugin data passed.static <R> StageChain<PluginUpdateMetadata,R>
PromaPluginUpdateCheck. getPluginMetadata(IPublicPromaInvocationContext pc, String pluginKey, Locale locale, PluginManifest manifest, PluginRuntime runtime, String licenseKey)
This method returns a model class for caching the plugin meta data based on the plugin data passed.static <R> StageChain<String,R>
PromaPluginUpdateCheck. getPluginName(IPublicPromaInvocationContext pc, String pluginKey, PluginManifest manifest, Locale locale, String licenseKey)
This method returns the localized plugin name from proma.static <R> StageChain<de.xima.proma.restclient.pub.gen.model.PublicStoreItemResource,R>
PromaPluginUpdateCheck. getPluginPromaItem(IPublicPromaInvocationContext pc, String pluginKey, PluginManifest manifest, Locale locale, String licenseKey)
This method gives the proma store item from the plugin store of the given plugin key.static <R> StageChain<de.xima.proma.restclient.pub.gen.model.PublicStoreItemVersionResource,R>
PromaPluginUpdateCheck. getPluginVersionItem(IPublicPromaInvocationContext pc, String pluginKey, PluginManifest manifest, Locale locale, String licenseKey)
This method gives plugin store item from proma of the plugin version of given plugin.static <R> StageChain<de.xima.proma.restclient.pub.gen.model.PublicStoreItemResource,R>
PromaStoreItems. getStoreItemCompatibleWithProduct(IPublicPromaInvocationContext pc, String storeKey, String itemKey, String productVersion, Locale locale, String licenseKey)
This method gives the PROMA store item from the plugin store of the given plugin item key.static <R> StageChain<TempFile,R>
PromaStoreItems. getStoreItemFileByName(IPublicPromaInvocationContext pc, String licenseKey, String storeKey, String itemKey, String itemVersion, Predicate<String> fileNameFilter)
For a given store item version from a store, finds a store item file by name, using a custom user-supplied predicate for the file name.static <R> StageChain<Closable<Map<String,PluginJarWithManifest>>,R>
PromaStoreItems. getStoreItemJarFilesByFileKey(IPublicPromaInvocationContext pc, String licenseKey, String storeKey, String itemKey, String itemVersion)
Downloads all files for a given plugin key, and returns a map between each plugin file key and the corresponding file.static <R> StageChain<String,R>
PromaStoreItems. getStoreItemName(IPublicPromaInvocationContext pc, String storeKey, String pluginKey, String productVersion, Locale locale, String licenseKey)
This method returns the localized store item name from PROMA.static <R> StageChain<de.xima.proma.restclient.pub.gen.model.PublicStoreItemList,R>
PromaStoreItems. getStoreItemsWithFileMatchingChecksum(IPublicPromaInvocationContext pc, String storeKey, IFileEntity<?,?> entity, Locale locale, String licenseKey)
Gets all plugin store items that contain files with same checksum as the file from the given file entity.static <R> StageChain<de.xima.proma.restclient.pub.gen.model.PublicStoreItemList,R>
PromaStoreItems. getStoreItemsWithFileMatchingChecksum(IPublicPromaInvocationContext pc, String storeKey, Path file, Locale locale, String licenseKey)
Gets all plugin store items that contain files with same checksum as the given file.static <R> StageChain<de.xima.proma.restclient.pub.gen.model.PublicStoreItemUpdateCheckResultMap,R>
PromaPluginUpdateCheck. getUpdateCheckResultMap(IPublicPromaInvocationContext pc, List<de.xima.proma.restclient.pub.gen.model.PublicStoreItemMetaResource> metaResourcesList, Locale locale, String licenseKey)
This method returns data about the update availability of the given plugins in the list ofPublicStoreItemMetaResource
.static <R> StageChain<ScopedPluginUpdateResult,R>
PromaPluginUpdater. installOrUpdatePluginWithVersion(IPublicPromaInvocationContext pc, Locale locale, WorkspaceScope scope, String pluginKey, String targetVersion, EPluginValidationFailureTreatment validationFailureTreatment)
Installs or updates a plugin with the given plugin key from the remote repository, at the system or a client scope.static boolean
PromaAccessChecker. isPluginPromaRequestAllowedForScope(IPublicPromaInvocationContext pc, WorkspaceScope scope)
Checks whether requests to PROMA concerning plugins (such as the plugin update check) are allowed for the given context and scope (a client scope or system scope) are allowed.static <R> StageChain<PluginsUpdateStepResult,R>
PromaPluginUpdater. updateInstalledPlugins(IPublicPromaInvocationContext pc, Locale locale, EPluginValidationFailureTreatment validationFailureTreatment, String licenseKey)
For all scopes (clients + system), updates all plugins that are connected to a remote repository.static <R> StageChain<PluginsUpdateStepResult,R>
PromaPluginUpdater. updateInstalledPlugins(IPublicPromaInvocationContext pc, Locale locale, Set<WorkspaceScope> scopes, EPluginValidationFailureTreatment validationFailureTreatment, String licenseKey)
For each given scopes, update all plugins that are connected to a remote repository.static <R> StageChain<PluginsUpdateStepResult,R>
PromaPluginUpdater. updateInstalledPlugins(IPublicPromaInvocationContext pc, Locale locale, Set<WorkspaceScope> scopes, EPluginValidationFailureTreatment validationFailureTreatment, BiPredicate<WorkspaceScope,PluginGroupMeta> pluginFilter, String licenseKey)
For each given scopes, update all plugins that are connected to a remote repository.
-