Package omero.api
Interface _ITypesOperationsNC
-
- All Superinterfaces:
_ServiceInterfaceOperationsNC
- All Known Subinterfaces:
ITypes
- All Known Implementing Classes:
_ITypesDisp,_ITypesTie
public interface _ITypesOperationsNC extends _ServiceInterfaceOperationsNC
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 voidallEnumerations_async(AMD_ITypes_allEnumerations __cb, java.lang.String type)voidcreateEnumeration_async(AMD_ITypes_createEnumeration __cb, IObject newEnum)voiddeleteEnumeration_async(AMD_ITypes_deleteEnumeration __cb, IObject oldEnum)Deletes enumeration value specified by object.voidgetAnnotationTypes_async(AMD_ITypes_getAnnotationTypes __cb)Returns a list of classes which implementIAnnotated.voidgetEnumeration_async(AMD_ITypes_getEnumeration __cb, java.lang.String type, java.lang.String value)Lookup an enumeration value.voidgetEnumerationsWithEntries_async(AMD_ITypes_getEnumerationsWithEntries __cb)Gets all metadata classes which are IEnum type with contained objects.voidgetEnumerationTypes_async(AMD_ITypes_getEnumerationTypes __cb)Gets all metadata classes which are IEnum type.voidgetOriginalEnumerations_async(AMD_ITypes_getOriginalEnumerations __cb)Gets all original values.voidresetEnumerations_async(AMD_ITypes_resetEnumerations __cb, java.lang.String enumClass)voidupdateEnumeration_async(AMD_ITypes_updateEnumeration __cb, IObject oldEnum)Updates enumeration value specified by object.voidupdateEnumerations_async(AMD_ITypes_updateEnumerations __cb, java.util.List<IObject> oldEnums)Updates enumeration value specified by object.
-
-
-
Method Detail
-
createEnumeration_async
void createEnumeration_async(AMD_ITypes_createEnumeration __cb, IObject newEnum) throws ServerError
- Throws:
ServerError
-
getEnumeration_async
void getEnumeration_async(AMD_ITypes_getEnumeration __cb, java.lang.String type, java.lang.String value) throws ServerError
Lookup an enumeration value. As with the get-methods ofIQueryqueries returning no results will through an exception.- Parameters:
__cb- The callback object for the operation.type- An enumeration class which should be searched.- Throws:
ApiUsageException- ifIEnumis not found.ServerError
-
allEnumerations_async
void allEnumerations_async(AMD_ITypes_allEnumerations __cb, java.lang.String type) throws ServerError
- Throws:
ServerError
-
updateEnumeration_async
void updateEnumeration_async(AMD_ITypes_updateEnumeration __cb, IObject oldEnum) throws ServerError
Updates enumeration value specified by object.- Parameters:
__cb- The callback object for the operation.oldEnum- An enumeration object which should be searched.- Throws:
ServerError
-
updateEnumerations_async
void updateEnumerations_async(AMD_ITypes_updateEnumerations __cb, java.util.List<IObject> oldEnums) 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.- Throws:
ServerError
-
deleteEnumeration_async
void deleteEnumeration_async(AMD_ITypes_deleteEnumeration __cb, IObject oldEnum) throws ServerError
Deletes enumeration value specified by object.- Parameters:
__cb- The callback object for the operation.oldEnum- An enumeration object which should be searched.- Throws:
ServerError
-
getEnumerationTypes_async
void getEnumerationTypes_async(AMD_ITypes_getEnumerationTypes __cb) throws ServerError
Gets all metadata classes which are IEnum type.- Parameters:
__cb- The callback object for the operation.- Throws:
java.lang.RuntimeException- if Class not found.ServerError
-
getAnnotationTypes_async
void getAnnotationTypes_async(AMD_ITypes_getAnnotationTypes __cb) throws ServerError
Returns a list of classes which implementIAnnotated. These can be used in combination withSearch.- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
getEnumerationsWithEntries_async
void getEnumerationsWithEntries_async(AMD_ITypes_getEnumerationsWithEntries __cb) throws ServerError
Gets all metadata classes which are IEnum type with contained objects.- Parameters:
__cb- The callback object for the operation.- Throws:
java.lang.RuntimeException- if xml parsing failure.ServerError
-
getOriginalEnumerations_async
void getOriginalEnumerations_async(AMD_ITypes_getOriginalEnumerations __cb) throws ServerError
Gets all original values.- Parameters:
__cb- The callback object for the operation.- Throws:
java.lang.RuntimeException- if xml parsing failure.ServerError
-
resetEnumerations_async
void resetEnumerations_async(AMD_ITypes_resetEnumerations __cb, java.lang.String enumClass) throws ServerError
- Throws:
ServerError
-
-