public class UserSegmentUtil
extends java.lang.Object
| Constructor and Description |
|---|
UserSegmentUtil() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.asset.kernel.model.AssetVocabulary |
addAssetVocabulary(long userId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
com.liferay.asset.kernel.model.AssetVocabulary |
getAssetVocabulary(long groupId) |
long |
getAssetVocabularyId(long userId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
long[] |
getAssetVocabularyIds(long[] groupIds) |
java.util.List<UserSegment> |
getUserSegments(com.liferay.portal.kernel.search.Hits hits) |
void |
setAssetVocabularyService(com.liferay.asset.kernel.service.AssetVocabularyLocalService assetVocabularyLocalService) |
void |
setResourceBundleLoader(com.liferay.portal.kernel.util.ResourceBundleLoader resourceBundleLoader) |
public com.liferay.asset.kernel.model.AssetVocabulary addAssetVocabulary(long userId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.asset.kernel.model.AssetVocabulary getAssetVocabulary(long groupId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic long getAssetVocabularyId(long userId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic long[] getAssetVocabularyIds(long[] groupIds)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<UserSegment> getUserSegments(com.liferay.portal.kernel.search.Hits hits) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void setAssetVocabularyService(com.liferay.asset.kernel.service.AssetVocabularyLocalService assetVocabularyLocalService)
public void setResourceBundleLoader(com.liferay.portal.kernel.util.ResourceBundleLoader resourceBundleLoader)