Interface CometConfigurationRemote
-
public interface CometConfigurationRemoteRemote interface to access the comet configuration bean from external JVM.This is intended for testing purposes only and maybe removed or changed without notice.
For all normal work please use
CometConfigurationLocalinterface instead.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringAPPLICATIONCONFIG_FILENAMEConstant "application.xml"static java.lang.StringENV_PLACEHOLDER_PROPERTYThe Constant ENV_PLACEHOLDER_PROPERTY: SESSION_PREFIX + "placeholder"static java.lang.StringENV_SUBJECT_PROPERTYThe Constant ENV_SUBJECT_PROPERTY: SESSION_PREFIX + "subject"static java.lang.StringENV_VARNAME_PROPERTYThe Constant ENV_VARNAME_PROPERTY: SESSION_PREFIX + "variableName"static java.lang.StringINDEX_FILENAMEThe Constant INDEX_FILENAME: "index.xml"static java.lang.StringJNDINAMEJNDI name for the remote interfacestatic java.lang.StringMAPPED_NAMEThe mapped name of the CometConfiguration Pluginstatic java.lang.StringMAPPED_NAME_LOCALThe mapped name for the local beanstatic java.lang.StringMAPPED_NAME_REMOTEThe mapped name for the remote beanstatic java.lang.StringNAME_SEPARATORThe Constant NAME_SEPARATOR: "-"static java.lang.StringOLD_MAPPED_NAMEThe mapped name of the old CometConfiguration Pluginstatic java.lang.StringPROJECT_FILENAMEThe Constant PROJECT_FILENAME: "cometproject.xml"static java.lang.StringSESSION_CLIENT_PROPERTYThe Constant SESSION_CLIENT_PROPERTY: SESSION_PREFIX + "client"static java.lang.StringSESSION_LANGUAGE_PROPERTYThe Constant SESSION_LANGUAGE_PROPERTY: SESSION_PREFIX + "language"static java.lang.StringSESSION_PREFIXThe Constant SESSION_PREFIX: "cometConfiguration::"static java.lang.StringSESSION_PROJECT_PROPERTYThe Constant SESSION_PROJECT_PROPERTY: SESSION_PREFIX + "project"static java.lang.StringSESSION_REGION_PROPERTYThe Constant SESSION_REGION_PROPERTY: SESSION_PREFIX + "region"static java.lang.Class<?>[]SUPPORTED_TYPESThe Constant SUPPORTED_TYPES Class>
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddDependency(java.lang.String sessionId, PluginConfigDataHandler container, PluginConfigDataHandler dependentItem, PluginConfigDependencyRestriction restriction)Add a dependency to a configuration item.CheckResultcheckForBrokenDependencies(java.lang.String sessionId, java.lang.String projectIdentifier)Check for broken dependencies in a comet project repository.
This is a PluginMethod.MethodType.CONFIGURATION_CHECK method intended to be run e.g.CheckResultcheckForDuplicateIDs(java.lang.String sessionId, java.lang.String projectIdentifier)Check for duplicate IDs in a comet project repository.
This is a PluginMethod.MethodType.CONFIGURATION_CHECK method intended to be run e.g.CheckResultcheckForNotConnectorCheckCometProject(java.lang.String sessionId, java.lang.String projectIdentifier)Check for Connector for Comet Project.
This is a PluginMethod.MethodType.CONFIGURATION_CHECK method intended to be run e.g.CheckResultcheckForNotcScriptExampleCometProject(java.lang.String sessionId, java.lang.String projectIdentifier)Check for cScript Example for Comet Project.
This is a PluginMethod.MethodType.CONFIGURATION_CHECK method intended to be run e.g.CheckResultcheckForNotDataProviderCometProject(java.lang.String sessionId, java.lang.String projectIdentifier)Check for Data Provider for Comet Project.
This is a PluginMethod.MethodType.CONFIGURATION_CHECK method intended to be run e.g.CheckResultcheckForNotExistingEntityModelForCometProject(java.lang.String sessionId, java.lang.String projectIdentifier)Check for Entity Model for Comet Project.
This is a PluginMethod.MethodType.CONFIGURATION_CHECK method intended to be run e.g.CheckResultcheckForNotExistingPanelActionLabelCometProject(java.lang.String sessionId, java.lang.String projectIdentifier)Check for Panel Action Label for Comet Project.
This is a PluginMethod.MethodType.CONFIGURATION_CHECK method intended to be run e.g.CheckResultcheckForNotExistingPanelActionStatementCometProject(java.lang.String sessionId, java.lang.String projectIdentifier)Check for Panel Action Statement for Comet Project.
This is a PluginMethod.MethodType.CONFIGURATION_CHECK method intended to be run e.g.CheckResultcheckForNotExistingPlaceholderDataProviderSelectionCheckCometProject(java.lang.String sessionId, java.lang.String projectIdentifier)Check for Placeholder Data Provider Selection for Comet Project.
This is a PluginMethod.MethodType.CONFIGURATION_CHECK method intended to be run e.g.CheckResultcheckForNotPlaceholderDataMappingMethodCometProject(java.lang.String sessionId, java.lang.String projectIdentifier)Check for Placeholder Data Mapping Method for Comet Project.
This is a PluginMethod.MethodType.CONFIGURATION_CHECK method intended to be run e.g.CheckResultcheckForNotPlaceholderDataQueryMethodCometProject(java.lang.String sessionId, java.lang.String projectIdentifier)Check for Placeholder Data Query Method check for Comet Project.
This is a PluginMethod.MethodType.CONFIGURATION_CHECK method intended to be run e.g.CheckResultcheckForNotPlaceholderEntityCometProject(java.lang.String sessionId, java.lang.String projectIdentifier)Check for Placeholder Entity for Comet Project.
This is a PluginMethod.MethodType.CONFIGURATION_CHECK method intended to be run e.g.CheckResultcheckTypeIntegrity(java.lang.String sessionId, java.lang.String projectIdentifier)Check for type integrity, i.e., if all required dependent files for certain types exist, if all type or field constraints are fulfilled etc.
This is a PluginMethod.MethodType.CONFIGURATION_CHECK method intended to be run e.g.PluginConfigDataHandlercreateOrUpdateConfig(java.lang.String sessionId, PluginConfigDataHandler container)Creates or updates a configurationvoidendTransaction(java.lang.String sessionId)End transaction mode and persist all modifications.booleanexistsInRepository(java.lang.String sessionId, PluginConfigDataHandler container)Check, if an item already exists in the repository.
This will return false for items only existing in current transactions and not persisted yet.<T extends CometEntity>
PluginConfigDataHandlerfindByIdAndClass(java.lang.String sessionId, int id, java.lang.Class<T> containerClass)Finds a particular configurationjava.lang.StringgetAbsoluteContainerPath(java.lang.String sessionId, PluginConfigDataHandler item)Get the repository path for a particular item.
Returns the absolute path respecting all client and project hierarchy.java.lang.StringgetConfigPath(java.lang.String sessionId, java.lang.String relativePath)Calculates the absolute configuration path for a given session and relative path.
This is the root directory of the current Comet configuration.<T extends CometEntity>
java.util.List<PluginConfigDataHandler>getDependentItems(java.lang.String sessionId, PluginConfigDataHandler container, java.lang.Class<T> clazz)Get dependent configuration items of a specific class.<T extends CometEntity>
PluginConfigDataHandlergetItem(java.lang.String sessionId, java.lang.String uri, java.lang.Class<T> clazz)Gets a single item of a specific class and URI<T extends CometEntity>
java.util.List<PluginConfigDataHandler>getItems(java.lang.String sessionId, java.lang.Class<T> clazz)Gets items of a specific classintgetNewId(java.lang.String sessionId, int externId, java.lang.Class<?> clazz)Gets a new unique ID.CometProjectgetProject(java.lang.String projectName)Get a CometProject identified by the given name.java.util.Set<java.lang.String>getRegisteredCometProjects(java.lang.String sessionId)Get the list of comet project registered on startup or created / imported on runtime.java.lang.StringgetSessionLanguage(java.lang.String sessionId)Get the language (if set) for the current session.CometProjectgetSessionProject(java.lang.String sessionId)Get the CometProject for the current session.java.lang.StringgetSessionRegion(java.lang.String sessionId)Get the region resp.booleanisTransactionActive(java.lang.String sessionId)Tell, whether a transaction is currently active or not.java.lang.Stringlogin(java.lang.String user, java.lang.String password)Start a CometConfiguration session.voidlogout(java.lang.String sessionId)Stop a CometConfiguration session.voidremoveConfig(java.lang.String sessionId, PluginConfigDataHandler container)Delete a configuration item.voidrepairAddBackwardDependency(java.lang.String sessionId, java.lang.String path, java.lang.String dependencyName)Repair add backward dependency.voidrepairAddConfigToIndex(java.lang.String sessionId, java.lang.String path)Repair add config to index.voidrepairAddIndexToProject(java.lang.String sessionId, java.lang.String path)Repair add index to project.voidrepairChangeDependencyRestriction(java.lang.String sessionId, java.lang.String path, java.lang.String dependencyName, java.lang.String restriction)Repair change dependency restriction.voidrepairChangeFieldIdValue(java.lang.String sessionId, java.lang.String configPath, java.lang.String fieldName, java.lang.String oldValue)Repair change field id value.voidrepairDeleteDependency(java.lang.String sessionId, java.lang.String path, java.lang.String dependencyName)Repair delete dependency.voidrepairDeleteOrphanedChildOrTwin(java.lang.String sessionId, java.lang.String path)Repair delete orphaned child or twin.voidrepairRecreateWithNewId(java.lang.String sessionId, java.lang.String configPath, java.lang.String fieldName)Repair recreate with new id.voidresetApplication(java.lang.String sessionId)Reset the applicationvoidsetSessionContext(java.lang.String sessionId, java.lang.String client, java.lang.String project, java.lang.String language, java.lang.String region)Set the context of this session.voidstartTransaction(java.lang.String sessionId)Start transaction mode.
-
-
-
Field Detail
-
MAPPED_NAME
static final java.lang.String MAPPED_NAME
The mapped name of the CometConfiguration Plugin
Use this name when requesting a Plugin instance from the PluginManager
.- See Also:
- Constant Field Values
-
OLD_MAPPED_NAME
static final java.lang.String OLD_MAPPED_NAME
The mapped name of the old CometConfiguration Plugin
Use this name when requesting a Plugin instance from the PluginManager
.- See Also:
- Constant Field Values
-
MAPPED_NAME_LOCAL
static final java.lang.String MAPPED_NAME_LOCAL
The mapped name for the local bean
This is the same like "com.priint.pubserver.comet.config.CometConfiguration"
.- See Also:
- Constant Field Values
-
MAPPED_NAME_REMOTE
static final java.lang.String MAPPED_NAME_REMOTE
The mapped name for the remote bean
.- See Also:
- Constant Field Values
-
JNDINAME
static final java.lang.String JNDINAME
JNDI name for the remote interface
Use this name when connecting to the server via a remote EJB client, e.g.
Properties properties = new Properties(); properties.setProperty("java.naming.factory.initial", "com.sun.enterprise.naming.SerialInitContextFactory"); properties.setProperty("java.naming.factory.url.pkgs", "com.sun.enterprise.naming"); properties.setProperty("java.naming.factory.state", "com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl"); properties.setProperty("org.omg.CORBA.ORBInitialHost", "<your server name>"); properties.setProperty("org.omg.CORBA.ORBInitialPort", "<your server's ORB port>"); InitialContext initialContext = new InitialContext(properties); CometConfigurationRemote bridge = (CometConfigurationRemote)initialContext.lookup(com.priint.pubserver.comet.config.CometConfigurationRemote.JNDINAME);- See Also:
- Constant Field Values
-
SESSION_PREFIX
static final java.lang.String SESSION_PREFIX
The Constant SESSION_PREFIX: "cometConfiguration::"- See Also:
- Constant Field Values
-
SESSION_CLIENT_PROPERTY
static final java.lang.String SESSION_CLIENT_PROPERTY
The Constant SESSION_CLIENT_PROPERTY: SESSION_PREFIX + "client"- See Also:
- Constant Field Values
-
SESSION_PROJECT_PROPERTY
static final java.lang.String SESSION_PROJECT_PROPERTY
The Constant SESSION_PROJECT_PROPERTY: SESSION_PREFIX + "project"- See Also:
- Constant Field Values
-
SESSION_LANGUAGE_PROPERTY
static final java.lang.String SESSION_LANGUAGE_PROPERTY
The Constant SESSION_LANGUAGE_PROPERTY: SESSION_PREFIX + "language"- See Also:
- Constant Field Values
-
SESSION_REGION_PROPERTY
static final java.lang.String SESSION_REGION_PROPERTY
The Constant SESSION_REGION_PROPERTY: SESSION_PREFIX + "region"- See Also:
- Constant Field Values
-
ENV_PLACEHOLDER_PROPERTY
static final java.lang.String ENV_PLACEHOLDER_PROPERTY
The Constant ENV_PLACEHOLDER_PROPERTY: SESSION_PREFIX + "placeholder"- See Also:
- Constant Field Values
-
ENV_SUBJECT_PROPERTY
static final java.lang.String ENV_SUBJECT_PROPERTY
The Constant ENV_SUBJECT_PROPERTY: SESSION_PREFIX + "subject"- See Also:
- Constant Field Values
-
ENV_VARNAME_PROPERTY
static final java.lang.String ENV_VARNAME_PROPERTY
The Constant ENV_VARNAME_PROPERTY: SESSION_PREFIX + "variableName"- See Also:
- Constant Field Values
-
PROJECT_FILENAME
static final java.lang.String PROJECT_FILENAME
The Constant PROJECT_FILENAME: "cometproject.xml"- See Also:
- Constant Field Values
-
INDEX_FILENAME
static final java.lang.String INDEX_FILENAME
The Constant INDEX_FILENAME: "index.xml"- See Also:
- Constant Field Values
-
NAME_SEPARATOR
static final java.lang.String NAME_SEPARATOR
The Constant NAME_SEPARATOR: "-"- See Also:
- Constant Field Values
-
SUPPORTED_TYPES
static final java.lang.Class<?>[] SUPPORTED_TYPES
The Constant SUPPORTED_TYPES Class>
-
APPLICATIONCONFIG_FILENAME
static final java.lang.String APPLICATIONCONFIG_FILENAME
Constant "application.xml"- See Also:
- Constant Field Values
-
-
Method Detail
-
setSessionContext
void setSessionContext(java.lang.String sessionId, java.lang.String client, java.lang.String project, java.lang.String language, java.lang.String region) throws CometException, InvalidSessionExceptionSet the context of this session.- client defaults to "Default"
- project is an arbitrary string
- Parameters:
sessionId- the session idclient- the clientproject- the projectlanguage- the languageregion- the region- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
getItems
<T extends CometEntity> java.util.List<PluginConfigDataHandler> getItems(java.lang.String sessionId, java.lang.Class<T> clazz) throws CometException, InvalidSessionException
Gets items of a specific class
.- Type Parameters:
T- the generic type- Parameters:
sessionId- the session idclazz- the clazz- Returns:
- configuration items of the given class
- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
getItem
<T extends CometEntity> PluginConfigDataHandler getItem(java.lang.String sessionId, java.lang.String uri, java.lang.Class<T> clazz) throws CometException, InvalidSessionException
Gets a single item of a specific class and URI
- Type Parameters:
T- the generic type- Parameters:
sessionId- the session iduri- the uriclazz- the clazz- Returns:
- the configuration of this class stored at the given URI.
- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
getNewId
int getNewId(java.lang.String sessionId, int externId, java.lang.Class<?> clazz) throws CometException, InvalidSessionExceptionGets a new unique ID.
- Parameters:
sessionId- the session idexternId- the extern idclazz- the clazz- Returns:
- a new, unique ID
- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
findByIdAndClass
<T extends CometEntity> PluginConfigDataHandler findByIdAndClass(java.lang.String sessionId, int id, java.lang.Class<T> containerClass) throws CometException, InvalidSessionException
Finds a particular configuration
.- Type Parameters:
T- the generic type- Parameters:
sessionId- the session idid- the idcontainerClass- the container class- Returns:
- the configuration item or null, if not found
- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
createOrUpdateConfig
PluginConfigDataHandler createOrUpdateConfig(java.lang.String sessionId, PluginConfigDataHandler container) throws CometException, InvalidSessionException
Creates or updates a configuration
.- Parameters:
sessionId- the session idcontainer- the container- Returns:
- the updated configuration
- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
removeConfig
void removeConfig(java.lang.String sessionId, PluginConfigDataHandler container) throws CometException, InvalidSessionExceptionDelete a configuration item.
- Parameters:
sessionId- the session idcontainer- the container- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
getDependentItems
<T extends CometEntity> java.util.List<PluginConfigDataHandler> getDependentItems(java.lang.String sessionId, PluginConfigDataHandler container, java.lang.Class<T> clazz) throws CometException, InvalidSessionException
Get dependent configuration items of a specific class.
- Type Parameters:
T- the generic type- Parameters:
sessionId- the session idcontainer- the containerclazz- the clazz- Returns:
- dependent items of a specific class
- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
addDependency
void addDependency(java.lang.String sessionId, PluginConfigDataHandler container, PluginConfigDataHandler dependentItem, PluginConfigDependencyRestriction restriction) throws CometException, InvalidSessionExceptionAdd a dependency to a configuration item.
If this particular dependency already exists, nothing will happen. If this dependency does not yet exist, it will be added and persisted (i.e. saved to the repository)
- Parameters:
sessionId- the session idcontainer- the containerdependentItem- the dependent itemrestriction- the restriction- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
startTransaction
void startTransaction(java.lang.String sessionId) throws CometException, InvalidSessionExceptionStart transaction mode. In transaction mode all modifications will be cached (rather than persisted in the repository).
Only one transaction can be active per session at the time, if transaction mode is already active, an Exception will be raised.- Parameters:
sessionId- the session id- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
endTransaction
void endTransaction(java.lang.String sessionId) throws CometException, InvalidSessionExceptionEnd transaction mode and persist all modifications. If currently no transaction is active, an Exception will be raised.
- Parameters:
sessionId- the session id- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
isTransactionActive
boolean isTransactionActive(java.lang.String sessionId) throws CometException, InvalidSessionExceptionTell, whether a transaction is currently active or not.
- Parameters:
sessionId- the session id- Returns:
- true, if a transaction is active, false if not.
- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
getAbsoluteContainerPath
java.lang.String getAbsoluteContainerPath(java.lang.String sessionId, PluginConfigDataHandler item) throws CometException, InvalidSessionExceptionGet the repository path for a particular item.
Returns the absolute path respecting all client and project hierarchy.Usually there is no need to call this method, because the following code should give the same result:
PluginConfigDataHandler handler; String path = handler.getProperties().getPath();However, if the configuration properties are incomplete or not existing (e.g. if you just created a new configuration), the path for this item can be calculated - provided that this is a valid configuration item within the Comet repository.- Parameters:
sessionId- the session iditem- the item- Returns:
- absolute path of this configuration item
- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
resetApplication
void resetApplication(java.lang.String sessionId) throws CometException, InvalidSessionExceptionReset the application
This method is mainly intended for testing purposes. In regular operation there should be no need to reset the application. All caches are cleared and startup procedures are executed.
- Parameters:
sessionId- the session id- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
getConfigPath
java.lang.String getConfigPath(java.lang.String sessionId, java.lang.String relativePath) throws CometException, InvalidSessionExceptionCalculates the absolute configuration path for a given session and relative path.
This is the root directory of the current Comet configuration. The path depends on the client and Comet project choosen for this session.- Parameters:
sessionId- the session idrelativePath- the relative path- Returns:
- configuration root for this session
- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
existsInRepository
boolean existsInRepository(java.lang.String sessionId, PluginConfigDataHandler container) throws CometException, InvalidSessionExceptionCheck, if an item already exists in the repository.
This will return false for items only existing in current transactions and not persisted yet. The method also returns false for items, that have been deleted.- Parameters:
sessionId- the session idcontainer- the container- Returns:
- true, if item exists AND is alive
- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
getSessionLanguage
java.lang.String getSessionLanguage(java.lang.String sessionId) throws CometException, InvalidSessionExceptionGet the language (if set) for the current session.
- Parameters:
sessionId- the session id- Returns:
- language for this session
- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
getSessionRegion
java.lang.String getSessionRegion(java.lang.String sessionId) throws CometException, InvalidSessionExceptionGet the region resp. country for the current session
- Parameters:
sessionId- the session id- Returns:
- region / country for this session
- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
getProject
CometProject getProject(java.lang.String projectName) throws CometException, InvalidSessionException
Get a CometProject identified by the given name. If this project does not exist, an Exception is thrown.
The CometProject provides information such as client name, entity model etc.- Parameters:
projectName- the project name- Returns:
- the comet project
- Throws:
CometException- if no such project existsInvalidSessionException- the invalid session exception
-
getSessionProject
CometProject getSessionProject(java.lang.String sessionId) throws CometException, InvalidSessionException
Get the CometProject for the current session.
- Parameters:
sessionId- the session id- Returns:
- CometProject for the current session
- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
login
java.lang.String login(java.lang.String user, java.lang.String password) throws CometExceptionStart a CometConfiguration session. This is just a shortcut for the SessionManagerRemote.login() method in the PubServerKernel, in case you write applications on top of the CometConfiguration EJB and you don't want to setup another EJB client just to call the login method from SessionManager
- Parameters:
user- the userpassword- the password- Returns:
- sessionId, if login succeeds
- Throws:
CometException- if login fails
-
logout
void logout(java.lang.String sessionId) throws CometException, InvalidSessionExceptionStop a CometConfiguration session. This is just a shortcut for the SessionManagerRemote.logout() method in the PubServerKernel, in case you write applications on top of the CometConfiguration EJB and you don't want to setup another EJB client just to call the logout method from SessionManager
- Parameters:
sessionId- the session id- Throws:
CometException- if logout fails (e.g. no such session)InvalidSessionException- the invalid session exception
-
getRegisteredCometProjects
java.util.Set<java.lang.String> getRegisteredCometProjects(java.lang.String sessionId) throws CometException, InvalidSessionExceptionGet the list of comet project registered on startup or created / imported on runtime.
- Parameters:
sessionId- the session id- Returns:
- list (set) of comet projects
- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
checkForDuplicateIDs
CheckResult checkForDuplicateIDs(java.lang.String sessionId, java.lang.String projectIdentifier) throws CometException, InvalidSessionException
Check for duplicate IDs in a comet project repository.
This is a PluginMethod.MethodType.CONFIGURATION_CHECK method intended to be run e.g. from the Ison client "Check rules" view.- Parameters:
sessionId- the session idprojectIdentifier- the project identifier- Returns:
- CheckResult
- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
checkForBrokenDependencies
CheckResult checkForBrokenDependencies(java.lang.String sessionId, java.lang.String projectIdentifier) throws CometException, InvalidSessionException
Check for broken dependencies in a comet project repository.
This is a PluginMethod.MethodType.CONFIGURATION_CHECK method intended to be run e.g. from the Ison client "Check rules" view.
- Parameters:
sessionId- the session idprojectIdentifier- the project identifier- Returns:
- CheckResult
- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
checkTypeIntegrity
CheckResult checkTypeIntegrity(java.lang.String sessionId, java.lang.String projectIdentifier) throws CometException, InvalidSessionException
Check for type integrity, i.e., if all required dependent files for certain types exist, if all type or field constraints are fulfilled etc.
This is a PluginMethod.MethodType.CONFIGURATION_CHECK method intended to be run e.g. from the Ison client "Check rules" view.
- Parameters:
sessionId- the session idprojectIdentifier- the project identifier- Returns:
- CheckResult
- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
repairChangeFieldIdValue
void repairChangeFieldIdValue(java.lang.String sessionId, java.lang.String configPath, java.lang.String fieldName, java.lang.String oldValue) throws CometException, InvalidSessionExceptionRepair change field id value.- Parameters:
sessionId- the session idconfigPath- the config pathfieldName- the field nameoldValue- the old value- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
repairRecreateWithNewId
void repairRecreateWithNewId(java.lang.String sessionId, java.lang.String configPath, java.lang.String fieldName) throws CometException, InvalidSessionExceptionRepair recreate with new id.- Parameters:
sessionId- the session idconfigPath- the config pathfieldName- the field name- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
repairDeleteDependency
void repairDeleteDependency(java.lang.String sessionId, java.lang.String path, java.lang.String dependencyName) throws CometException, InvalidSessionExceptionRepair delete dependency.- Parameters:
sessionId- the session idpath- the pathdependencyName- the dependency name- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
repairChangeDependencyRestriction
void repairChangeDependencyRestriction(java.lang.String sessionId, java.lang.String path, java.lang.String dependencyName, java.lang.String restriction) throws CometException, InvalidSessionExceptionRepair change dependency restriction.- Parameters:
sessionId- the session idpath- the pathdependencyName- the dependency namerestriction- the restriction- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
repairAddBackwardDependency
void repairAddBackwardDependency(java.lang.String sessionId, java.lang.String path, java.lang.String dependencyName) throws CometException, InvalidSessionExceptionRepair add backward dependency.- Parameters:
sessionId- the session idpath- the pathdependencyName- the dependency name- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
repairAddIndexToProject
void repairAddIndexToProject(java.lang.String sessionId, java.lang.String path) throws CometException, InvalidSessionExceptionRepair add index to project.- Parameters:
sessionId- the session idpath- the path- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
repairDeleteOrphanedChildOrTwin
void repairDeleteOrphanedChildOrTwin(java.lang.String sessionId, java.lang.String path) throws CometException, InvalidSessionExceptionRepair delete orphaned child or twin.- Parameters:
sessionId- the session idpath- the path- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
repairAddConfigToIndex
void repairAddConfigToIndex(java.lang.String sessionId, java.lang.String path) throws CometException, InvalidSessionExceptionRepair add config to index.- Parameters:
sessionId- the session idpath- the path- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
checkForNotExistingEntityModelForCometProject
CheckResult checkForNotExistingEntityModelForCometProject(java.lang.String sessionId, java.lang.String projectIdentifier) throws CometException, InvalidSessionException
Check for Entity Model for Comet Project.
This is a PluginMethod.MethodType.CONFIGURATION_CHECK method intended to be run e.g. from the Ison client "Check rules" view.- Parameters:
sessionId- the session idprojectIdentifier- the project identifier- Returns:
- CheckResult
- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
checkForNotExistingPanelActionLabelCometProject
CheckResult checkForNotExistingPanelActionLabelCometProject(java.lang.String sessionId, java.lang.String projectIdentifier) throws CometException, InvalidSessionException
Check for Panel Action Label for Comet Project.
This is a PluginMethod.MethodType.CONFIGURATION_CHECK method intended to be run e.g. from the Ison client "Check rules" view.- Parameters:
sessionId- the session idprojectIdentifier- the project identifier- Returns:
- CheckResult
- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
checkForNotExistingPanelActionStatementCometProject
CheckResult checkForNotExistingPanelActionStatementCometProject(java.lang.String sessionId, java.lang.String projectIdentifier) throws CometException, InvalidSessionException
Check for Panel Action Statement for Comet Project.
This is a PluginMethod.MethodType.CONFIGURATION_CHECK method intended to be run e.g. from the Ison client "Check rules" view.- Parameters:
sessionId- the session idprojectIdentifier- the project identifier- Returns:
- CheckResult
- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
checkForNotExistingPlaceholderDataProviderSelectionCheckCometProject
CheckResult checkForNotExistingPlaceholderDataProviderSelectionCheckCometProject(java.lang.String sessionId, java.lang.String projectIdentifier) throws CometException, InvalidSessionException
Check for Placeholder Data Provider Selection for Comet Project.
This is a PluginMethod.MethodType.CONFIGURATION_CHECK method intended to be run e.g. from the Ison client "Check rules" view.- Parameters:
sessionId- the session idprojectIdentifier- the project identifier- Returns:
- CheckResult
- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
checkForNotPlaceholderEntityCometProject
CheckResult checkForNotPlaceholderEntityCometProject(java.lang.String sessionId, java.lang.String projectIdentifier) throws CometException, InvalidSessionException
Check for Placeholder Entity for Comet Project.
This is a PluginMethod.MethodType.CONFIGURATION_CHECK method intended to be run e.g. from the Ison client "Check rules" view.- Parameters:
sessionId- the session idprojectIdentifier- the project identifier- Returns:
- CheckResult
- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
checkForNotPlaceholderDataQueryMethodCometProject
CheckResult checkForNotPlaceholderDataQueryMethodCometProject(java.lang.String sessionId, java.lang.String projectIdentifier) throws CometException, InvalidSessionException
Check for Placeholder Data Query Method check for Comet Project.
This is a PluginMethod.MethodType.CONFIGURATION_CHECK method intended to be run e.g. from the Ison client "Check rules" view.- Parameters:
sessionId- the session idprojectIdentifier- the project identifier- Returns:
- CheckResult
- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
checkForNotPlaceholderDataMappingMethodCometProject
CheckResult checkForNotPlaceholderDataMappingMethodCometProject(java.lang.String sessionId, java.lang.String projectIdentifier) throws CometException, InvalidSessionException
Check for Placeholder Data Mapping Method for Comet Project.
This is a PluginMethod.MethodType.CONFIGURATION_CHECK method intended to be run e.g. from the Ison client "Check rules" view.- Parameters:
sessionId- the session idprojectIdentifier- the project identifier- Returns:
- CheckResult
- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
checkForNotcScriptExampleCometProject
CheckResult checkForNotcScriptExampleCometProject(java.lang.String sessionId, java.lang.String projectIdentifier) throws CometException, InvalidSessionException
Check for cScript Example for Comet Project.
This is a PluginMethod.MethodType.CONFIGURATION_CHECK method intended to be run e.g. from the Ison client "Check rules" view.- Parameters:
sessionId- the session idprojectIdentifier- the project identifier- Returns:
- CheckResult
- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
checkForNotConnectorCheckCometProject
CheckResult checkForNotConnectorCheckCometProject(java.lang.String sessionId, java.lang.String projectIdentifier) throws CometException, InvalidSessionException
Check for Connector for Comet Project.
This is a PluginMethod.MethodType.CONFIGURATION_CHECK method intended to be run e.g. from the Ison client "Check rules" view.- Parameters:
sessionId- the session idprojectIdentifier- the project identifier- Returns:
- CheckResult
- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
checkForNotDataProviderCometProject
CheckResult checkForNotDataProviderCometProject(java.lang.String sessionId, java.lang.String projectIdentifier) throws CometException, InvalidSessionException
Check for Data Provider for Comet Project.
This is a PluginMethod.MethodType.CONFIGURATION_CHECK method intended to be run e.g. from the Ison client "Check rules" view.- Parameters:
sessionId- the session idprojectIdentifier- the project identifier- Returns:
- CheckResult
- Throws:
CometException- the comet exceptionInvalidSessionException- the invalid session exception
-
-