public class DeleteOperation extends Operation
INTERNAL:An XR DeleteOperation is an executable representation of a DELETE operation on the database.
Constructor and Description |
---|
DeleteOperation() |
Modifier and Type | Method and Description |
---|---|
ClassDescriptor |
getClassDescriptor() |
java.lang.String |
getDescriptorName() |
java.lang.String |
getFindByPKQuery()
Return the findByPrimaryKey query that this DeleteOperation
will use to acquire the object to delete.
|
java.lang.Object |
invoke(XRServiceAdapter xrService,
Invocation invocation)
Execute DELETE operation on the database
|
void |
setDescriptorName(java.lang.String descriptorName) |
void |
setFindByPKQuery(java.lang.String findByPKQuery)
Set the findByPrimaryKey query that this DeleteOperation
will use to acquire the object to delete.
|
void |
validate(XRServiceAdapter xrService) |
getName, getParameters, hasResponse, initialize, isCollection, setName
public java.lang.String getDescriptorName()
public void setDescriptorName(java.lang.String descriptorName)
public ClassDescriptor getClassDescriptor()
public java.lang.String getFindByPKQuery()
public void setFindByPKQuery(java.lang.String findByPKQuery)
public void validate(XRServiceAdapter xrService)
public java.lang.Object invoke(XRServiceAdapter xrService, Invocation invocation)
invoke
in class Operation
xrService
- parent XRService
that owns this Operation
invocation
- contains runtime argument values to be bound to the list of
Parameter
's.null
if the underlying DELETE operation on the
database does not return a valueOperation}
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference