com.liferay.portlet.asset.service.impl
Class AssetTagServiceImpl
java.lang.Object
com.liferay.portal.service.BaseServiceImpl
com.liferay.portlet.asset.service.base.AssetTagServiceBaseImpl
com.liferay.portlet.asset.service.impl.AssetTagServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, BaseService, AssetTagService
public class AssetTagServiceImpl
- extends AssetTagServiceBaseImpl
Provides the remote service for accessing, adding, checking, deleting,
merging, and updating asset tags. Its methods include permission checks.
Fields inherited from class com.liferay.portlet.asset.service.base.AssetTagServiceBaseImpl |
assetCategoryFinder, assetCategoryLocalService, assetCategoryPersistence, assetCategoryPropertyFinder, assetCategoryPropertyLocalService, assetCategoryPropertyPersistence, assetCategoryPropertyService, assetCategoryService, assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetLinkLocalService, assetLinkPersistence, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagPropertyFinder, assetTagPropertyKeyFinder, assetTagPropertyLocalService, assetTagPropertyPersistence, assetTagPropertyService, assetTagService, assetTagStatsLocalService, assetTagStatsPersistence, assetVocabularyFinder, assetVocabularyLocalService, assetVocabularyPersistence, assetVocabularyService, counterLocalService, groupFinder, groupLocalService, groupPersistence, groupService, resourceLocalService, userFinder, userLocalService, userPersistence, userService |
Method Summary |
AssetTag |
addTag(String name,
String[] tagProperties,
ServiceContext serviceContext)
|
void |
deleteTag(long tagId)
|
void |
deleteTags(long[] tagIds)
|
protected List<AssetTag> |
filterTags(List<AssetTag> tags)
|
List<AssetTag> |
getGroupsTags(long[] groupIds)
|
List<AssetTag> |
getGroupTags(long groupId)
|
List<AssetTag> |
getGroupTags(long groupId,
int start,
int end,
OrderByComparator obc)
|
int |
getGroupTagsCount(long groupId)
|
AssetTagDisplay |
getGroupTagsDisplay(long groupId,
String name,
int start,
int end)
|
JSONObject |
getJSONGroupTags(long groupId,
String name,
int start,
int end)
Deprecated. As of 6.2.0, replaced by getGroupTagsDisplay(long,
String, int, int) |
AssetTag |
getTag(long tagId)
|
List<AssetTag> |
getTags(long[] groupIds,
String name,
String[] tagProperties,
int start,
int end)
|
List<AssetTag> |
getTags(long groupId,
long classNameId,
String name)
|
List<AssetTag> |
getTags(long groupId,
long classNameId,
String name,
int start,
int end,
OrderByComparator obc)
|
List<AssetTag> |
getTags(long groupId,
String name,
String[] tagProperties,
int start,
int end)
|
List<AssetTag> |
getTags(String className,
long classPK)
|
int |
getTagsCount(long groupId,
long classNameId,
String name)
|
int |
getTagsCount(long groupId,
String name)
|
int |
getTagsCount(long groupId,
String name,
String[] tagProperties)
|
void |
mergeTags(long[] fromTagIds,
long toTagId,
boolean overrideProperties)
|
void |
mergeTags(long fromTagId,
long toTagId,
boolean overrideProperties)
|
JSONArray |
search(long[] groupIds,
String name,
String[] tagProperties,
int start,
int end)
|
JSONArray |
search(long groupId,
String name,
String[] tagProperties,
int start,
int end)
|
AssetTag |
updateTag(long tagId,
String name,
String[] tagProperties,
ServiceContext serviceContext)
|
Methods inherited from class com.liferay.portlet.asset.service.base.AssetTagServiceBaseImpl |
afterPropertiesSet, destroy, getAssetCategoryFinder, getAssetCategoryLocalService, getAssetCategoryPersistence, getAssetCategoryPropertyFinder, getAssetCategoryPropertyLocalService, getAssetCategoryPropertyPersistence, getAssetCategoryPropertyService, getAssetCategoryService, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagPropertyFinder, getAssetTagPropertyKeyFinder, getAssetTagPropertyLocalService, getAssetTagPropertyPersistence, getAssetTagPropertyService, getAssetTagService, getAssetTagStatsLocalService, getAssetTagStatsPersistence, getAssetVocabularyFinder, getAssetVocabularyLocalService, getAssetVocabularyPersistence, getAssetVocabularyService, getBeanIdentifier, getCounterLocalService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getModelClass, getModelClassName, getResourceLocalService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAssetCategoryFinder, setAssetCategoryLocalService, setAssetCategoryPersistence, setAssetCategoryPropertyFinder, setAssetCategoryPropertyLocalService, setAssetCategoryPropertyPersistence, setAssetCategoryPropertyService, setAssetCategoryService, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetLinkLocalService, setAssetLinkPersistence, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagPropertyFinder, setAssetTagPropertyKeyFinder, setAssetTagPropertyLocalService, setAssetTagPropertyPersistence, setAssetTagPropertyService, setAssetTagService, setAssetTagStatsLocalService, setAssetTagStatsPersistence, setAssetVocabularyFinder, setAssetVocabularyLocalService, setAssetVocabularyPersistence, setAssetVocabularyService, setBeanIdentifier, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setResourceLocalService, setUserFinder, setUserLocalService, setUserPersistence, setUserService |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetTagServiceImpl
public AssetTagServiceImpl()
addTag
public AssetTag addTag(String name,
String[] tagProperties,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteTag
public void deleteTag(long tagId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteTags
public void deleteTags(long[] tagIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getGroupsTags
public List<AssetTag> getGroupsTags(long[] groupIds)
throws SystemException
- Throws:
SystemException
getGroupTags
public List<AssetTag> getGroupTags(long groupId)
throws SystemException
- Throws:
SystemException
getGroupTags
public List<AssetTag> getGroupTags(long groupId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getGroupTagsCount
public int getGroupTagsCount(long groupId)
throws SystemException
- Throws:
SystemException
getGroupTagsDisplay
public AssetTagDisplay getGroupTagsDisplay(long groupId,
String name,
int start,
int end)
throws SystemException
- Throws:
SystemException
getJSONGroupTags
public JSONObject getJSONGroupTags(long groupId,
String name,
int start,
int end)
throws PortalException,
SystemException
- Deprecated. As of 6.2.0, replaced by
getGroupTagsDisplay(long,
String, int, int)
- Throws:
PortalException
SystemException
getTag
public AssetTag getTag(long tagId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTags
public List<AssetTag> getTags(long groupId,
long classNameId,
String name)
throws SystemException
- Throws:
SystemException
getTags
public List<AssetTag> getTags(long groupId,
long classNameId,
String name,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getTags
public List<AssetTag> getTags(long groupId,
String name,
String[] tagProperties,
int start,
int end)
throws SystemException
- Throws:
SystemException
getTags
public List<AssetTag> getTags(long[] groupIds,
String name,
String[] tagProperties,
int start,
int end)
throws SystemException
- Throws:
SystemException
getTags
public List<AssetTag> getTags(String className,
long classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTagsCount
public int getTagsCount(long groupId,
long classNameId,
String name)
throws SystemException
- Throws:
SystemException
getTagsCount
public int getTagsCount(long groupId,
String name)
throws SystemException
- Throws:
SystemException
getTagsCount
public int getTagsCount(long groupId,
String name,
String[] tagProperties)
throws SystemException
- Throws:
SystemException
mergeTags
public void mergeTags(long fromTagId,
long toTagId,
boolean overrideProperties)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
mergeTags
public void mergeTags(long[] fromTagIds,
long toTagId,
boolean overrideProperties)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
search
public JSONArray search(long groupId,
String name,
String[] tagProperties,
int start,
int end)
throws SystemException
- Throws:
SystemException
search
public JSONArray search(long[] groupIds,
String name,
String[] tagProperties,
int start,
int end)
throws SystemException
- Throws:
SystemException
updateTag
public AssetTag updateTag(long tagId,
String name,
String[] tagProperties,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
filterTags
protected List<AssetTag> filterTags(List<AssetTag> tags)
throws PortalException
- Throws:
PortalException