Package com.tridion.storage.annotations
Annotation Interface RemoveOperation
Annotation used to annotate remove DAO operations.
Note: attributes used for cd_undo. if a remove operation is intercepted by cd_undo wrappers, then first the specified read operation is called to check if data exists in the published storage. if it exists, then it is stored using the specified write operation in the cd_undo storage. the attributes identify read and write operations and where the data needed to make these calls can be found.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]Specifies the list of parameter/attribute names to get from the remove operation parameters/entity and which will be used to call the read operation with them.String[]Specifies the list of parameter/attribute names to get from the remove operation parameters and which will be used to call the write 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.The name of the write operation to call from the same DAO, if it is desired.Class[]The types of the parameters of the specified write operation.
-
Element Details
-
readOperation
String readOperationThe name of the read operation to call from the same DAO, if it is desired.- Default:
- "NONE"
-
writeOperation
String writeOperationThe name of the write 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:
- {}
-
writeParamTypes
Class[] writeParamTypesThe types of the parameters of the specified write operation.- Default:
- {}
-
neededParamNamesToRead
String[] neededParamNamesToReadSpecifies the list of parameter/attribute names to get from the remove operation parameters/entity and which will be used to call the read operation with them.- Default:
- {}
-
neededParamNamesToWrite
String[] neededParamNamesToWriteSpecifies the list of parameter/attribute names to get from the remove operation parameters and which will be used to call the write operation with them.- Default:
- {}
-