Module org.eclipse.persistence.dbws
Class DeleteOperation
java.lang.Object
org.eclipse.persistence.internal.xr.Operation
org.eclipse.persistence.internal.xr.DeleteOperation
INTERNAL:An XR DeleteOperation is an executable representation of a DELETE
operation on the database.
- Since:
- EclipseLink 1.x
-
Field Summary
Fields inherited from class org.eclipse.persistence.internal.xr.Operation
name, parameters
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the findByPrimaryKey query that this DeleteOperation will use to acquire the object to delete.invoke
(XRServiceAdapter xrService, Invocation invocation) ExecuteDELETE
operation on the databasevoid
setDescriptorName
(String descriptorName) void
setFindByPKQuery
(String findByPKQuery) Set the findByPrimaryKey query that this DeleteOperation will use to acquire the object to delete.void
validate
(XRServiceAdapter xrService) Methods inherited from class org.eclipse.persistence.internal.xr.Operation
getName, getParameters, hasResponse, initialize, isCollection, setName
-
Field Details
-
descriptorName
-
classDescriptor
-
findByPKQuery
-
-
Constructor Details
-
DeleteOperation
public DeleteOperation()
-
-
Method Details
-
getDescriptorName
-
setDescriptorName
-
getClassDescriptor
-
getFindByPKQuery
Return the findByPrimaryKey query that this DeleteOperation will use to acquire the object to delete. -
setFindByPKQuery
Set the findByPrimaryKey query that this DeleteOperation will use to acquire the object to delete. -
validate
-
invoke
ExecuteDELETE
operation on the database- Specified by:
invoke
in classOperation
- Parameters:
xrService
- parentXRService
that owns thisOperation
invocation
- contains runtime argument values to be bound to the list ofParameter
's.- Returns:
- result - can be
null
if the underlyingDELETE
operation on the database does not return a value - See Also:
-