Liferay 6.1.2-ce-ga3

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

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.asset.service.base.AssetTagLocalServiceBaseImpl
          extended by com.liferay.portlet.asset.service.impl.AssetTagLocalServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, AssetTagLocalService

public class AssetTagLocalServiceImpl
extends AssetTagLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.asset.service.base.AssetTagLocalServiceBaseImpl
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, persistedModelLocalServiceRegistry, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService
 
Constructor Summary
AssetTagLocalServiceImpl()
           
 
Method Summary
 AssetTag addTag(long userId, String name, String[] tagProperties, ServiceContext serviceContext)
           
 void addTagResources(AssetTag tag, boolean addGroupPermissions, boolean addGuestPermissions)
           
 void addTagResources(AssetTag tag, String[] groupPermissions, String[] guestPermissions)
           
 void checkTags(long userId, long groupId, String[] names)
           
 AssetTag decrementAssetCount(long tagId, long classNameId)
           
 void deleteTag(AssetTag tag)
           
 void deleteTag(long tagId)
           
 List<AssetTag> getEntryTags(long entryId)
           
 List<AssetTag> getGroupsTags(long[] groupIds)
           
 List<AssetTag> getGroupTags(long groupId)
           
 List<AssetTag> getGroupTags(long groupId, int start, int end)
           
 int getGroupTagsCount(long groupId)
           
 List<AssetTag> getSocialActivityCounterOffsetTags(long groupId, String socialActivityCounterName, int startOffset, int endOffset)
           
 List<AssetTag> getSocialActivityCounterPeriodTags(long groupId, String socialActivityCounterName, int startPeriod, int endPeriod)
           
 AssetTag getTag(long tagId)
           
 AssetTag getTag(long groupId, String name)
           
 long[] getTagIds(long[] groupIds, String name)
           
 long[] getTagIds(long[] groupIds, String[] names)
           
 long[] getTagIds(long groupId, String[] names)
           
 String[] getTagNames()
           
protected  String[] getTagNames(List<AssetTag> tags)
           
 String[] getTagNames(long classNameId, long classPK)
           
 String[] getTagNames(String className, long classPK)
           
 List<AssetTag> getTags()
           
 List<AssetTag> getTags(long classNameId, long classPK)
           
 List<AssetTag> getTags(long groupId, long classNameId, String name)
           
 List<AssetTag> getTags(long groupId, long classNameId, String name, int start, int end)
           
 List<AssetTag> getTags(String className, long classPK)
           
 int getTagsSize(long groupId, long classNameId, String name)
           
 boolean hasTag(long groupId, String name)
           
 AssetTag incrementAssetCount(long tagId, long classNameId)
           
 void mergeTags(long fromTagId, long toTagId, boolean overrideProperties)
           
 List<AssetTag> search(long[] groupIds, String name, String[] tagProperties, int start, int end)
           
 List<AssetTag> search(long groupId, String name, String[] tagProperties, int start, int end)
           
 AssetTag updateTag(long userId, long tagId, String name, String[] tagProperties, ServiceContext serviceContext)
           
protected  void validate(String name)
           
 
Methods inherited from class com.liferay.portlet.asset.service.base.AssetTagLocalServiceBaseImpl
addAssetEntryAssetTag, addAssetEntryAssetTag, addAssetEntryAssetTags, addAssetEntryAssetTags, addAssetTag, afterPropertiesSet, clearAssetEntryAssetTags, createAssetTag, deleteAssetEntryAssetTag, deleteAssetEntryAssetTag, deleteAssetEntryAssetTags, deleteAssetEntryAssetTags, deleteAssetTag, deleteAssetTag, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchAssetTag, getAssetCategoryFinder, getAssetCategoryLocalService, getAssetCategoryPersistence, getAssetCategoryPropertyFinder, getAssetCategoryPropertyLocalService, getAssetCategoryPropertyPersistence, getAssetCategoryPropertyService, getAssetCategoryService, getAssetEntryAssetTags, getAssetEntryAssetTags, getAssetEntryAssetTags, getAssetEntryAssetTagsCount, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getAssetTag, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagPropertyFinder, getAssetTagPropertyKeyFinder, getAssetTagPropertyLocalService, getAssetTagPropertyPersistence, getAssetTagPropertyService, getAssetTags, getAssetTagsCount, getAssetTagService, getAssetTagStatsLocalService, getAssetTagStatsPersistence, getAssetVocabularyFinder, getAssetVocabularyLocalService, getAssetVocabularyPersistence, getAssetVocabularyService, getBeanIdentifier, getCounterLocalService, getModelClass, getModelClassName, getPersistedModel, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, hasAssetEntryAssetTag, hasAssetEntryAssetTags, runSQL, setAssetCategoryFinder, setAssetCategoryLocalService, setAssetCategoryPersistence, setAssetCategoryPropertyFinder, setAssetCategoryPropertyLocalService, setAssetCategoryPropertyPersistence, setAssetCategoryPropertyService, setAssetCategoryService, setAssetEntryAssetTags, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetLinkLocalService, setAssetLinkPersistence, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagPropertyFinder, setAssetTagPropertyKeyFinder, setAssetTagPropertyLocalService, setAssetTagPropertyPersistence, setAssetTagPropertyService, setAssetTagService, setAssetTagStatsLocalService, setAssetTagStatsPersistence, setAssetVocabularyFinder, setAssetVocabularyLocalService, setAssetVocabularyPersistence, setAssetVocabularyService, setBeanIdentifier, setCounterLocalService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateAssetTag, updateAssetTag
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetTagLocalServiceImpl

