Uses of Class
com.erudika.para.core.App
Package
Description
Core domain classes for modeling the Para domain space.
Listeners package.
The search module - manages indexing operations and enables search.
Utility classes.
Object validation utilities.
-
Uses of App in com.erudika.para.core
Modifier and TypeMethodDescriptionApp.addAllSettings
(Map<String, Object> settings) Adds all settings to map of app settings and invokes allAppSettingAddedListener
s.App.addSetting
(String name, Object value) Adds a new setting to the map.App.clearSettings()
Clears all app settings and invokes eachAppSettingRemovedListener
s.App.removeSetting
(String name) Removes a setting from the map. -
Uses of App in com.erudika.para.core.listeners
Modifier and TypeMethodDescriptionvoid
AppCreatedListener.onAppCreated
(App app) Code to execute right after app is created.void
AppDeletedListener.onAppDeleted
(App app) Code to execute right after app is deleted.void
AppSettingAddedListener.onSettingAdded
(App app, String settingKey, Object settingValue) Code to execute right after a setting is added (could be updated or added for the first time).void
AppSettingRemovedListener.onSettingRemoved
(App app, String settingKey) Code to execute right after a setting is removed. -
Uses of App in com.erudika.para.core.search
Modifier and TypeMethodDescriptiondefault void
Search.createIndex
(App app) Creates a new search index for the given app.default void
Search.deleteIndex
(App app) Deletes the search index for a given app.boolean
MockSearch.rebuildIndex
(DAO dao, App app, Pager... pager) boolean
MockSearch.rebuildIndex
(DAO dao, App app, String destinationIndex, Pager... pager) boolean
Search.rebuildIndex
(DAO dao, App app, Pager... pager) Reads all objects from the database and indexes them into a new index.boolean
Search.rebuildIndex
(DAO dao, App app, String destinationIndex, Pager... pager) Reads all objects from the database and indexes them into a new index. -
Uses of App in com.erudika.para.core.utils
Modifier and TypeMethodDescriptionParaObjectUtils.getAllTypes
(App app) Returns a map of all registered types.ParaConfig.getLdapSettingsForApp
(App app) Returns a map of LDAP configuration properties for a given app, read from app.settings or config file.String[]
ParaConfig.getOAuthKeysForApp
(App app, String prefix) Return the OAuth app ID and secret key for a given app by reading the app settings, or the config file.ParaConfig.getSettingForApp
(App app, String key, String defaultValue) Returns the value of the app setting, read from from app.settings or from the config file if app is root.static <P extends ParaObject>
PConstructs a new instance of a core object. -
Uses of App in com.erudika.para.core.validation
Modifier and TypeMethodDescriptionstatic boolean
ValidationUtils.isValidObject
(App app, ParaObject obj) Validates objects using Hibernate Validator.static String[]
ValidationUtils.validateObject
(App app, ParaObject content) Validates objects.