Class CADBQItemAttachmentRemove
java.lang.Object
com.io7m.cardant.database.postgres.internal.CADBQItemAttachmentRemove
- All Implemented Interfaces:
CADatabaseQueriesItemsType,CADatabaseQueriesItemsType.AttachmentRemoveType,CADatabaseQueriesType,CADatabaseQueryType<CADatabaseQueriesItemsType.AttachmentRemoveType.Parameters,CADatabaseUnit>
public final class CADBQItemAttachmentRemove
extends Object
implements CADatabaseQueriesItemsType.AttachmentRemoveType
Remove an attachment from an item.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.io7m.cardant.database.api.CADatabaseQueriesItemsType
CADatabaseQueriesItemsType.AttachmentAddType, CADatabaseQueriesItemsType.AttachmentRemoveType, CADatabaseQueriesItemsType.CreateType, CADatabaseQueriesItemsType.DeleteMarkOnlyType, CADatabaseQueriesItemsType.DeleteType, CADatabaseQueriesItemsType.GetType, CADatabaseQueriesItemsType.LocationsType, CADatabaseQueriesItemsType.MetadataPutType, CADatabaseQueriesItemsType.MetadataRemoveType, CADatabaseQueriesItemsType.RepositType, CADatabaseQueriesItemsType.SearchType, CADatabaseQueriesItemsType.SetNameType, CADatabaseQueriesItemsType.TypesAssignType, CADatabaseQueriesItemsType.TypesRevokeTypeNested classes/interfaces inherited from interface com.io7m.cardant.database.api.CADatabaseQueriesItemsType.AttachmentRemoveType
CADatabaseQueriesItemsType.AttachmentRemoveType.Parameters -
Field Summary
Fields inherited from interface com.io7m.cardant.database.api.CADatabaseQueriesType
EARLIEST -
Constructor Summary
ConstructorsConstructorDescriptionCADBQItemAttachmentRemove(com.io7m.cardant.database.postgres.internal.CADatabaseTransaction transaction) Construct a query. -
Method Summary
Modifier and TypeMethodDescriptionfinal CADatabaseUnitExecute the query.protected final Stringlocal(CAStringConstantType constant) protected CADatabaseUnitonExecute(org.jooq.DSLContext context, CADatabaseQueriesItemsType.AttachmentRemoveType.Parameters parameters) static CADBQueryProviderTypeprovider()protected final voidsetAttribute(CAStringConstantType name, String value) protected final com.io7m.cardant.database.postgres.internal.CADatabaseTransactionprotected final io.opentelemetry.api.trace.SpanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.io7m.cardant.database.api.CADatabaseQueryType
execute
-
Constructor Details
-
CADBQItemAttachmentRemove
public CADBQItemAttachmentRemove(com.io7m.cardant.database.postgres.internal.CADatabaseTransaction transaction) Construct a query.- Parameters:
transaction- The transaction
-
-
Method Details
-
provider
- Returns:
- A query provider
-
onExecute
protected CADatabaseUnit onExecute(org.jooq.DSLContext context, CADatabaseQueriesItemsType.AttachmentRemoveType.Parameters parameters) throws CADatabaseException - Throws:
CADatabaseException
-
transactionSpan
protected final io.opentelemetry.api.trace.Span transactionSpan() -
transaction
protected final com.io7m.cardant.database.postgres.internal.CADatabaseTransaction transaction() -
local
-
setAttribute
-
execute
public final CADatabaseUnit execute(CADatabaseQueriesItemsType.AttachmentRemoveType.Parameters parameters) throws CADatabaseException Description copied from interface:CADatabaseQueryTypeExecute the query.- Specified by:
executein interfaceCADatabaseQueryType<P,R> - Parameters:
parameters- The parameters- Returns:
- The results
- Throws:
CADatabaseException- On errors
-
attributes
-