Package omero.api
Class _IConfigTie
- java.lang.Object
- 
- Ice.ObjectImpl
- 
- omero.api._IConfigDisp
- 
- omero.api._IConfigTie
 
 
 
- 
- All Implemented Interfaces:
- Ice.Object,- Ice.TieBase,- java.io.Serializable,- java.lang.Cloneable,- _IConfigOperations,- _IConfigOperationsNC,- _ServiceInterfaceOperations,- _ServiceInterfaceOperationsNC,- IConfig,- ServiceInterface
 
 public class _IConfigTie extends _IConfigDisp implements Ice.TieBase - See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description static longserialVersionUID- 
Fields inherited from class omero.api._IConfigDisp__ids
 - 
Fields inherited from interface omero.api.IConfigice_staticId
 
- 
 - 
Constructor SummaryConstructors Constructor Description _IConfigTie()_IConfigTie(_IConfigOperations delegate)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object rhs)voidgetClientConfigDefaults_async(AMD_IConfig_getClientConfigDefaults __cb, Ice.Current __current)Reads the etc/omero.properties file and returns all the key/value pairs that are found there which match the prefix omero.client.voidgetClientConfigValues_async(AMD_IConfig_getClientConfigValues __cb, Ice.Current __current)Retrieves configuration values likegetConfigValuesbut only those with the prefix omero.client.voidgetConfigDefaults_async(AMD_IConfig_getConfigDefaults __cb, Ice.Current __current)Reads the etc/omero.properties file and returns all the key/value pairs that are found there.voidgetConfigValue_async(AMD_IConfig_getConfigValue __cb, java.lang.String key, Ice.Current __current)Retrieves a configuration value from the backend store.voidgetConfigValues_async(AMD_IConfig_getConfigValues __cb, java.lang.String keyRegex, Ice.Current __current)Retrieves configuration values from the backend store which match the given regex.voidgetDatabaseTime_async(AMD_IConfig_getDatabaseTime __cb, Ice.Current __current)Checks the database for its time using a SELECT statement.voidgetDatabaseUuid_async(AMD_IConfig_getDatabaseUuid __cb, Ice.Current __current)Provides the UUID for this OMERO (database) instance.voidgetServerTime_async(AMD_IConfig_getServerTime __cb, Ice.Current __current)Checks the current server for its time.voidgetVersion_async(AMD_IConfig_getVersion __cb, Ice.Current __current)Provides the release version.inthashCode()java.lang.Objectice_delegate()voidice_delegate(java.lang.Object delegate)voidsetConfigValue_async(AMD_IConfig_setConfigValue __cb, java.lang.String key, java.lang.String value, Ice.Current __current)Sets a configuration value in the backend store.voidsetConfigValueIfEquals_async(AMD_IConfig_setConfigValueIfEquals __cb, java.lang.String key, java.lang.String value, java.lang.String test, Ice.Current __current)CallssetConfigValueif and only if the configuration property is currently equal to the test argument.- 
Methods inherited from class omero.api._IConfigDisp___getClientConfigDefaults, ___getClientConfigValues, ___getConfigDefaults, ___getConfigValue, ___getConfigValues, ___getDatabaseTime, ___getDatabaseUuid, ___getServerTime, ___getVersion, ___setConfigValue, ___setConfigValueIfEquals, __dispatch, __readImpl, __writeImpl, getClientConfigDefaults_async, getClientConfigValues_async, getConfigDefaults_async, getConfigValue_async, getConfigValues_async, getDatabaseTime_async, getDatabaseUuid_async, getServerTime_async, getVersion_async, ice_copyStateFrom, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, setConfigValue_async, setConfigValueIfEquals_async
 - 
Methods inherited from class Ice.ObjectImpl___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __read, __read, __readImpl, __write, __write, __writeImpl, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
 
- 
 
- 
- 
- 
Field Detail- 
serialVersionUIDpublic static final long serialVersionUID - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
_IConfigTiepublic _IConfigTie() 
 - 
_IConfigTiepublic _IConfigTie(_IConfigOperations delegate) 
 
- 
 - 
Method Detail- 
ice_delegatepublic java.lang.Object ice_delegate() - Specified by:
- ice_delegatein interface- Ice.TieBase
 
 - 
ice_delegatepublic void ice_delegate(java.lang.Object delegate) - Specified by:
- ice_delegatein interface- Ice.TieBase
 
 - 
