com.liferay.portlet.tags.service.impl
Class TagsAssetLocalServiceImpl

java.lang.Object
  extended by com.liferay.portlet.tags.service.base.TagsAssetLocalServiceBaseImpl
      extended by com.liferay.portlet.tags.service.impl.TagsAssetLocalServiceImpl
All Implemented Interfaces:
com.liferay.portlet.tags.service.TagsAssetLocalService

public class TagsAssetLocalServiceImpl
extends TagsAssetLocalServiceBaseImpl

View Source

Author:
Brian Wing Shun Chan, Bruno Farache

Field Summary
 
Fields inherited from class com.liferay.portlet.tags.service.base.TagsAssetLocalServiceBaseImpl
blogsEntryFinder, blogsEntryLocalService, blogsEntryPersistence, blogsEntryService, bookmarksEntryFinder, bookmarksEntryLocalService, bookmarksEntryPersistence, bookmarksEntryService, companyLocalService, companyPersistence, companyService, counterLocalService, counterService, dlFileEntryFinder, dlFileEntryLocalService, dlFileEntryPersistence, dlFileEntryService, groupFinder, groupLocalService, groupPersistence, groupService, journalArticleFinder, journalArticleLocalService, journalArticlePersistence, journalArticleResourceLocalService, journalArticleResourcePersistence, journalArticleService, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbMessageService, tagsAssetFinder, tagsAssetLocalService, tagsAssetPersistence, tagsAssetService, tagsEntryFinder, tagsEntryLocalService, tagsEntryPersistence, tagsEntryService, tagsPropertyFinder, tagsPropertyKeyFinder, tagsPropertyLocalService, tagsPropertyPersistence, tagsPropertyService, tagsSourceLocalService, tagsSourcePersistence, tagsSourceService, tagsVocabularyLocalService, tagsVocabularyPersistence, tagsVocabularyService, userFinder, userLocalService, userPersistence, userService, wikiPageFinder, wikiPageLocalService, wikiPagePersistence, wikiPageResourceLocalService, wikiPageResourcePersistence, wikiPageService
 
Constructor Summary
TagsAssetLocalServiceImpl()
           
 
Method Summary
 void deleteAsset(long assetId)
           
 void deleteAsset(java.lang.String className, long classPK)
           
 void deleteAsset(com.liferay.portlet.tags.model.TagsAsset asset)
           
protected  com.liferay.portlet.tags.model.TagsAsset getAsset(com.liferay.portal.kernel.search.Document doc)
           
 com.liferay.portlet.tags.model.TagsAsset getAsset(long assetId)
           
 com.liferay.portlet.tags.model.TagsAsset getAsset(java.lang.String className, long classPK)
           
protected  com.liferay.portlet.tags.model.TagsAssetDisplay[] getAssetDisplays(java.util.List<com.liferay.portlet.tags.model.TagsAsset> assets, java.lang.String languageId)
           
 java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(long[] entryIds, long[] notEntryIds, boolean andOperator, boolean excludeZeroViewCount, java.util.Date publishDate, java.util.Date expirationDate, int start, int end)
           
 java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(long[] entryIds, long[] notEntryIds, boolean andOperator, boolean excludeZeroViewCount, int start, int end)
           
 java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(long[] entryIds, long[] notEntryIds, boolean andOperator, java.lang.String orderByCol1, java.lang.String orderByCol2, java.lang.String orderByType1, java.lang.String orderByType2, boolean excludeZeroViewCount, java.util.Date publishDate, java.util.Date expirationDate, int start, int end)
           
 java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds, boolean andOperator, boolean excludeZeroViewCount, java.util.Date publishDate, java.util.Date expirationDate, int start, int end)
           
 java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds, boolean andOperator, boolean excludeZeroViewCount, int start, int end)
           
 java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds, boolean andOperator, java.lang.String orderByCol1, java.lang.String orderByCol2, java.lang.String orderByType1, java.lang.String orderByType2, boolean excludeZeroViewCount, java.util.Date publishDate, java.util.Date expirationDate, int start, int end)
           
 int getAssetsCount(long[] entryIds, long[] notEntryIds, boolean andOperator, boolean excludeZeroViewCount)
           
 int getAssetsCount(long[] entryIds, long[] notEntryIds, boolean andOperator, boolean excludeZeroViewCount, java.util.Date publishDate, java.util.Date expirationDate)
           
 int getAssetsCount(long groupId, long[] entryIds, long[] notEntryIds, boolean andOperator, boolean excludeZeroViewCount)
           
 int getAssetsCount(long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds, boolean andOperator, boolean excludeZeroViewCount, java.util.Date publishDate, java.util.Date expirationDate)
           
