Interface PerspectiveModuleRpc
- 
- All Known Implementing Classes:
- PerspectiveModuleRpcImpl
 
 public interface PerspectiveModuleRpcRPC Interface for the Perspective Module. Like all RPC interfaces, ensure that all types referenced in concrete implementations of this interface's method arguments and return types are java-serializable and follow good java serialization best practices.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddesignerNamedQueriesModified(java.util.Map<java.lang.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.voiddesignerScriptsModified(java.util.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 newSessionProps)Called to notify that the designer has applied a new session props resource.voiddesignerShutdown()Called to notify that the designer has closed.voiddesignerStartup()Called to notify that a designer has started.voiddesignerTabClosed(java.lang.String viewPath)Called to notify the gateway that a page was closed, an the corresponding Page should be shut down.java.util.List<PerspectiveFont>getAllAvailableFonts()Get all of the available fonts from the Gateway's Font Manager.java.util.Map<java.lang.String,java.util.List<java.lang.String>>getAllAvailableIcons()Fetch a map of all icon library names and their respective icon namesjava.util.Map<java.lang.String,IdpAdapterMeta>getAllAvailableIdpAdapters()Get all of the available IdP adapters from the Gateway's IdP Adapter Manager.java.util.List<java.util.Locale>getAllAvailableLocales()Get all of the available locales from the Gatewayjava.util.List<java.lang.String>getAllAvailableSecurityLevels()java.util.List<java.lang.String>getAllAvailableThemes()Get all of the available themes from the Gateway's Theme Manager.
 
- 
- 
- 
Method Detail- 
designerScriptsModifiedvoid designerScriptsModified(java.util.List<ProjectResource> moduleLibraryScripts, @Nullable 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.- 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.
 
 - 
designerNamedQueriesModifiedvoid designerNamedQueriesModified(java.util.Map<java.lang.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.- 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.
 
 - 
designerTabClosedvoid designerTabClosed(java.lang.String viewPath) Called to notify the gateway that a page was closed, an the corresponding Page should be shut down.
 - 
designerStartupvoid designerStartup() Called to notify that a designer has started. Even though no views are running, the session props will start.
 - 
designerShutdownvoid designerShutdown() Called to notify that the designer has closed. Used for more timely shutdown of the session-side models, in cases where the designer closes cleanly.
 - 
designerSessionPropsChangedvoid designerSessionPropsChanged(ProjectResource newSessionProps) Called to notify that the designer has applied a new session props resource.
 - 
getAllAvailableLocalesjava.util.List<java.util.Locale> getAllAvailableLocales() Get all of the available locales from the Gateway- Returns:
- A Listof all the available locales
 
 - 
getAllAvailableThemesjava.util.List<java.lang.String> getAllAvailableThemes() Get all of the available themes from the Gateway's Theme Manager.- Returns:
- A Listof all the available themes
 
 - 
getAllAvailableIconsjava.util.Map<java.lang.String,java.util.List<java.lang.String>> getAllAvailableIcons() Fetch a map of all icon library names and their respective icon names- Returns:
- A map of all icon library names and their respective listsof icon names
 
 - 
getAllAvailableFontsjava.util.List<PerspectiveFont> getAllAvailableFonts() Get all of the available fonts from the Gateway's Font Manager.- Returns:
- A Listof all the availablefonts
 
 - 
getAllAvailableSecurityLevelsjava.util.List<java.lang.String> getAllAvailableSecurityLevels() - Returns:
- a Listof all the available gson-serialized security level configs
 
 - 
getAllAvailableIdpAdaptersjava.util.Map<java.lang.String,IdpAdapterMeta> getAllAvailableIdpAdapters() Get all of the available IdP adapters from the Gateway's IdP Adapter Manager.- Returns:
- a Mapof all the availableIdpAdapterMetakeyed by their internal IDs
 
 
- 
 
-