equalspublic boolean equals(java.lang.Object rhs) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
getClientConfigDefaults_asyncpublic void getClientConfigDefaults_async(AMD_IConfig_getClientConfigDefaults __cb, Ice.Current __current) throws ServerError Description copied from interface:_IConfigOperationsReads the etc/omero.properties file and returns all the key/value pairs that are found there which match the prefix omero.client.- Specified by:
- getClientConfigDefaults_asyncin interface- _IConfigOperations
- Parameters:
- __cb- The callback object for the operation.
- __current- The Current object for the invocation.
- Throws:
- ServerError
 
 - 
getClientConfigValues_asyncpublic void getClientConfigValues_async(AMD_IConfig_getClientConfigValues __cb, Ice.Current __current) throws ServerError Description copied from interface:_IConfigOperationsRetrieves configuration values likegetConfigValuesbut only those with the prefix omero.client.- Specified by:
- getClientConfigValues_asyncin interface- _IConfigOperations
- Parameters:
- __cb- The callback object for the operation.
- __current- The Current object for the invocation.
- Throws:
- ServerError
 
 - 
getConfigDefaults_asyncpublic void getConfigDefaults_async(AMD_IConfig_getConfigDefaults __cb, Ice.Current __current) throws ServerError Description copied from interface:_IConfigOperationsReads 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_asyncin interface- _IConfigOperations
- Parameters:
- __cb- The callback object for the operation.
- __current- The Current object for the invocation.
- Throws:
- ServerError
 
 - 
getConfigValue_asyncpublic void getConfigValue_async(AMD_IConfig_getConfigValue __cb, java.lang.String key, Ice.Current __current) throws ServerError Description copied from interface:_IConfigOperationsRetrieves a configuration value from the backend store. Permissions applied to the configuration value may cause aSecurityViolationto be thrown.- Specified by:
- getConfigValue_asyncin 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_asyncpublic void getConfigValues_async(AMD_IConfig_getConfigValues __cb, java.lang.String keyRegex, Ice.Current __current) throws ServerError Description copied from interface:_IConfigOperationsRetrieves 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_asyncin 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
 
 - 
getDatabaseTime_asyncpublic void getDatabaseTime_async(AMD_IConfig_getDatabaseTime __cb, Ice.Current __current) throws ServerError Description copied from interface:_IConfigOperationsChecks the database for its time using a SELECT statement.- Specified by:
- getDatabaseTime_asyncin interface- _IConfigOperations
- Parameters:
- __cb- The callback object for the operation.
- __current- The Current object for the invocation.
- Throws:
- ServerError
 
 - 
getDatabaseUuid_asyncpublic void getDatabaseUuid_async(AMD_IConfig_getDatabaseUuid __cb, Ice.Current __current) throws ServerError Description copied from interface:_IConfigOperationsProvides 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_asyncin interface- _IConfigOperations
- Parameters:
- __cb- The callback object for the operation.
- __current- The Current object for the invocation.
- Throws:
- ServerError
 
 - 
getServerTime_asyncpublic void getServerTime_async(AMD_IConfig_getServerTime __cb, Ice.Current __current) throws ServerError Description copied from interface:_IConfigOperationsChecks the current server for its time. This value may be variant depending on whether the service is clustered or not.- Specified by:
- getServerTime_asyncin interface- _IConfigOperations
- Parameters:
- __cb- The callback object for the operation.
- __current- The Current object for the invocation.
- Throws:
- ServerError
 
 - 
getVersion_asyncpublic void getVersion_async(AMD_IConfig_getVersion __cb, Ice.Current __current) throws ServerError Description copied from interface:_IConfigOperationsProvides 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 bygetVersion- Specified by:
- getVersion_asyncin interface- _IConfigOperations
- Parameters:
- __cb- The callback object for the operation.
- __current- The Current object for the invocation.
- Throws:
- ServerError
 
 - 
setConfigValue_asyncpublic void setConfigValue_async(AMD_IConfig_setConfigValue __cb, java.lang.String key, java.lang.String value, Ice.Current __current) throws ServerError Description copied from interface:_IConfigOperationsSets a configuration value in the backend store. Permissions applied to the configuration value may cause aSecurityViolationto 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 togetConfigValuewill return that value.- Specified by:
- setConfigValue_asyncin 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_asyncpublic 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:_IConfigOperationsCallssetConfigValueif 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_asyncin interface- _IConfigOperations
- Parameters:
- __cb- The callback object for the operation.
- __current- The Current object for the invocation.
- Throws:
- ServerError
 
 
- 
 
-