public class AssetTagServiceImpl extends AssetTagServiceBaseImpl
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagService, assetTagStatsLocalService, assetTagStatsPersistence, classNameLocalService, classNamePersistence, classNameService, counterLocalService, groupFinder, groupLocalService, groupPersistence, groupService, resourceLocalService, userFinder, userLocalService, userPersistence, userService| Constructor and Description |
|---|
AssetTagServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.portlet.asset.model.AssetTag |
addTag(long groupId,
java.lang.String name,
com.liferay.portal.service.ServiceContext serviceContext) |
void |
deleteTag(long tagId) |
void |
deleteTags(long[] tagIds) |
protected java.util.List<com.liferay.portlet.asset.model.AssetTag> |
filterTags(java.util.List<com.liferay.portlet.asset.model.AssetTag> tags) |
java.util.List<com.liferay.portlet.asset.model.AssetTag> |
getGroupsTags(long[] groupIds) |
java.util.List<com.liferay.portlet.asset.model.AssetTag> |
getGroupTags(long groupId) |
java.util.List<com.liferay.portlet.asset.model.AssetTag> |
getGroupTags(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetTag> obc) |
int |
getGroupTagsCount(long groupId) |
com.liferay.portlet.asset.model.AssetTagDisplay |
getGroupTagsDisplay(long groupId,
java.lang.String name,
int start,
int end) |
com.liferay.portal.kernel.json.JSONObject |
getJSONGroupTags(long groupId,
java.lang.String name,
int start,
int end)
Deprecated.
As of 6.2.0, replaced by
getGroupTagsDisplay(long,
String, int, int) |
com.liferay.portlet.asset.model.AssetTag |
getTag(long tagId) |
java.util.List<com.liferay.portlet.asset.model.AssetTag> |
getTags(long[] groupIds,
java.lang.String name,
int start,
int end) |
java.util.List<com.liferay.portlet.asset.model.AssetTag> |
getTags(long groupId,
long classNameId,
java.lang.String name) |
java.util.List<com.liferay.portlet.asset.model.AssetTag> |
getTags(long groupId,
long classNameId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetTag> obc) |
java.util.List<com.liferay.portlet.asset.model.AssetTag> |
getTags(long groupId,
java.lang.String name,
int start,
int end) |
java.util.List<com.liferay.portlet.asset.model.AssetTag> |
getTags(java.lang.String className,
long classPK) |
int |
getTagsCount(long groupId,
java.lang.String name) |
int |
getVisibleAssetsTagsCount(long groupId,
long classNameId,
java.lang.String name) |
int |
getVisibleAssetsTagsCount(long groupId,
java.lang.String name) |
void |
mergeTags(long[] fromTagIds,
long toTagId) |
void |
mergeTags(long fromTagId,
long toTagId) |
com.liferay.portal.kernel.json.JSONArray |
search(long[] groupIds,
java.lang.String name,
int start,
int end) |
com.liferay.portal.kernel.json.JSONArray |
search(long groupId,
java.lang.String name,
int start,
int end) |
com.liferay.portlet.asset.model.AssetTag |
updateTag(long tagId,
java.lang.String name,
com.liferay.portal.service.ServiceContext serviceContext) |
afterPropertiesSet, destroy, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagService, getAssetTagStatsLocalService, getAssetTagStatsPersistence, getBeanIdentifier, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCounterLocalService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getModelClass, getModelClassName, getResourceLocalService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagService, setAssetTagStatsLocalService, setAssetTagStatsPersistence, setBeanIdentifier, setClassNameLocalService, setClassNamePersistence, setClassNameService, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setResourceLocalService, setUserFinder, setUserLocalService, setUserPersistence, setUserServicepublic com.liferay.portlet.asset.model.AssetTag addTag(long groupId,
java.lang.String name,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void deleteTag(long tagId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void deleteTags(long[] tagIds)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupsTags(long[] groupIds)
public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupTags(long groupId)
public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupTags(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetTag> obc)
public int getGroupTagsCount(long groupId)
public com.liferay.portlet.asset.model.AssetTagDisplay getGroupTagsDisplay(long groupId,
java.lang.String name,
int start,
int end)
@Deprecated
public com.liferay.portal.kernel.json.JSONObject getJSONGroupTags(long groupId,
java.lang.String name,
int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException
getGroupTagsDisplay(long,
String, int, int)com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portlet.asset.model.AssetTag getTag(long tagId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(long groupId,
long classNameId,
java.lang.String name)
public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(long groupId,
long classNameId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetTag> obc)
public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(long groupId,
java.lang.String name,
int start,
int end)
public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(long[] groupIds,
java.lang.String name,
int start,
int end)
public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(java.lang.String className,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic int getTagsCount(long groupId,
java.lang.String name)
public int getVisibleAssetsTagsCount(long groupId,
long classNameId,
java.lang.String name)
public int getVisibleAssetsTagsCount(long groupId,
java.lang.String name)
public void mergeTags(long fromTagId,
long toTagId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void mergeTags(long[] fromTagIds,
long toTagId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.json.JSONArray search(long groupId,
java.lang.String name,
int start,
int end)
public com.liferay.portal.kernel.json.JSONArray search(long[] groupIds,
java.lang.String name,
int start,
int end)
public com.liferay.portlet.asset.model.AssetTag updateTag(long tagId,
java.lang.String name,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected java.util.List<com.liferay.portlet.asset.model.AssetTag> filterTags(java.util.List<com.liferay.portlet.asset.model.AssetTag> tags)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException