com.liferay.portlet.asset.service
Class AssetEntryServiceUtil

java.lang.Object
  extended by com.liferay.portlet.asset.service.AssetEntryServiceUtil

public class AssetEntryServiceUtil
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 AssetEntryService 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:
AssetEntryService
Generated:

Constructor Summary
AssetEntryServiceUtil()
           
 
Method Summary
static void deleteEntry(long entryId)
           
static java.util.List<AssetEntry> getCompanyEntries(long companyId, int start, int end)
           
static int getCompanyEntriesCount(long companyId)
           
static java.lang.String getCompanyEntriesRSS(long companyId, int max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String tagURL)
           
static AssetEntryDisplay[] getCompanyEntryDisplays(long companyId, int start, int end, java.lang.String languageId)
           
static java.util.List<AssetEntry> getEntries(AssetEntryQuery entryQuery)
           
static int getEntriesCount(AssetEntryQuery entryQuery)
           
static java.lang.String getEntriesRSS(AssetEntryQuery entryQuery, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String tagURL)
           
static AssetEntry getEntry(long entryId)
           
static AssetEntryService getService()
           
static AssetEntry incrementViewCounter(java.lang.String className, long classPK)
           
static AssetEntryDisplay[] searchEntryDisplays(long companyId, java.lang.String portletId, java.lang.String keywords, java.lang.String languageId, int start, int end)
           
static int searchEntryDisplaysCount(long companyId, java.lang.String portletId, java.lang.String keywords, java.lang.String languageId)
           
 void setService(AssetEntryService service)
           
static AssetEntry updateEntry(long groupId, java.lang.String className, long classPK, long[] categoryIds, java.lang.String[] tagNames, 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, boolean sync)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetEntryServiceUtil

public AssetEntryServiceUtil()
Method Detail

deleteEntry

public static void deleteEntry(long entryId)
                        throws com.liferay.portal.kernel.exception.PortalException,
                               com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getCompanyEntries

public static java.util.List<AssetEntry> getCompanyEntries(long companyId,
                                                           int start,
                                                           int end)
                                                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getCompanyEntriesCount

public static int getCompanyEntriesCount(long companyId)
                                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getCompanyEntriesRSS

public static java.lang.String getCompanyEntriesRSS(long companyId,
                                                    int max,
                                                    java.lang.String type,
                                                    double version,
                                                    java.lang.String displayStyle,
                                                    java.lang.String feedURL,
                                                    java.lang.String tagURL)
                                             throws com.liferay.portal.kernel.exception.PortalException,
                                                    com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getCompanyEntryDisplays

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

getEntries

public static java.util.List<AssetEntry> getEntries(AssetEntryQuery entryQuery)
                                             throws com.liferay.portal.kernel.exception.PortalException,
                                                    com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getEntriesCount

public static int getEntriesCount(AssetEntryQuery entryQuery)
                           throws com.liferay.portal.kernel.exception.PortalException,
                                  com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getEntriesRSS

public static java.lang.String getEntriesRSS(AssetEntryQuery entryQuery,
                                             java.lang.String type,
                                             double version,
                                             java.lang.String displayStyle,
                                             java.lang.String feedURL,
                                             java.lang.String tagURL)
                                      throws com.liferay.portal.kernel.exception.PortalException,
                                             com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getEntry

public static AssetEntry getEntry(long entryId)
                           throws com.liferay.portal.kernel.exception.PortalException,
                                  com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

incrementViewCounter

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

searchEntryDisplays

public static AssetEntryDisplay[] searchEntryDisplays(long companyId,
                                                      java.lang.String portletId,
                                                      java.lang.String keywords,
                                                      java.lang.String languageId,
                                                      int start,
                                                      int end)
                                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

searchEntryDisplaysCount

public static int searchEntryDisplaysCount(long companyId,
                                           java.lang.String portletId,
                                           java.lang.String keywords,
                                           java.lang.String languageId)
                                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

updateEntry

public static AssetEntry updateEntry(long groupId,
                                     java.lang.String className,
                                     long classPK,
                                     long[] categoryIds,
                                     java.lang.String[] tagNames,
                                     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,
                                     boolean sync)
                              throws com.liferay.portal.kernel.exception.PortalException,
                                     com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getService

public static AssetEntryService getService()

setService

public void setService(AssetEntryService service)