}
@Override
public ServiceResponse remove(List<String> ids) {
if (ids.size() > 0) {
FieldEntity field = null;
FormEntity form = null;
for (String id : ids) {
field = getDao().getFieldDao().getById(Long.valueOf(id));
if (field != null) {
form = getDao().getFormDao().getById(field.getFormId());
break;
}
}
if (form == null) {
return ServiceResponse.createErrorResponse("not_found");