protected  com.liferay.portlet.tags.model.TagsAssetType getAssetType(java.lang.String className, java.lang.String languageId)
           
 com.liferay.portlet.tags.model.TagsAssetType[] getAssetTypes(java.lang.String languageId)
           
 com.liferay.portlet.tags.model.TagsAssetDisplay[] getCompanyAssetDisplays(long companyId, int start, int end, java.lang.String languageId)
           
 java.util.List<com.liferay.portlet.tags.model.TagsAsset> getCompanyAssets(long companyId, int start, int end)
           
 int getCompanyAssetsCount(long companyId)
           
 java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTopViewedAssets(java.lang.String[] className, boolean asc, int start, int end)
           
 java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTopViewedAssets(java.lang.String className, boolean asc, int start, int end)
           
 com.liferay.portlet.tags.model.TagsAsset incrementViewCounter(java.lang.String className, long classPK)
           
 com.liferay.portal.kernel.search.Hits search(long companyId, java.lang.String portletId, java.lang.String keywords, int start, int end)
           
 com.liferay.portlet.tags.model.TagsAssetDisplay[] searchAssetDisplays(long companyId, java.lang.String portletId, java.lang.String keywords, java.lang.String languageId, int start, int end)
           
 int searchAssetDisplaysCount(long companyId, java.lang.String portletId, java.lang.String keywords, java.lang.String languageId)
           
 com.liferay.portlet.tags.model.TagsAsset updateAsset(long userId, long groupId, java.lang.String className, long classPK, java.lang.String[] categoryNames, java.lang.String[] entryNames)
           
 com.liferay.portlet.tags.model.TagsAsset updateAsset(long userId, long groupId, java.lang.String className, long classPK, java.lang.String[] categoryNames, java.lang.String[] entryNames, boolean visible, java.util.Date startDate, java.util.Date endDate, java.util.Date publishDate, java.util.Date expirationDate, java.lang.String mimeType, java.lang.String title, java.lang.String description, java.lang.String summary, java.lang.String url, int height, int width, java.lang.Integer priority)
           
 com.liferay.portlet.tags.model.TagsAsset updateAsset(long userId, long groupId, java.lang.String className, long classPK, java.lang.String[] categoryNames, java.lang.String[] entryNames, boolean visible, java.util.Date startDate, java.util.Date endDate, java.util.Date publishDate, java.util.Date expirationDate, java.lang.String mimeType, java.lang.String title, java.lang.String description, java.lang.String summary, java.lang.String url, int height, int width, java.lang.Integer priority, boolean sync)
           
 com.liferay.portlet.tags.model.TagsAsset updateVisible(java.lang.String className, long classPK, boolean visible)
           
 void validate(java.lang.String className, java.lang.String[] entryNames)
           
 
Methods inherited from class com.liferay.portlet.tags.service.base.TagsAssetLocalServiceBaseImpl
addTagsAsset, createTagsAsset, deleteTagsAsset, deleteTagsAsset, dynamicQuery, dynamicQuery, getBlogsEntryFinder, getBlogsEntryLocalService, getBlogsEntryPersistence, getBlogsEntryService, getBookmarksEntryFinder, getBookmarksEntryLocalService, getBookmarksEntryPersistence, getBookmarksEntryService, getCompanyLocalService, getCompanyPersistence, getCompanyService, getCounterLocalService, getCounterService, getDLFileEntryFinder, getDLFileEntryLocalService, getDLFileEntryPersistence, getDLFileEntryService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getJournalArticleFinder, getJournalArticleLocalService, getJournalArticlePersistence, getJournalArticleResourceLocalService, getJournalArticleResourcePersistence, getJournalArticleService, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getTagsAsset, getTagsAssetFinder, getTagsAssetLocalService, getTagsAssetPersistence, getTagsAssets, getTagsAssetsCount, getTagsAssetService, getTagsEntryFinder, getTagsEntryLocalService, getTagsEntryPersistence, getTagsEntryService, getTagsPropertyFinder, getTagsPropertyKeyFinder, getTagsPropertyLocalService, getTagsPropertyPersistence, getTagsPropertyService, getTagsSourceLocalService, getTagsSourcePersistence, getTagsSourceService, getTagsVocabularyLocalService, getTagsVocabularyPersistence, getTagsVocabularyService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWikiPageFinder, getWikiPageLocalService, getWikiPagePersistence, getWikiPageResourceLocalService, getWikiPageResourcePersistence, getWikiPageService, setBlogsEntryFinder, setBlogsEntryLocalService, setBlogsEntryPersistence, setBlogsEntryService, setBookmarksEntryFinder, setBookmarksEntryLocalService, setBookmarksEntryPersistence, setBookmarksEntryService, setCompanyLocalService, setCompanyPersistence, setCompanyService, setCounterLocalService, setCounterService, setDLFileEntryFinder, setDLFileEntryLocalService, setDLFileEntryPersistence, setDLFileEntryService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setJournalArticleFinder, setJournalArticleLocalService, setJournalArticlePersistence, setJournalArticleResourceLocalService, setJournalArticleResourcePersistence, setJournalArticleService, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setTagsAssetFinder, setTagsAssetLocalService, setTagsAssetPersistence, setTagsAssetService, setTagsEntryFinder, setTagsEntryLocalService, setTagsEntryPersistence, setTagsEntryService, setTagsPropertyFinder, setTagsPropertyKeyFinder, setTagsPropertyLocalService, setTagsPropertyPersistence, setTagsPropertyService, setTagsSourceLocalService, setTagsSourcePersistence, setTagsSourceService, setTagsVocabularyLocalService, setTagsVocabularyPersistence, setTagsVocabularyService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWikiPageFinder, setWikiPageLocalService, setWikiPagePersistence, setWikiPageResourceLocalService, setWikiPageResourcePersistence, setWikiPageService, updateTagsAsset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagsAssetLocalServiceImpl

