Package omero.api

Class _IConfigTie

    • Constructor Detail

      • _IConfigTie

        public _IConfigTie()
    • Method Detail

      • ice_delegate

        public java.lang.Object ice_delegate()
        Specified by:
        ice_delegate in interface Ice.TieBase
      • ice_delegate

        public void ice_delegate​(java.lang.Object delegate)
        Specified by:
        ice_delegate in interface Ice.TieBase
      • equals

        public boolean equals​(java.lang.Object rhs)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getConfigDefaults_async

        public void getConfigDefaults_async​(AMD_IConfig_getConfigDefaults __cb,
                                            Ice.Current __current)
                                     throws ServerError
        Description copied from interface: _IConfigOperations
        Reads the etc/omero.properties file and returns all the key/value pairs that are found there. Since this file is not to be edited its assumed that these values are in the public domain and so there's no need to protect them.
        Specified by:
        getConfigDefaults_async in interface _IConfigOperations
        Parameters:
        __cb - The callback object for the operation.
        __current - The Current object for the invocation.
        Throws:
        ServerError
      • getConfigValue_async

        public void getConfigValue_async​(AMD_IConfig_getConfigValue __cb,
                                         java.lang.String key,
                                         Ice.Current __current)
                                  throws ServerError
        Description copied from interface: _IConfigOperations
        Retrieves a configuration value from the backend store. Permissions applied to the configuration value may cause a SecurityViolation to be thrown.
        Specified by:
        getConfigValue_async in interface _IConfigOperations
        Parameters:
        __cb - The callback object for the operation.
        key - The non-null name of the desired configuration value
        __current - The Current object for the invocation.
        Throws:
        ServerError
      • getConfigValues_async

        public void getConfigValues_async​(AMD_IConfig_getConfigValues __cb,
                                          java.lang.String keyRegex,
                                          Ice.Current __current)
                                   throws ServerError
        Description copied from interface: _IConfigOperations
        Retrieves configuration values from the backend store which match the given regex. Any configuration value which would throw an exception on being loaded is omitted.
        Specified by:
        getConfigValues_async in interface _IConfigOperations
        Parameters:
        __cb - The callback object for the operation.
        keyRegex - The non-null regex of the desired configuration values
        __current - The Current object for the invocation.
        Throws:
        ServerError
      • getDatabaseUuid_async

        public void getDatabaseUuid_async​(AMD_IConfig_getDatabaseUuid __cb,
                                          Ice.Current __current)
                                   throws ServerError
        Description copied from interface: _IConfigOperations
        Provides the UUID for this OMERO (database) instance. To make imports and exports function properly, only one physical database should be active with a given instance UUID. All other copies of the database with that UUID are invalid as soon as one modification is made. This value is stored in the configuration table under the key omero.db.uuid.
        Specified by:
        getDatabaseUuid_async in interface _IConfigOperations
        Parameters:
        __cb - The callback object for the operation.
        __current - The Current object for the invocation.
        Throws:
        ServerError
      • getVersion_async

        public void getVersion_async​(AMD_IConfig_getVersion __cb,
                                     Ice.Current __current)
                              throws ServerError
        Description copied from interface: _IConfigOperations
        Provides the release version. OMERO-internal values will be in the form Major.minor.patch, starting with the value 4.0.0 for the 4.0 release, Spring 2009. Customized values should begin with a alphabetic sequence followed by a hyphen: ACME-0.0.1 and any build information should follow the patch number also with a hyphen: 4.0.0-RC1. These values will be removed by getVersion
        Specified by:
        getVersion_async in interface _IConfigOperations
        Parameters:
        __cb - The callback object for the operation.
        __current - The Current object for the invocation.
        Throws:
        ServerError
      • setConfigValue_async

        public void setConfigValue_async​(AMD_IConfig_setConfigValue __cb,
                                         java.lang.String key,
                                         java.lang.String value,
                                         Ice.Current __current)
                                  throws ServerError
        Description copied from interface: _IConfigOperations
        Sets a configuration value in the backend store. Permissions applied to the configuration value may cause a SecurityViolation to be thrown. If the value is null or empty, then the configuration will be removed in all writable configuration sources. If the configuration is set in a non-modifiable source (e.g. in a property file on the classpath), then a subsequent call to getConfigValue will return that value.
        Specified by:
        setConfigValue_async in interface _IConfigOperations
        Parameters:
        __cb - The callback object for the operation.
        key - The non-null name of the desired configuration value
        value - The string value to assign to the given key.
        __current - The Current object for the invocation.
        Throws:
        ServerError
      • setConfigValueIfEquals_async

        public void setConfigValueIfEquals_async​(AMD_IConfig_setConfigValueIfEquals __cb,
                                                 java.lang.String key,
                                                 java.lang.String value,
                                                 java.lang.String test,
                                                 Ice.Current __current)
                                          throws ServerError
        Description copied from interface: _IConfigOperations
        Calls setConfigValue if and only if the configuration property is currently equal to the test argument. If the test is null or empty, then the configuration property will be set only if missing.
        Specified by:
        setConfigValueIfEquals_async in interface _IConfigOperations
        Parameters:
        __cb - The callback object for the operation.
        __current - The Current object for the invocation.
        Throws:
        ServerError