List of usage examples for com.liferay.portal.kernel.service RepositoryEntryLocalServiceUtil updateRepositoryEntry
public static com.liferay.portal.kernel.model.RepositoryEntry updateRepositoryEntry(long repositoryEntryId, String mappedId) throws com.liferay.portal.kernel.exception.PortalException
From source file:com.liferay.document.library.repository.cmis.internal.CMISRepository.java
License:Open Source License
protected void updateMappedId(long repositoryEntryId, String mappedId) throws PortalException { RepositoryEntry repositoryEntry = repositoryEntryLocalService.getRepositoryEntry(repositoryEntryId); if (!mappedId.equals(repositoryEntry.getMappedId())) { RepositoryEntryLocalServiceUtil.updateRepositoryEntry(repositoryEntryId, mappedId); }//from w w w . j a v a 2 s .c o m }