public TagsAssetLocalServiceImpl()
Method Detail

deleteAsset

public void deleteAsset(long assetId)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteAsset

public void deleteAsset(java.lang.String className,
                        long classPK)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteAsset

public void deleteAsset(com.liferay.portlet.tags.model.TagsAsset asset)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getAsset

public com.liferay.portlet.tags.model.TagsAsset getAsset(long assetId)
                                                  throws com.liferay.portal.PortalException,
                                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getAsset

public com.liferay.portlet.tags.model.TagsAsset getAsset(java.lang.String className,
                                                         long classPK)
                                                  throws com.liferay.portal.PortalException,
                                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getAssetTypes

public com.liferay.portlet.tags.model.TagsAssetType[] getAssetTypes(java.lang.String languageId)

getAssets

public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(long[] entryIds,
                                                                          long[] notEntryIds,
                                                                          boolean andOperator,
                                                                          boolean excludeZeroViewCount,
                                                                          int start,
                                                                          int end)
                                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getAssets

public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(long groupId,
                                                                          long[] classNameIds,
                                                                          long[] entryIds,
                                                                          long[] notEntryIds,
                                                                          boolean andOperator,
                                                                          boolean excludeZeroViewCount,
                                                                          int start,
                                                                          int end)
                                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getAssets

public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(long[] entryIds,
                                                                          long[] notEntryIds,
                                                                          boolean andOperator,
                                                                          boolean excludeZeroViewCount,
                                                                          java.util.Date publishDate,
                                                                          java.util.Date expirationDate,
                                                                          int start,
                                                                          int end)
                                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getAssets

public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(long groupId,
                                                                          long[] classNameIds,
                                                                          long[] entryIds,
                                                                          long[] notEntryIds,
                                                                          boolean andOperator,
                                                                          boolean excludeZeroViewCount,
                                                                          java.util.Date publishDate,
                                                                          java.util.Date expirationDate,
                                                                          int start,
                                                                          int end)
                                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getAssets

public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(long[] entryIds,
                                                                          long[] notEntryIds,
                                                                          boolean andOperator,
                                                                          java.lang.String orderByCol1,
                                                                          java.lang.String orderByCol2,
                                                                          java.lang.String orderByType1,
                                                                          java.lang.String orderByType2,
                                                                          boolean excludeZeroViewCount,
                                                                          java.util.Date publishDate,
                                                                          java.util.Date expirationDate,
                                                                          int start,
                                                                          int end)
                                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getAssets

public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(long groupId,
                                                                          long[] classNameIds,
                                                                          long[] entryIds,
                                                                          long[] notEntryIds,
                                                                          boolean andOperator,
                                                                          java.lang.String orderByCol1,
                                                                          java.lang.String orderByCol2,
                                                                          java.lang.String orderByType1,
                                                                          java.lang.String orderByType2,
                                                                          boolean excludeZeroViewCount,
                                                                          java.util.Date publishDate,
                                                                          java.util.Date expirationDate,
                                                                          int start,
                                                                          int end)
                                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getAssetsCount

public int getAssetsCount(long[] entryIds,
                          long[] notEntryIds,
                          boolean andOperator,
                          boolean excludeZeroViewCount)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getAssetsCount

public int getAssetsCount(long groupId,
                          long[] entryIds,
                          long[] notEntryIds,
                          boolean andOperator,
                          boolean excludeZeroViewCount)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getAssetsCount

public int getAssetsCount(long[] entryIds,
                          long[] notEntryIds,
                          boolean andOperator,
                          boolean excludeZeroViewCount,
                          java.util.Date publishDate,
                          java.util.Date expirationDate)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getAssetsCount

