use of com.liferay.portlet.asset.model.AssetEntry in project liferay-ide by liferay.
the class SongLocalServiceImpl method updateAsset.
public void updateAsset(long userId, Song song, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds) throws PortalException, SystemException {
AssetEntry assetEntry = assetEntryLocalService.updateEntry(userId, song.getGroupId(), song.getCreateDate(), song.getModifiedDate(), Song.class.getName(), song.getSongId(), song.getUuid(), 0, assetCategoryIds, assetTagNames, true, null, null, null, ContentTypes.TEXT_HTML, song.getName(), null, null, null, null, 0, 0, null, false);
assetLinkLocalService.updateLinks(userId, assetEntry.getEntryId(), assetLinkEntryIds, AssetLinkConstants.TYPE_RELATED);
}
Aggregations