Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
How to increase Journal Article Version without ServiceContext
Hello to all :)
We need to create a new version of the Journal keeping the old versions, we currently use the JournalArticleLocalServiceutil.updateArticle and we pass the serviceContext, is it possible to create a new version (and therefore a new row in the database) with another method in which do not need the serviceContext?
thank you :)
The convenience methods are just that, a convenience. You can always go directly to the addJournalArticle()/updateJournalArticle() methods from the base class to handle it all yourself.
Note, however, that I said "to handle it all yourself".