com.liferay.portlet.asset.service.impl
Class AssetTagServiceImpl
java.lang.Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portlet.asset.service.base.AssetTagServiceBaseImpl
com.liferay.portlet.asset.service.impl.AssetTagServiceImpl
- All Implemented Interfaces:
- com.liferay.asset.kernel.service.AssetTagService, com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseService
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 |
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagService, assetTagStatsLocalService, assetTagStatsPersistence, classNameLocalService, classNamePersistence, classNameService, counterLocalService, groupFinder, groupLocalService, groupPersistence, groupService, resourceLocalService, userFinder, userLocalService, userPersistence, userService |
| Fields inherited from class com.liferay.portal.kernel.service.BaseServiceImpl |
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS |
|
Method Summary |
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> obc)
|
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> obc)
|
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> obc)
|
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> obc)
|
List<com.liferay.asset.kernel.model.AssetTag> |
getTags(String className,
long classPK)
|
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)
|
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)
|
com.liferay.asset.kernel.model.AssetTag |
updateTag(long tagId,
String name,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
|
| Methods inherited from class com.liferay.portlet.asset.service.base.AssetTagServiceBaseImpl |
afterPropertiesSet, destroy, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagService, getAssetTagStatsLocalService, getAssetTagStatsPersistence, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCounterLocalService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getModelClass, getModelClassName, getOSGiServiceIdentifier, getResourceLocalService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagService, setAssetTagStatsLocalService, setAssetTagStatsPersistence, setClassNameLocalService, setClassNamePersistence, setClassNameService, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setResourceLocalService, setUserFinder, setUserLocalService, setUserPersistence, setUserService |
| Methods inherited from class com.liferay.portal.kernel.service.BaseServiceImpl |
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetTagServiceImpl
public AssetTagServiceImpl()
addTag
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
- Throws:
com.liferay.portal.kernel.exception.PortalException
deleteTag
public void deleteTag(long tagId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
deleteTags
public void deleteTags(long[] tagIds)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
getGroupsTags
public List<com.liferay.asset.kernel.model.AssetTag> getGroupsTags(long[] groupIds)
getGroupTags
public List<com.liferay.asset.kernel.model.AssetTag> getGroupTags(long groupId)
getGroupTags
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> obc)
getGroupTagsCount
public int getGroupTagsCount(long groupId)
getGroupTagsDisplay
public com.liferay.asset.kernel.model.AssetTagDisplay getGroupTagsDisplay(long groupId,
String name,
int start,
int end)
getTag
public com.liferay.asset.kernel.model.AssetTag getTag(long tagId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
getTags
public List<com.liferay.asset.kernel.model.AssetTag> getTags(long groupId,
long classNameId,
String name)
getTags
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> obc)
getTags
public List<com.liferay.asset.kernel.model.AssetTag> getTags(long groupId,
String name,
int start,
int end)
getTags
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> obc)
getTags
public List<com.liferay.asset.kernel.model.AssetTag> getTags(long[] groupIds,
String name,
int start,
int end)
getTags
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> obc)
getTags
public List<com.liferay.asset.kernel.model.AssetTag> getTags(String className,
long classPK)
getTagsCount
public int getTagsCount(long groupId,
String name)
getVisibleAssetsTagsCount
public int getVisibleAssetsTagsCount(long groupId,
long classNameId,
String name)
getVisibleAssetsTagsCount
public int getVisibleAssetsTagsCount(long groupId,
String name)
mergeTags
public void mergeTags(long fromTagId,
long toTagId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
mergeTags
public void mergeTags(long[] fromTagIds,
long toTagId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
search
public com.liferay.portal.kernel.json.JSONArray search(long groupId,
String name,
int start,
int end)
search
public com.liferay.portal.kernel.json.JSONArray search(long[] groupIds,
String name,
int start,
int end)
updateTag
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
- Throws:
com.liferay.portal.kernel.exception.PortalException