Ohne Worte
Swatinem
on 02/15/2010
public class ContentItemServiceImpl implements ContentItemServiceLocal, ContentItemServiceRemote {
// …
public void updateTextContentWithoutStoringPipeline(ContentItemI item, String content)
throws TextContentNotChangedException {
ContentItem _item = item.getDelegate();
if(renderingPipeline.renderEditor(_item.getTextContent()).equals(content)) {
throw new TextContentNotChangedException("Could not create TextContentUpdate for an unchanged text content");
}
// …
}
// …
}