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()
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 © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.