// Create statement text to select the active creative wrappers for the
// given label.
String statementText =
"WHERE status = :status AND labelId = :labelId LIMIT 500";
Statement filterStatement =
new StatementBuilder(statementText)
.putValue("status", CreativeWrapperStatus.ACTIVE.toString())
.putValue("labelId", labelId)
.toStatement();
// Set defaults for page and offset.