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
FieldsFields inherited from class org.eclipse.persistence.internal.xr.Operation
name, parameters -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the findByPrimaryKey query that this DeleteOperation will use to acquire the object to delete.invoke(XRServiceAdapter xrService, Invocation invocation) ExecuteDELETEoperation on the databasevoidsetDescriptorName(String descriptorName) voidsetFindByPKQuery(String findByPKQuery) Set the findByPrimaryKey query that this DeleteOperation will use to acquire the object to delete.voidvalidate(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
ExecuteDELETEoperation on the database- Specified by:
invokein classOperation- Parameters:
xrService- parentXRServicethat owns thisOperationinvocation- contains runtime argument values to be bound to the list ofParameter's.- Returns:
- result - can be
nullif the underlyingDELETEoperation on the database does not return a value - See Also:
-