com.liferay.portlet.asset.service.impl
Class AssetTagServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.base.PrincipalBean
      extended by com.liferay.portlet.asset.service.base.AssetTagServiceBaseImpl
          extended by com.liferay.portlet.asset.service.impl.AssetTagServiceImpl
All Implemented Interfaces:
com.liferay.portlet.asset.service.AssetTagService

public class AssetTagServiceImpl
extends AssetTagServiceBaseImpl

View Source

Author:
Brian Wing Shun Chan, Jorge Ferrer, Alvaro del Castillo, Eduardo Lundgren, Bruno Farache

Field Summary
 
Fields inherited from class com.liferay.portlet.asset.service.base.AssetTagServiceBaseImpl
assetCategoryFinder, assetCategoryLocalService, assetCategoryPersistence, assetCategoryPropertyFinder, assetCategoryPropertyLocalService, assetCategoryPropertyPersistence, assetCategoryPropertyService, assetCategoryService, assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagPropertyFinder, assetTagPropertyKeyFinder, assetTagPropertyLocalService, assetTagPropertyPersistence, assetTagPropertyService, assetTagService, assetTagStatsLocalService, assetTagStatsPersistence, assetVocabularyLocalService, assetVocabularyPersistence, assetVocabularyService, counterLocalService, counterService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.base.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
AssetTagServiceImpl()
           
 
Method Summary
 com.liferay.portlet.asset.model.AssetTag addTag(java.lang.String name, java.lang.String[] tagProperties, com.liferay.portal.service.ServiceContext serviceContext)
           
 void deleteTag(long tagId)
           
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> getGroupTags(long groupId)
           
 com.liferay.portlet.asset.model.AssetTag getTag(long tagId)
           
 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(java.lang.String className, long classPK)
           
 void mergeTags(long fromTagId, long toTagId)
           
 com.liferay.portal.kernel.json.JSONArray search(long groupId, java.lang.String name, java.lang.String[] tagProperties, int start, int end)
           
 com.liferay.portlet.asset.model.AssetTag updateTag(long tagId, java.lang.String name, java.lang.String[] tagProperties, com.liferay.portal.service.ServiceContext serviceContext)
           
 
Methods inherited from class com.liferay.portlet.asset.service.base.AssetTagServiceBaseImpl
getAssetCategoryFinder, getAssetCategoryLocalService, getAssetCategoryPersistence, getAssetCategoryPropertyFinder, getAssetCategoryPropertyLocalService, getAssetCategoryPropertyPersistence, getAssetCategoryPropertyService, getAssetCategoryService, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagPropertyFinder, getAssetTagPropertyKeyFinder, getAssetTagPropertyLocalService, getAssetTagPropertyPersistence, getAssetTagPropertyService, getAssetTagService, getAssetTagStatsLocalService, getAssetTagStatsPersistence, getAssetVocabularyLocalService, getAssetVocabularyPersistence, getAssetVocabularyService, getCounterLocalService, getCounterService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAssetCategoryFinder, setAssetCategoryLocalService, setAssetCategoryPersistence, setAssetCategoryPropertyFinder, setAssetCategoryPropertyLocalService, setAssetCategoryPropertyPersistence, setAssetCategoryPropertyService, setAssetCategoryService, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagPropertyFinder, setAssetTagPropertyKeyFinder, setAssetTagPropertyLocalService, setAssetTagPropertyPersistence, setAssetTagPropertyService, setAssetTagService, setAssetTagStatsLocalService, setAssetTagStatsPersistence, setAssetVocabularyLocalService, setAssetVocabularyPersistence, setAssetVocabularyService, setCounterLocalService, setCounterService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService
 
Methods inherited from class com.liferay.portal.service.base.PrincipalBean
getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetTagServiceImpl

public AssetTagServiceImpl()
Method Detail

addTag

public com.liferay.portlet.asset.model.AssetTag addTag(java.lang.String name,
                                                       java.lang.String[] tagProperties,
                                                       com.liferay.portal.service.ServiceContext serviceContext)
                                                throws com.liferay.portal.kernel.exception.PortalException,
                                                       com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteTag

public void deleteTag(long tagId)
               throws com.liferay.portal.kernel.exception.PortalException,
                      com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getGroupTags

public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupTags(long groupId)
                                                                      throws com.liferay.portal.kernel.exception.PortalException,
                                                                             com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getTag

public com.liferay.portlet.asset.model.AssetTag getTag(long tagId)
                                                throws com.liferay.portal.kernel.exception.PortalException,
                                                       com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getTags

public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(long groupId,
                                                                        long classNameId,
                                                                        java.lang.String name)
                                                                 throws com.liferay.portal.kernel.exception.PortalException,
                                                                        com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getTags

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.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

mergeTags

public void mergeTags(long fromTagId,
                      long toTagId)
               throws com.liferay.portal.kernel.exception.PortalException,
                      com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

search

public com.liferay.portal.kernel.json.JSONArray search(long groupId,
                                                       java.lang.String name,
                                                       java.lang.String[] tagProperties,
                                                       int start,
                                                       int end)
                                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

updateTag

public com.liferay.portlet.asset.model.AssetTag updateTag(long tagId,
                                                          java.lang.String name,
                                                          java.lang.String[] tagProperties,
                                                          com.liferay.portal.service.ServiceContext serviceContext)
                                                   throws com.liferay.portal.kernel.exception.PortalException,
                                                          com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

filterTags

protected 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
Throws:
com.liferay.portal.kernel.exception.PortalException