public class DeleteByQueryWork extends Work
Constructor and Description |
---|
DeleteByQueryWork(Class<?> entityType,
DeletionQuery deletionQuery) |
DeleteByQueryWork(String tenantId,
Class<?> entityType,
DeletionQuery deletionQuery)
Creates a DeleteByWork
|
Modifier and Type | Method and Description |
---|---|
DeletionQuery |
getDeleteByQuery() |
getEntity, getEntityClass, getId, getTenantIdentifier, getType, isIdentifierWasRolledBack, toString
public DeleteByQueryWork(Class<?> entityType, DeletionQuery deletionQuery)
public DeleteByQueryWork(String tenantId, Class<?> entityType, DeletionQuery deletionQuery)
tenantId
- the tenant identifierentityType
- the class to operate ondeletionQuery
- the query to delete byIllegalArgumentException
- if a unsupported SerializableQuery is passedpublic DeletionQuery getDeleteByQuery()
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved