com.liferay.portlet.tags.service
Class TagsAssetLocalServiceUtil

java.lang.Object
  extended bycom.liferay.portlet.tags.service.TagsAssetLocalServiceUtil

public class TagsAssetLocalServiceUtil
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.TagsAssetLocalService 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.TagsAssetLocalServiceFactory is responsible for the lookup of the bean.

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

Constructor Summary
TagsAssetLocalServiceUtil()
           
 
Method Summary
static TagsAsset addTagsAsset(TagsAsset model)
           
static void deleteAsset(long assetId)
           
static void deleteAsset(java.lang.String className, long classPK)
           
static void deleteAsset(TagsAsset asset)
           
static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static TagsAsset getAsset(long assetId)
           
static TagsAsset getAsset(java.lang.String className, long classPK)
           
static java.util.List getAssets(long[] entryIds, long[] notEntryIds, boolean andOperator, java.util.Date publishDate, java.util.Date expirationDate, int begin, int end)
           
static java.util.List getAssets(long[] entryIds, long[] notEntryIds, boolean andOperator, int begin, int end)
           
static int getAssetsCount(long[] entryIds, long[] notEntryIds, boolean andOperator)
           
static int getAssetsCount(long[] entryIds, long[] notEntryIds, boolean andOperator, java.util.Date publishDate, java.util.Date expirationDate)
           
static TagsAssetType[] getAssetTypes(java.lang.String languageId)
           
static TagsAssetDisplay[] getCompanyAssetDisplays(long companyId, int begin, int end, java.lang.String languageId)
           
static java.util.List getCompanyAssets(long companyId, int begin, int end)
           
static int getCompanyAssetsCount(long companyId)
           
static com.liferay.portal.kernel.search.Hits search(long companyId, java.lang.String portletId, java.lang.String keywords)
           
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 userId, java.lang.String className, long classPK, java.lang.String[] entryNames)
           
static 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)
           
static TagsAsset updateTagsAsset(TagsAsset model)
           
static void validate(java.lang.String className, java.lang.String[] entryNames)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagsAssetLocalServiceUtil

public TagsAssetLocalServiceUtil()
Method Detail

addTagsAsset

public static TagsAsset addTagsAsset(TagsAsset model)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

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

updateTagsAsset

public static TagsAsset updateTagsAsset(TagsAsset model)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

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

deleteAsset

public static 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 static void deleteAsset(TagsAsset asset)
                        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

getAsset

public static 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 static TagsAssetType[] getAssetTypes(java.lang.String languageId)

getAssets

public static 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 static 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 static int getAssetsCount(long[] entryIds,
                                 long[] notEntryIds,
                                 boolean andOperator)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getAssetsCount

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

search

public static 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 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
Throws:
com.liferay.portal.PortalException
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 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 static 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 static void validate(java.lang.String className,
                            java.lang.String[] entryNames)
                     throws com.liferay.portal.PortalException
Throws:
com.liferay.portal.PortalException