public class PlanKeyResultDeletionSQLAdapter extends Object implements DeletionSQLAdapter
| Constructor and Description |
|---|
PlanKeyResultDeletionSQLAdapter(PlanKey planKey) |
| 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 PlanKeyResultDeletionSQLAdapter(PlanKey planKey)
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 © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.