Class PerspectiveModuleRpcImpl
java.lang.Object
com.inductiveautomation.perspective.gateway.PerspectiveModuleRpcImpl
- All Implemented Interfaces:
- PerspectiveDesignSessionRpc,- PerspectiveModuleRpc
public class PerspectiveModuleRpcImpl
extends Object
implements PerspectiveModuleRpc, PerspectiveDesignSessionRpc
Gateway RPC implementation for the Perspective Module
- 
Method SummaryModifier and TypeMethodDescriptionvoiddesignerNamedQueriesModified(Map<String, NamedQuery> namedQueryMap) Updates the PerspectiveDesignSession on the Gateway with the named query changes local to this Designer instance so that executions of named queries on the Gateway reflect the latest changes in this Designer instance.voidvoiddesignerScriptsModified(List<ProjectResource> moduleLibraryScripts, ProjectResource legacyAppScripts) Updates the necessary Script Managers on the Gateway when the Designer scripts change so that the designer session's models running on the gateway act against the latest unsaved Designer changes.voiddesignerSessionPropsChanged(ProjectResource resource) Called to notify that the designer has applied a new session props resource.voidCalled to notify that the designer has closed.voidCalled to notify that a designer has started.voiddesignerTabClosed(String viewPath) Called to notify the gateway that a page was closed, an the corresponding Page should be shut down.Get all of the available fonts from the Gateway's Font Manager.Fetch a map of all icon library names and their respective icon namesGet all of the available IdP adapters from the Gateway's IdP Adapter Manager.Get all of the available locales from the GatewayGet all of the available themes from the Gateway's Theme Manager.
- 
Method Details- 
designerStartuppublic void designerStartup()Description copied from interface:PerspectiveModuleRpcCalled to notify that a designer has started. Even though no views are running, the session props will start.- Specified by:
- designerStartupin interface- PerspectiveModuleRpc
 
- 
designerShutdownpublic void designerShutdown()Description copied from interface:PerspectiveModuleRpcCalled to notify that the designer has closed. Used for more timely shutdown of the session-side models, in cases where the designer closes cleanly.- Specified by:
- designerShutdownin interface- PerspectiveModuleRpc
 
- 
designerTabClosedDescription copied from interface:PerspectiveModuleRpcCalled to notify the gateway that a page was closed, an the corresponding Page should be shut down.- Specified by:
- designerTabClosedin interface- PerspectiveModuleRpc
 
- 
designerSessionPropsChangedDescription copied from interface:PerspectiveModuleRpcCalled to notify that the designer has applied a new session props resource.- Specified by:
- designerSessionPropsChangedin interface- PerspectiveModuleRpc
 
- 
designerScriptsModifiedpublic void designerScriptsModified(List<ProjectResource> moduleLibraryScripts, ProjectResource legacyAppScripts) Description copied from interface:PerspectiveModuleRpcUpdates the necessary Script Managers on the Gateway when the Designer scripts change so that the designer session's models running on the gateway act against the latest unsaved Designer changes.- Specified by:
- designerScriptsModifiedin interface- PerspectiveModuleRpc
- Parameters:
- moduleLibraryScripts- List of all module library scripts in the project
- legacyAppScripts- The resource that holds the legacy app.* scripts, if any, or else null.
 
- 
designerSavedpublic void designerSaved()- Specified by:
- designerSavedin interface- PerspectiveDesignSessionRpc
 
- 
designerNamedQueriesModifiedDescription copied from interface:PerspectiveModuleRpcUpdates the PerspectiveDesignSession on the Gateway with the named query changes local to this Designer instance so that executions of named queries on the Gateway reflect the latest changes in this Designer instance.- Specified by:
- designerNamedQueriesModifiedin interface- PerspectiveModuleRpc
- Parameters:
- namedQueryMap- A- Mapof named query paths to the serialized bytes of- NamedQueryinstances for those named queries which have changed in this Designer instance. Null NamedQuery values mean that the NamedQuery with the given path has been deleted locally.
 
- 
getAllAvailableLocalesDescription copied from interface:PerspectiveModuleRpcGet all of the available locales from the Gateway- Specified by:
- getAllAvailableLocalesin interface- PerspectiveModuleRpc
- Returns:
- A Listof all the available locales
 
- 
getAllAvailableThemesDescription copied from interface:PerspectiveModuleRpcGet all of the available themes from the Gateway's Theme Manager.- Specified by:
- getAllAvailableThemesin interface- PerspectiveModuleRpc
- Returns:
- A Listof all the available themes
 
- 
getAllAvailableIconsDescription copied from interface:PerspectiveModuleRpcFetch a map of all icon library names and their respective icon names- Specified by:
- getAllAvailableIconsin interface- PerspectiveModuleRpc
- Returns:
- A map of all icon library names and their respective listsof icon names
 
- 
getAllAvailableFontsDescription copied from interface:PerspectiveModuleRpcGet all of the available fonts from the Gateway's Font Manager.- Specified by:
- getAllAvailableFontsin interface- PerspectiveModuleRpc
- Returns:
- A Listof all the availablefonts
 
- 
getAllAvailableSecurityLevels- Specified by:
- getAllAvailableSecurityLevelsin interface- PerspectiveModuleRpc
- Returns:
- a Listof all the available gson-serialized security level configs
 
- 
getAllAvailableIdpAdaptersDescription copied from interface:PerspectiveModuleRpcGet all of the available IdP adapters from the Gateway's IdP Adapter Manager.- Specified by:
- getAllAvailableIdpAdaptersin interface- PerspectiveModuleRpc
- Returns:
- a Mapof all the availableIdpAdapterMetakeyed by their internal IDs
 
 
-