List<Content> list = new ArrayList<Content>();
for (int i = 0, len = ids.length; i < len; i++) {
Content content = findById(ids[i]);
try {
if (!content.getChannel().getStaticContent()) {
throw new StaticPageNotOpenException(
"content.staticNotOpen", count, content.getTitle());
}
if(!content.isChecked()){
throw new ContentNotCheckedException("content.notChecked", count, content.getTitle());
}