Package com.tridion.storage.annotations
Annotation Interface WriteOperation
Annotation used to annotate write DAO operations.
Note: attributes used for cd_undo. If a write operation is intercepted by cd_undo wrappers, then the specified read operation is called to check if data exists in published storage. if it exists, then it is stored in cd_undo storage, using the same method but of a different instance of the DAO, mapped to the cd_undo storage.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]Specifies the list of parameter/attribute names to get from the write operation parameters/entity and which will be used to call the read operation with them.The name of the read operation to call from the same DAO, if it is desired.Class[]The types of the parameters of the specified read operation.
-
Element Details
-
readOperation
String readOperationThe name of the read operation to call from the same DAO, if it is desired.- Default:
- "NONE"
-
readParamTypes
Class[] readParamTypesThe types of the parameters of the specified read operation.- Default:
- {}
-
neededParamNames
String[] neededParamNamesSpecifies the list of parameter/attribute names to get from the write operation parameters/entity and which will be used to call the read operation with them.- Default:
- {}
-