Package omero.api
Interface _ITypesOperations
-
- All Superinterfaces:
_ServiceInterfaceOperations
- All Known Subinterfaces:
ITypes
- All Known Implementing Classes:
_ITypesDisp
,_ITypesTie
,TypesI
public interface _ITypesOperations extends _ServiceInterfaceOperations
Access to reflective type information. Also provides simplified access to special types like enumerations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
allEnumerations_async(AMD_ITypes_allEnumerations __cb, java.lang.String type, Ice.Current __current)
void
createEnumeration_async(AMD_ITypes_createEnumeration __cb, IObject newEnum, Ice.Current __current)
void
deleteEnumeration_async(AMD_ITypes_deleteEnumeration __cb, IObject oldEnum, Ice.Current __current)
Deletes enumeration value specified by object.void
getAnnotationTypes_async(AMD_ITypes_getAnnotationTypes __cb, Ice.Current __current)
Returns a list of classes which implementIAnnotated
.void
getEnumeration_async(AMD_ITypes_getEnumeration __cb, java.lang.String type, java.lang.String value, Ice.Current __current)
Lookup an enumeration value.void
getEnumerationsWithEntries_async(AMD_ITypes_getEnumerationsWithEntries __cb, Ice.Current __current)
Gets all metadata classes which are IEnum type with contained objects.void
getEnumerationTypes_async(AMD_ITypes_getEnumerationTypes __cb, Ice.Current __current)
Gets all metadata classes which are IEnum type.void
getOriginalEnumerations_async(AMD_ITypes_getOriginalEnumerations __cb, Ice.Current __current)
Gets all original values.void
resetEnumerations_async(AMD_ITypes_resetEnumerations __cb, java.lang.String enumClass, Ice.Current __current)
void
updateEnumeration_async(AMD_ITypes_updateEnumeration __cb, IObject oldEnum, Ice.Current __current)
Updates enumeration value specified by object.void
updateEnumerations_async(AMD_ITypes_updateEnumerations __cb, java.util.List<IObject> oldEnums, Ice.Current __current)
Updates enumeration value specified by object.
-
-
-
Method Detail
-
createEnumeration_async
void createEnumeration_async(AMD_ITypes_createEnumeration __cb, IObject newEnum, Ice.Current __current) throws ServerError
- Throws:
ServerError
-
getEnumeration_async
void getEnumeration_async(AMD_ITypes_getEnumeration __cb, java.lang.String type, java.lang.String value, Ice.Current __current) throws ServerError
Lookup an enumeration value. As with the get-methods ofIQuery
queries returning no results will through an exception.- Parameters:
__cb
- The callback object for the operation.type
- An enumeration class which should be searched.__current
- The Current object for the invocation.- Throws:
ApiUsageException
- ifIEnum
is not found.ServerError
-
allEnumerations_async
void allEnumerations_async(AMD_ITypes_allEnumerations __cb, java.lang.String type, Ice.Current __current) throws ServerError
- Throws:
ServerError
-
updateEnumeration_async
void updateEnumeration_async(AMD_ITypes_updateEnumeration __cb, IObject oldEnum, Ice.Current __current) throws ServerError
Updates enumeration value specified by object.- Parameters:
__cb
- The callback object for the operation.oldEnum
- An enumeration object which should be searched.__current
- The Current object for the invocation.- Throws:
ServerError
-
updateEnumerations_async
void updateEnumerations_async(AMD_ITypes_updateEnumerations __cb, java.util.List<IObject> oldEnums, Ice.Current __current) throws ServerError
Updates enumeration value specified by object.- Parameters:
__cb
- The callback object for the operation.oldEnums
- An enumeration collection of objects which should be searched.__current
- The Current object for the invocation.- Throws:
ServerError
-
deleteEnumeration_async
void deleteEnumeration_async(AMD_ITypes_deleteEnumeration __cb, IObject oldEnum, Ice.Current __current) throws ServerError
Deletes enumeration value specified by object.- Parameters:
__cb
- The callback object for the operation.oldEnum
- An enumeration object which should be searched.__current
- The Current object for the invocation.- Throws:
ServerError
-
getEnumerationTypes_async
void getEnumerationTypes_async(AMD_ITypes_getEnumerationTypes __cb, Ice.Current __current) throws ServerError
Gets all metadata classes which are IEnum type.- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
java.lang.RuntimeException
- if Class not found.ServerError
-
getAnnotationTypes_async
void getAnnotationTypes_async(AMD_ITypes_getAnnotationTypes __cb, Ice.Current __current) throws ServerError
Returns a list of classes which implementIAnnotated
. These can be used in combination withSearch
.- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
getEnumerationsWithEntries_async
void getEnumerationsWithEntries_async(AMD_ITypes_getEnumerationsWithEntries __cb, Ice.Current __current) throws ServerError
Gets all metadata classes which are IEnum type with contained objects.- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
java.lang.RuntimeException
- if xml parsing failure.ServerError
-
getOriginalEnumerations_async
void getOriginalEnumerations_async(AMD_ITypes_getOriginalEnumerations __cb, Ice.Current __current) throws ServerError
Gets all original values.- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
java.lang.RuntimeException
- if xml parsing failure.ServerError
-
resetEnumerations_async
void resetEnumerations_async(AMD_ITypes_resetEnumerations __cb, java.lang.String enumClass, Ice.Current __current) throws ServerError
- Throws:
ServerError
-
-