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

java.lang.Object
  extended bycom.liferay.portlet.tags.service.base.TagsAssetLocalServiceBaseImpl
      extended bycom.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

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 assets, java.lang.String languageId)
           
 java.util.List getAssets(long[] entryIds, long[] notEntryIds, boolean andOperator, java.util.Date publishDate, java.util.Date expirationDate, int begin, int end)
           
 java.util.List getAssets(long[] entryIds, long[] notEntryIds, boolean andOperator, int begin, int end)
           
 int getAssetsCount(long[] entryIds, long[] notEntryIds, boolean andOperator)
           
 int getAssetsCount(long[] entryIds, long[] notEntryIds, boolean andOperator, 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 begin, int end, java.lang.String languageId)
           
 java.util.List getCompanyAssets(long companyId, int begin, int end)
           
 int getCompanyAssetsCount(long companyId)
           
 com.liferay.portal.kernel.search.Hits search(long companyId, java.lang.String portletId, java.lang.String keywords)
           
 com.liferay.portlet.tags.model.TagsAssetDisplay[] searchAssetDisplays(long companyId, java.lang.String portletId, java.lang.String keywords, java.lang.String languageId, int begin, 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, java.lang.String className, long classPK, java.lang.String[] entryNames)
           
 com.liferay.portlet.tags.model.TagsAsset updateAsset(long userId, java.lang.String className, long classPK, java.lang.String[] entryNames, 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)
           
 void validate(java.lang.String className, java.lang.String[] entryNames)
           
 
Methods inherited from class com.liferay.portlet.tags.service.base.TagsAssetLocalServiceBaseImpl
addTagsAsset, dynamicQuery, dynamicQuery, 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.PortalException,
                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteAsset

public void deleteAsset(com.liferay.portlet.tags.model.TagsAsset asset)
                 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(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 getAssets(long[] entryIds,
                                long[] notEntryIds,
                                boolean andOperator,
                                int begin,
                                int end)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getAssets

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

getAssetsCount

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

getAssetsCount

public int getAssetsCount(long[] entryIds,
                          long[] notEntryIds,
                          boolean andOperator,
                          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 begin,
                                                                                 int end,
                                                                                 java.lang.String languageId)
                                                                          throws com.liferay.portal.PortalException,
                                                                                 com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getCompanyAssets

public java.util.List getCompanyAssets(long companyId,
                                       int begin,
                                       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

search

public com.liferay.portal.kernel.search.Hits search(long companyId,
                                                    java.lang.String portletId,
                                                    java.lang.String keywords)
                                             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 begin,
                                                                             int end)
                                                                      throws com.liferay.portal.PortalException,
                                                                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
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,
                                                            java.lang.String className,
                                                            long classPK,
                                                            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,
                                                            java.lang.String className,
                                                            long classPK,
                                                            java.lang.String[] entryNames,
                                                            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)
                                                     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 assets,
                                                                             java.lang.String languageId)
                                                                      throws com.liferay.portal.PortalException,
                                                                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getAssetType

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