public class AssetTagServiceImpl extends AssetTagServiceBaseImpl
assetEntryPersistence, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagService, counterLocalService
Constructor and Description |
---|
AssetTagServiceImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.asset.kernel.model.AssetTag |
addTag(long groupId,
String name,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
deleteTag(long tagId) |
void |
deleteTags(long[] tagIds) |
List<com.liferay.asset.kernel.model.AssetTag> |
getGroupsTags(long[] groupIds) |
List<com.liferay.asset.kernel.model.AssetTag> |
getGroupTags(long groupId) |
List<com.liferay.asset.kernel.model.AssetTag> |
getGroupTags(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) |
int |
getGroupTagsCount(long groupId) |
com.liferay.asset.kernel.model.AssetTagDisplay |
getGroupTagsDisplay(long groupId,
String name,
int start,
int end) |
com.liferay.asset.kernel.model.AssetTag |
getTag(long tagId) |
List<com.liferay.asset.kernel.model.AssetTag> |
getTags(long[] groupIds,
String name,
int start,
int end) |
List<com.liferay.asset.kernel.model.AssetTag> |
getTags(long[] groupIds,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) |
List<com.liferay.asset.kernel.model.AssetTag> |
getTags(long groupId,
long classNameId,
String name) |
List<com.liferay.asset.kernel.model.AssetTag> |
getTags(long groupId,
long classNameId,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) |
List<com.liferay.asset.kernel.model.AssetTag> |
getTags(long groupId,
String name,
int start,
int end) |
List<com.liferay.asset.kernel.model.AssetTag> |
getTags(long groupId,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) |
List<com.liferay.asset.kernel.model.AssetTag> |
getTags(String className,
long classPK) |
int |
getTagsCount(long[] groupIds,
String name) |
int |
getTagsCount(long groupId,
String name) |
int |
getVisibleAssetsTagsCount(long groupId,
long classNameId,
String name) |
int |
getVisibleAssetsTagsCount(long groupId,
String name) |
void |
mergeTags(long[] fromTagIds,
long toTagId) |
void |
mergeTags(long fromTagId,
long toTagId) |
protected com.liferay.asset.kernel.model.AssetTag |
sanitize(com.liferay.asset.kernel.model.AssetTag tag) |
protected List<com.liferay.asset.kernel.model.AssetTag> |
sanitize(List<com.liferay.asset.kernel.model.AssetTag> tags) |
com.liferay.portal.kernel.json.JSONArray |
search(long[] groupIds,
String name,
int start,
int end) |
com.liferay.portal.kernel.json.JSONArray |
search(long groupId,
String name,
int start,
int end) |
void |
subscribeTag(long userId,
long groupId,
long tagId) |
void |
unsubscribeTag(long userId,
long tagId) |
com.liferay.asset.kernel.model.AssetTag |
updateTag(long tagId,
String name,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
afterPropertiesSet, destroy, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagService, getCounterLocalService, getModelClass, getModelClassName, getOSGiServiceIdentifier, runSQL, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagService, setCounterLocalService
public com.liferay.asset.kernel.model.AssetTag addTag(long groupId, String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteTag(long tagId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteTags(long[] tagIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.asset.kernel.model.AssetTag> getGroupsTags(long[] groupIds)
public List<com.liferay.asset.kernel.model.AssetTag> getGroupTags(long groupId)
public List<com.liferay.asset.kernel.model.AssetTag> getGroupTags(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
public int getGroupTagsCount(long groupId)
public com.liferay.asset.kernel.model.AssetTagDisplay getGroupTagsDisplay(long groupId, String name, int start, int end)
public com.liferay.asset.kernel.model.AssetTag getTag(long tagId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.asset.kernel.model.AssetTag> getTags(long groupId, long classNameId, String name)
public List<com.liferay.asset.kernel.model.AssetTag> getTags(long groupId, long classNameId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
public List<com.liferay.asset.kernel.model.AssetTag> getTags(long groupId, String name, int start, int end)
public List<com.liferay.asset.kernel.model.AssetTag> getTags(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
public List<com.liferay.asset.kernel.model.AssetTag> getTags(long[] groupIds, String name, int start, int end)
public List<com.liferay.asset.kernel.model.AssetTag> getTags(long[] groupIds, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
public List<com.liferay.asset.kernel.model.AssetTag> getTags(String className, long classPK)
public int getTagsCount(long groupId, String name)
public int getTagsCount(long[] groupIds, String name)
public int getVisibleAssetsTagsCount(long groupId, long classNameId, String name)
public int getVisibleAssetsTagsCount(long groupId, String name)
public void mergeTags(long fromTagId, long toTagId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void mergeTags(long[] fromTagIds, long toTagId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.json.JSONArray search(long groupId, String name, int start, int end)
public com.liferay.portal.kernel.json.JSONArray search(long[] groupIds, String name, int start, int end)
public void subscribeTag(long userId, long groupId, long tagId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void unsubscribeTag(long userId, long tagId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.asset.kernel.model.AssetTag updateTag(long tagId, String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected com.liferay.asset.kernel.model.AssetTag sanitize(com.liferay.asset.kernel.model.AssetTag tag)
protected List<com.liferay.asset.kernel.model.AssetTag> sanitize(List<com.liferay.asset.kernel.model.AssetTag> tags)