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()
DeletionSQLAdapter
getResultSummaryDeleteWhenCondition
in interface DeletionSQLAdapter
public String getResultSummaryInCondition()
DeletionSQLAdapter
getResultSummaryInCondition
in interface DeletionSQLAdapter
public String getObjectId()
DeletionSQLAdapter
getObjectId
in interface DeletionSQLAdapter
public void setObjectInStatement(PreparedStatement statement, int index) throws SQLException
DeletionSQLAdapter
setObjectInStatement
in interface DeletionSQLAdapter
SQLException
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.