To understand it you can take a look at the
EditFileEntryAction class of DL portlet,
updateFileEntry method:
1
2/* ... in updateFileEntry() ... */
3boolean majorVersion = ParamUtil.getBoolean(
4 uploadPortletRequest, "majorVersion");
that means that you can pass boolean parameter, named
majorVersion with value
true to get a new major version. Otherwise(and by default) this parameter is absent. All you need is hook
Bitte melden Sie sich an, um diesen Inhalt als unangebracht zu kennzeichnen.