String function ( ) { DocumentModel loc0 = navigationContext . getCurrentDocument ( ) ; documentManager . checkIn ( loc0 . getRef ( ) , null , null ) ; retrieveVersions ( ) ; return navigationContext . getActionResult ( loc0 , UserAction . AFTER_EDIT ) ; }
checks the selected document in , with the selected version . concode_field_sep Context sessionContext concode_elem_sep DocumentVersioning documentVersioning concode_elem_sep String checkedOut concode_elem_sep Log log concode_elem_sep ResourcesAccessor resourcesAccessor concode_elem_sep DocumentsListsManager documentsListsManager concode_elem_sep CoreSession documentManager concode_elem_sep long serialVersionUID concode_elem_sep PageSelections<VersionModel> versionModelList concode_elem_sep NavigationContext navigationContext concode_elem_sep String selectedVersionId concode_elem_sep FacesMessages facesMessages concode_field_sep DocumentModel getSourceDocument concode_elem_sep DocumentModel getSourceDocument concode_elem_sep PageSelections<VersionModel> getVersionList concode_elem_sep void setCheckedOut concode_elem_sep String removeArchivedVersion concode_elem_sep boolean getCanRemoveSelectedArchivedVersions concode_elem_sep void setSelectedVersionId concode_elem_sep String removeSelectedArchivedVersions concode_elem_sep String getSelectedVersionId concode_elem_sep String restoreToVersion concode_elem_sep String restoreToVersion concode_elem_sep boolean getCanRestore concode_elem_sep void retrieveVersions concode_elem_sep boolean isVersionSelected concode_elem_sep String getCheckedOut concode_elem_sep boolean canRemoveArchivedVersion concode_elem_sep void resetVersions concode_elem_sep void initialize concode_elem_sep String checkOut concode_elem_sep String viewArchivedVersion concode_elem_sep String viewArchivedVersion