public class DeleteByQueryWork extends Work
Constructor and Description |
---|
DeleteByQueryWork(IndexedTypeIdentifier entityType,
DeletionQuery deletionQuery) |
DeleteByQueryWork(String tenantId,
IndexedTypeIdentifier entityType,
DeletionQuery deletionQuery)
Creates a DeleteByWork
|
Modifier and Type | Method and Description |
---|---|
DeletionQuery |
getDeleteByQuery() |
getEntity, getId, getTenantIdentifier, getType, getTypeIdentifier, isIdentifierWasRolledBack, toString
public DeleteByQueryWork(IndexedTypeIdentifier entityType, DeletionQuery deletionQuery)
public DeleteByQueryWork(String tenantId, IndexedTypeIdentifier entityType, DeletionQuery deletionQuery)
tenantId
- the tenant identifierentityType
- the type to operate ondeletionQuery
- the query to delete byIllegalArgumentException
- if a unsupported SerializableQuery is passedpublic DeletionQuery getDeleteByQuery()
Copyright © 2006-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.