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.

Author:
Brian Wing Shun Chan
See Also:
TagsAssetService

Constructor Summary
TagsAssetServiceUtil()
           
 
Method Summary
static void deleteAsset(long assetId)
           
static TagsAsset getAsset(long assetId)
           
static 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 start, int end)
           
static int getAssetsCount(long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds, boolean andOperator, boolean excludeZeroViewCount, java.util.Date publishDate, java.util.Date expirationDate)
           
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 start, int end, java.lang.String languageId)
           
static java.util.List<TagsAsset> getCompanyAssets(long companyId, int start, 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 TagsAssetService getService()
           
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 start, int end)
           
static int searchAssetDisplaysCount(long companyId, java.lang.String portletId, java.lang.String keywords, java.lang.String languageId)
           
 void setService(TagsAssetService service)
           
static TagsAsset updateAsset(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)
           
 
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
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getAsset

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

getAssets

public static 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 start,
                                                  int end)
                                           throws com.liferay.portal.PortalException,
                                                  com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getAssetsCount

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

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
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getAssetTypes

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

getCompanyAssetDisplays

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

getCompanyAssets

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

getCompanyAssetsCount

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

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
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

incrementViewCounter

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

searchAssetDisplays

public static 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 static 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 static TagsAsset updateAsset(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

getService

public static TagsAssetService getService()

setService

public void setService(TagsAssetService service)