Annotation Interface SossApiMethod
Annotate a method with
SossApiMethod to define an ApiModule's invokable method.-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionSet whether this API method should use locking when reading/writing SOSS objects.The name of the SossApiMethod to invoke. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionSet the object not found behavior when this API method is called and the object is missing.
-
Element Details
-
operationId
String operationIdThe name of the SossApiMethod to invoke.- Returns:
- the name of the SossApiMethod.
-
lockingMode
ApiProcessorLockingMode lockingModeSet whether this API method should use locking when reading/writing SOSS objects.- Returns:
ApiProcessorLockingMode.ExclusiveLockif the API method should use locking,ApiProcessorLockingMode.Noneotherwise.
-
objNotFoundBehavior
ObjNotFoundBehavior objNotFoundBehaviorSet the object not found behavior when this API method is called and the object is missing. Default:ObjNotFoundBehavior.DoNotCreate.- Returns:
ObjNotFoundBehavior.Createto create the object (or read-through to a persistence provider) orObjNotFoundBehavior.DoNotCreateto not create the object (or perform read-through to a persistence provider) when the object is not found.
- Default:
DoNotCreate
-