public class ResultIdResultDeletionSQLAdapter extends Object implements DeletionSQLAdapter
| Constructor and Description |
|---|
ResultIdResultDeletionSQLAdapter(Long resultId) |
| Modifier and Type | Method and Description |
|---|---|
String |
getObjectId()
Returns the string value of the object we're querying for.
|
String |
getResultSummaryDeleteWhenCondition()
Condition used in a WHEN clause in BUILDRESULTSUMMARY eg.
|
String |
getResultSummaryInCondition()
Inner condition used in a WHEN BUILDRESULTSUMMARY_ID IN e.g.
|
void |
setObjectInStatement(PreparedStatement statement,
int index)
Sets the current object in the statement given the right index
|
public ResultIdResultDeletionSQLAdapter(Long resultId)
public String getResultSummaryDeleteWhenCondition()
DeletionSQLAdaptergetResultSummaryDeleteWhenCondition in interface DeletionSQLAdapterpublic String getResultSummaryInCondition()
DeletionSQLAdaptergetResultSummaryInCondition in interface DeletionSQLAdapterpublic String getObjectId()
DeletionSQLAdaptergetObjectId in interface DeletionSQLAdapterpublic void setObjectInStatement(PreparedStatement statement, int index) throws SQLException
DeletionSQLAdaptersetObjectInStatement in interface DeletionSQLAdapterSQLExceptionCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.