public AssetTagLocalServiceImpl()
Method Detail

addTag

public AssetTag addTag(long userId,
                       String name,
                       String[] tagProperties,
                       ServiceContext serviceContext)
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

addTagResources

public void addTagResources(AssetTag tag,
                            boolean addGroupPermissions,
                            boolean addGuestPermissions)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

addTagResources

public void addTagResources(AssetTag tag,
                            String[] groupPermissions,
                            String[] guestPermissions)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

checkTags

public void checkTags(long userId,
                      long groupId,
                      String[] names)
               throws PortalException,
                      SystemException
Throws:
PortalException
SystemException

decrementAssetCount

public AssetTag decrementAssetCount(long tagId,
                                    long classNameId)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

deleteTag

public void deleteTag(AssetTag tag)
               throws PortalException,
                      SystemException
Throws:
PortalException
SystemException

deleteTag

public void deleteTag(long tagId)
               throws PortalException,
                      SystemException
Throws:
PortalException
SystemException

getEntryTags

public List<AssetTag> getEntryTags(long entryId)
                            throws SystemException
Throws:
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)
                            throws SystemException
Throws:
SystemException

getGroupTagsCount

public int getGroupTagsCount(long groupId)
                      throws SystemException
Throws:
SystemException

getSocialActivityCounterOffsetTags

public List<AssetTag> getSocialActivityCounterOffsetTags(long groupId,
                                                         String socialActivityCounterName,
                                                         int startOffset,
                                                         int endOffset)
                                                  throws SystemException
Throws:
SystemException

getSocialActivityCounterPeriodTags

public List<AssetTag> getSocialActivityCounterPeriodTags(long groupId,
                                                         String socialActivityCounterName,
                                                         int startPeriod,
                                                         int endPeriod)
                                                  throws SystemException
Throws:
SystemException

getTag

public AssetTag getTag(long tagId)
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

getTag

public AssetTag getTag(long groupId,
                       String name)
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

getTagIds

public long[] getTagIds(long groupId,
                        String[] names)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getTagIds

public long[] getTagIds(long[] groupIds,
                        String name)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getTagIds

public long[] getTagIds(long[] groupIds,
                        String[] names)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getTagNames

public String[] getTagNames()
                     throws SystemException
Throws:
SystemException

getTagNames

public String[] getTagNames(long classNameId,
                            long classPK)
                     throws SystemException
Throws:
SystemException

getTagNames

public String[] getTagNames(String className,
                            long classPK)
                     throws SystemException
Throws:
SystemException

getTags

public List<AssetTag> getTags()
                       throws SystemException
Throws:
SystemException

getTags

public List<AssetTag> getTags(long classNameId,
                              long classPK)
                       throws SystemException
Throws:
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)
                       throws SystemException
Throws:
SystemException

getTags

@ThreadLocalCachable
public List<AssetTag> getTags(String className,
                                                  long classPK)
                       throws SystemException
Throws:
SystemException

getTagsSize

public int getTagsSize(long groupId,
                       long classNameId,
                       String name)
                throws SystemException
Throws:
SystemException

hasTag

public boolean hasTag(long groupId,
                      String name)
               throws PortalException,
                      SystemException
Throws:
PortalException
SystemException

incrementAssetCount

public AssetTag incrementAssetCount(long tagId,
                                    long classNameId)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

mergeTags

public void mergeTags(long fromTagId,
                      long toTagId,
                      boolean overrideProperties)
               throws PortalException,
                      SystemException
Throws:
PortalException
SystemException

search

public List<AssetTag> search(long groupId,
                             String name,
                             String[] tagProperties,
                             int start,
                             int end)
                      throws SystemException
Throws:
SystemException

search

public List<AssetTag> search(long[] groupIds,
                             String name,
                             String[] tagProperties,
                             int start,
                             int end)
                      throws SystemException
Throws:
SystemException

updateTag

public AssetTag updateTag(long userId,
                          long tagId,
                          String name,
                          String[] tagProperties,
                          ServiceContext serviceContext)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

getTagNames

protected String[] getTagNames(List<AssetTag> tags)

validate

protected void validate(String name)
                 throws PortalException
Throws:
PortalException

Liferay 6.1.2-ce-ga3