com.liferay.portlet.tags.service
Class TagsAssetServiceUtil

java.lang.Object
  extended by com.liferay.portlet.tags.service.TagsAssetServiceUtil

public class TagsAssetServiceUtil
extends java.lang.Object

View Source

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

This class provides static methods for the com.liferay.portlet.tags.service.TagsAssetService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

com.liferay.portlet.tags.service.TagsAssetServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
TagsAssetService, TagsAssetServiceFactory

Constructor Summary
TagsAssetServiceUtil()
           
 
Method Summary
static void deleteAsset(long assetId)
           
static TagsAsset getAsset(long assetId)
           
static java.lang.String getAssetsRSS(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 max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL)
           
static TagsAssetType[] getAssetTypes(java.lang.String languageId)
           
static TagsAssetDisplay[] getCompanyAssetDisplays(long companyId, int begin, int end, java.lang.String languageId)
           
static java.util.List<TagsAsset> getCompanyAssets(long companyId, int begin, int end)
           
static int getCompanyAssetsCount(long companyId)
           
static java.lang.String getCompanyAssetsRSS(long companyId, int max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL)
           
static TagsAsset incrementViewCounter(java.lang.String className, long classPK)
           
static TagsAssetDisplay[] searchAssetDisplays(long companyId, java.lang.String portletId, java.lang.String keywords, java.lang.String languageId, int begin, int end)
           
static int searchAssetDisplaysCount(long companyId, java.lang.String portletId, java.lang.String keywords, java.lang.String languageId)
           
static TagsAsset updateAsset(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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagsAssetServiceUtil

public TagsAssetServiceUtil()
Method Detail

deleteAsset

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

getAsset

public static TagsAsset getAsset(long assetId)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException,
                                 java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

getAssetsRSS

public static java.lang.String getAssetsRSS(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 max,
                                            java.lang.String type,
                                            double version,
                                            java.lang.String displayStyle,
                                            java.lang.String feedURL,
                                            java.lang.String entryURL)
                                     throws com.liferay.portal.PortalException,
                                            com.liferay.portal.SystemException,
                                            java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

getAssetTypes

public static TagsAssetType[] getAssetTypes(java.lang.String languageId)
                                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getCompanyAssetDisplays

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

getCompanyAssets

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

getCompanyAssetsCount

public static int getCompanyAssetsCount(long companyId)
                                 throws com.liferay.portal.SystemException,
                                        java.rmi.RemoteException
Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException

getCompanyAssetsRSS

public static java.lang.String getCompanyAssetsRSS(long companyId,
                                                   int max,
                                                   java.lang.String type,
                                                   double version,
                                                   java.lang.String displayStyle,
                                                   java.lang.String feedURL,
                                                   java.lang.String entryURL)
                                            throws com.liferay.portal.PortalException,
                                                   com.liferay.portal.SystemException,
                                                   java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

incrementViewCounter

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

searchAssetDisplays

public static 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,
                                                     java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

searchAssetDisplaysCount

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

updateAsset

public static TagsAsset updateAsset(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.PortalException,
                                    com.liferay.portal.SystemException,
                                    java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException