当前位置: 首页>>代码示例>>Java>>正文


Java AssetLinkConstants类代码示例

本文整理汇总了Java中com.liferay.portlet.asset.model.AssetLinkConstants的典型用法代码示例。如果您正苦于以下问题:Java AssetLinkConstants类的具体用法?Java AssetLinkConstants怎么用?Java AssetLinkConstants使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


AssetLinkConstants类属于com.liferay.portlet.asset.model包,在下文中一共展示了AssetLinkConstants类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: updateAsset

import com.liferay.portlet.asset.model.AssetLinkConstants; //导入依赖的package包/类
public void updateAsset(
		long userId, Album album, long[] assetCategoryIds,
		String[] assetTagNames, long[] assetLinkEntryIds)
	throws PortalException {

	AssetEntry assetEntry = assetEntryLocalService.updateEntry(
		userId, album.getGroupId(), album.getCreateDate(),
		album.getModifiedDate(), Album.class.getName(), album.getAlbumId(),
		album.getUuid(), 0, assetCategoryIds, assetTagNames, true, null,
		null, null, ContentTypes.TEXT_HTML, album.getName(), null, null,
		null, null, 0, 0, null, false);

	assetLinkLocalService.updateLinks(
		userId, assetEntry.getEntryId(), assetLinkEntryIds,
		AssetLinkConstants.TYPE_RELATED);
}
 
开发者ID:juliocamarero,项目名称:jukebox-portlet,代码行数:17,代码来源:AlbumLocalServiceImpl.java

示例2: updateAsset

import com.liferay.portlet.asset.model.AssetLinkConstants; //导入依赖的package包/类
public void updateAsset(
		long userId, Song song, long[] assetCategoryIds,
		String[] assetTagNames, long[] assetLinkEntryIds)
	throws PortalException {

	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);
}
 
开发者ID:juliocamarero,项目名称:jukebox-portlet,代码行数:17,代码来源:SongLocalServiceImpl.java

示例3: updateAsset

import com.liferay.portlet.asset.model.AssetLinkConstants; //导入依赖的package包/类
public void updateAsset(
		long userId, Artist artist, long[] assetCategoryIds,
		String[] assetTagNames, long[] assetLinkEntryIds)
	throws PortalException {

	AssetEntry assetEntry = assetEntryLocalService.updateEntry(
		userId, artist.getGroupId(), artist.getCreateDate(),
		artist.getModifiedDate(), Artist.class.getName(),
		artist.getArtistId(), artist.getUuid(), 0, assetCategoryIds,
		assetTagNames, true, null, null, null, ContentTypes.TEXT_HTML,
		artist.getName(), null, null, null, null, 0, 0, null, false);

	assetLinkLocalService.updateLinks(
		userId, assetEntry.getEntryId(), assetLinkEntryIds,
		AssetLinkConstants.TYPE_RELATED);
}
 
开发者ID:juliocamarero,项目名称:jukebox-portlet,代码行数:17,代码来源:ArtistLocalServiceImpl.java

示例4: updateAsset

import com.liferay.portlet.asset.model.AssetLinkConstants; //导入依赖的package包/类
public void updateAsset(
		long userId, Album album, long[] assetCategoryIds,
		String[] assetTagNames, long[] assetLinkEntryIds)
	throws PortalException, SystemException {

	AssetEntry assetEntry = assetEntryLocalService.updateEntry(
		userId, album.getGroupId(), album.getCreateDate(),
		album.getModifiedDate(), Album.class.getName(), album.getAlbumId(),
		album.getUuid(), 0, assetCategoryIds, assetTagNames, true, null,
		null, null, ContentTypes.TEXT_HTML, album.getName(), null, null,
		null, null, 0, 0, null, false);

	assetLinkLocalService.updateLinks(
		userId, assetEntry.getEntryId(), assetLinkEntryIds,
		AssetLinkConstants.TYPE_RELATED);
}
 
开发者ID:juliocamarero,项目名称:jukebox,代码行数:17,代码来源:AlbumLocalServiceImpl.java

示例5: updateAsset

import com.liferay.portlet.asset.model.AssetLinkConstants; //导入依赖的package包/类
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);
}
 
开发者ID:juliocamarero,项目名称:jukebox,代码行数:17,代码来源:SongLocalServiceImpl.java

示例6: updateAsset

import com.liferay.portlet.asset.model.AssetLinkConstants; //导入依赖的package包/类
public void updateAsset(
		long userId, Artist artist, long[] assetCategoryIds,
		String[] assetTagNames, long[] assetLinkEntryIds)
	throws PortalException, SystemException {

	AssetEntry assetEntry = assetEntryLocalService.updateEntry(
		userId, artist.getGroupId(), artist.getCreateDate(),
		artist.getModifiedDate(), Artist.class.getName(),
		artist.getArtistId(), artist.getUuid(), 0, assetCategoryIds,
		assetTagNames, true, null, null, null, ContentTypes.TEXT_HTML,
		artist.getName(), null, null, null, null, 0, 0, null, false);

	assetLinkLocalService.updateLinks(
		userId, assetEntry.getEntryId(), assetLinkEntryIds,
		AssetLinkConstants.TYPE_RELATED);
}
 
开发者ID:juliocamarero,项目名称:jukebox,代码行数:17,代码来源:ArtistLocalServiceImpl.java


注:本文中的com.liferay.portlet.asset.model.AssetLinkConstants类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。