com.liferay.portlet.tags.service
Interface TagsAssetLocalService


public interface TagsAssetLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portlet.tags.service.impl.TagsAssetLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
TagsAssetLocalServiceFactory, TagsAssetLocalServiceUtil

Method Summary
 TagsAsset addTagsAsset(TagsAsset tagsAsset)
           
 void deleteAsset(long assetId)
           
 void deleteAsset(java.lang.String className, long classPK)
           
 void deleteAsset(TagsAsset asset)
           
 void deleteTagsAsset(long assetId)
           
 void deleteTagsAsset(TagsAsset tagsAsset)
           
 java.util.List<TagsAsset> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List<TagsAsset> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 TagsAsset getAsset(long assetId)
           
 TagsAsset getAsset(java.lang.String className, long classPK)
           
 java.util.List<TagsAsset> getAssets(long[] entryIds, long[] notEntryIds, boolean andOperator, boolean excludeZeroViewCount, java.util.Date publishDate, java.util.Date expirationDate, int begin, int end)
           
 java.util.List<TagsAsset> getAssets(long[] entryIds, long[] notEntryIds, boolean andOperator, boolean excludeZeroViewCount, int begin, int end)
           
 java.util.List<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 begin, int end)
           
 java.util.List<TagsAsset> getAssets(long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds, boolean andOperator, boolean excludeZeroViewCount, java.util.Date publishDate, java.util.Date expirationDate, int begin, int end)
           
 java.util.List<TagsAsset> getAssets(long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds, boolean andOperator, boolean excludeZeroViewCount, int begin, int end)
           
 java.util.List<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 begin, 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)
           
 TagsAssetType[] getAssetTypes(java.lang.String languageId)
           
 TagsAssetDisplay[] getCompanyAssetDisplays(long companyId, int begin, int end, java.lang.String languageId)
           
 java.util.List<TagsAsset> getCompanyAssets(long companyId, int begin, int end)
           
 int getCompanyAssetsCount(long companyId)
           
 java.util.List<TagsAsset> getTopViewedAssets(java.lang.String[] className, boolean asc, int begin, int end)
           
 java.util.List<TagsAsset> getTopViewedAssets(java.lang.String className, boolean asc, int begin, int end)
           
 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)
           
 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)
           
 TagsAsset updateAsset(long userId, long groupId, java.lang.String className, long classPK, java.lang.String[] entryNames)
           
 TagsAsset updateAsset(long userId, long groupId, 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, java.lang.Integer priority)
           
 TagsAsset updateAsset(long userId, long groupId, 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, java.lang.Integer priority, boolean sync)
           
 TagsAsset updateTagsAsset(TagsAsset tagsAsset)
           
 void validate(java.lang.String className, java.lang.String[] entryNames)
           
 

Method Detail

addTagsAsset

TagsAsset addTagsAsset(TagsAsset tagsAsset)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteTagsAsset

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

deleteTagsAsset

void deleteTagsAsset(TagsAsset tagsAsset)
                     throws com.liferay.portal.SystemException,
                            com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

dynamicQuery

java.util.List<TagsAsset> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<TagsAsset> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                       int begin,
                                       int end)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateTagsAsset

TagsAsset updateTagsAsset(TagsAsset tagsAsset)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteAsset

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

deleteAsset

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

deleteAsset

void deleteAsset(TagsAsset asset)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getAsset

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

getAsset

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

getAssetTypes

TagsAssetType[] getAssetTypes(java.lang.String languageId)

getAssets

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

getAssets

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

getAssets

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

getAssets

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

getAssets

java.util.List<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 begin,
                                    int end)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getAssets

java.util.List<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 begin,
                                    int end)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getAssetsCount

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

getAssetsCount

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

getAssetsCount

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

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

TagsAssetDisplay[] getCompanyAssetDisplays(long companyId,
                                           int begin,
                                           int end,
                                           java.lang.String languageId)
                                           throws com.liferay.portal.SystemException,
                                                  com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getCompanyAssets

java.util.List<TagsAsset> getCompanyAssets(long companyId,
                                           int begin,
                                           int end)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getCompanyAssetsCount

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

getTopViewedAssets

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

getTopViewedAssets

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

incrementViewCounter

TagsAsset incrementViewCounter(java.lang.String className,
                               long classPK)
                               throws com.liferay.portal.SystemException,
                                      com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

search

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

TagsAssetDisplay[] searchAssetDisplays(long companyId,
                                       java.lang.String portletId,
                                       java.lang.String keywords,
                                       java.lang.String languageId,
                                       int begin,
                                       int end)
                                       throws com.liferay.portal.SystemException,
                                              com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

searchAssetDisplaysCount

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

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

updateAsset

TagsAsset updateAsset(long userId,
                      long groupId,
                      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,
                      java.lang.Integer priority)
                      throws com.liferay.portal.SystemException,
                             com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

updateAsset

TagsAsset updateAsset(long userId,
                      long groupId,
                      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,
                      java.lang.Integer priority,
                      boolean sync)
                      throws com.liferay.portal.SystemException,
                             com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

validate

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