public int getAssetsCount(long groupId,
                          long[] classNameIds,
                          long[] entryIds,
                          long[] notEntryIds,
                          boolean andOperator,
                          boolean excludeZeroViewCount,
                          java.util.Date publishDate,
                          java.util.Date expirationDate)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getCompanyAssetDisplays

public com.liferay.portlet.tags.model.TagsAssetDisplay[] getCompanyAssetDisplays(long companyId,
                                                                                 int start,
                                                                                 int end,
                                                                                 java.lang.String languageId)
                                                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getCompanyAssets

public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getCompanyAssets(long companyId,
                                                                                 int start,
                                                                                 int end)
                                                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getCompanyAssetsCount

public int getCompanyAssetsCount(long companyId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getTopViewedAssets

public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTopViewedAssets(java.lang.String className,
                                                                                   boolean asc,
                                                                                   int start,
                                                                                   int end)
                                                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getTopViewedAssets

public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTopViewedAssets(java.lang.String[] className,
                                                                                   boolean asc,
                                                                                   int start,
                                                                                   int end)
                                                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

incrementViewCounter

public com.liferay.portlet.tags.model.TagsAsset incrementViewCounter(java.lang.String className,
                                                                     long classPK)
                                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

search

public com.liferay.portal.kernel.search.Hits search(long companyId,
                                                    java.lang.String portletId,
                                                    java.lang.String keywords,
                                                    int start,
                                                    int end)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

searchAssetDisplays

public com.liferay.portlet.tags.model.TagsAssetDisplay[] searchAssetDisplays(long companyId,
                                                                             java.lang.String portletId,
                                                                             java.lang.String keywords,
                                                                             java.lang.String languageId,
                                                                             int start,
                                                                             int end)
                                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

searchAssetDisplaysCount

public int searchAssetDisplaysCount(long companyId,
                                    java.lang.String portletId,
                                    java.lang.String keywords,
                                    java.lang.String languageId)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateAsset

public com.liferay.portlet.tags.model.TagsAsset updateAsset(long userId,
                                                            long groupId,
                                                            java.lang.String className,
                                                            long classPK,
                                                            java.lang.String[] categoryNames,
                                                            java.lang.String[] entryNames)
                                                     throws com.liferay.portal.PortalException,
                                                            com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateAsset

public com.liferay.portlet.tags.model.TagsAsset updateAsset(long userId,
                                                            long groupId,
                                                            java.lang.String className,
                                                            long classPK,
                                                            java.lang.String[] categoryNames,
                                                            java.lang.String[] entryNames,
                                                            boolean visible,
                                                            java.util.Date startDate,
                                                            java.util.Date endDate,
                                                            java.util.Date publishDate,
                                                            java.util.Date expirationDate,
                                                            java.lang.String mimeType,
                                                            java.lang.String title,
                                                            java.lang.String description,
                                                            java.lang.String summary,
                                                            java.lang.String url,
                                                            int height,
                                                            int width,
                                                            java.lang.Integer priority)
                                                     throws com.liferay.portal.PortalException,
                                                            com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateAsset

public com.liferay.portlet.tags.model.TagsAsset updateAsset(long userId,
                                                            long groupId,
                                                            java.lang.String className,
                                                            long classPK,
                                                            java.lang.String[] categoryNames,
                                                            java.lang.String[] entryNames,
                                                            boolean visible,
                                                            java.util.Date startDate,
                                                            java.util.Date endDate,
                                                            java.util.Date publishDate,
                                                            java.util.Date expirationDate,
                                                            java.lang.String mimeType,
                                                            java.lang.String title,
                                                            java.lang.String description,
                                                            java.lang.String summary,
                                                            java.lang.String url,
                                                            int height,
                                                            int width,
                                                            java.lang.Integer priority,
                                                            boolean sync)
                                                     throws com.liferay.portal.PortalException,
                                                            com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateVisible

public com.liferay.portlet.tags.model.TagsAsset updateVisible(java.lang.String className,
                                                              long classPK,
                                                              boolean visible)
                                                       throws com.liferay.portal.PortalException,
                                                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

validate

public void validate(java.lang.String className,
                     java.lang.String[] entryNames)
              throws com.liferay.portal.PortalException
Throws:
com.liferay.portal.PortalException

getAsset

protected com.liferay.portlet.tags.model.TagsAsset getAsset(com.liferay.portal.kernel.search.Document doc)
                                                     throws com.liferay.portal.PortalException,
                                                            com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getAssetDisplays

protected com.liferay.portlet.tags.model.TagsAssetDisplay[] getAssetDisplays(java.util.List<com.liferay.portlet.tags.model.TagsAsset> assets,
                                                                             java.lang.String languageId)
                                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getAssetType

protected com.liferay.portlet.tags.model.TagsAssetType getAssetType(java.lang.String className,
                                                                    java.lang.String languageId)