Liferay 6.0.5

com.liferay.portlet.asset.service
Class AssetEntryServiceUtil

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

public class AssetEntryServiceUtil
extends Object

The utility for the asset entry remote service. This utility wraps AssetEntryServiceImpl and is the primary access point for service operations in application layer code running on a remote server.

Never modify this class directly. Add custom service methods to AssetEntryServiceImpl and rerun ServiceBuilder to regenerate this class.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
AssetEntryService, AssetEntryServiceBaseImpl, AssetEntryServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
AssetEntryServiceUtil()
           
 
Method Summary
static void deleteEntry(long entryId)
           
static List<AssetEntry> getCompanyEntries(long companyId, int start, int end)
           
static int getCompanyEntriesCount(long companyId)
           
static String getCompanyEntriesRSS(long companyId, int max, String type, double version, String displayStyle, String feedURL, String tagURL)
           
static AssetEntryDisplay[] getCompanyEntryDisplays(long companyId, int start, int end, String languageId)
           
static List<AssetEntry> getEntries(AssetEntryQuery entryQuery)
           
static int getEntriesCount(AssetEntryQuery entryQuery)
           
static String getEntriesRSS(AssetEntryQuery entryQuery, String name, String type, double version, String displayStyle, String feedURL, String tagURL)
           
static AssetEntry getEntry(long entryId)
           
static AssetEntryService getService()
           
static void incrementViewCounter(String className, long classPK)
           
static AssetEntryDisplay[] searchEntryDisplays(long companyId, String portletId, String keywords, String languageId, int start, int end)
           
static int searchEntryDisplaysCount(long companyId, String portletId, String keywords, String languageId)
           
 void setService(AssetEntryService service)
           
static AssetEntry updateEntry(long groupId, String className, long classPK, String classUuid, long[] categoryIds, String[] tagNames, boolean visible, Date startDate, Date endDate, Date publishDate, Date expirationDate, String mimeType, String title, String description, String summary, String url, int height, int width, 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 PortalException,
                               SystemException
Throws:
PortalException
SystemException

getCompanyEntries

public static List<AssetEntry> getCompanyEntries(long companyId,
                                                 int start,
                                                 int end)
                                          throws SystemException
Throws:
SystemException

getCompanyEntriesCount

public static int getCompanyEntriesCount(long companyId)
                                  throws SystemException
Throws:
SystemException

getCompanyEntriesRSS

public static String getCompanyEntriesRSS(long companyId,
                                          int max,
                                          String type,
                                          double version,
                                          String displayStyle,
                                          String feedURL,
                                          String tagURL)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

getCompanyEntryDisplays

public static AssetEntryDisplay[] getCompanyEntryDisplays(long companyId,
                                                          int start,
                                                          int end,
                                                          String languageId)
                                                   throws SystemException
Throws:
SystemException

getEntries

public static List<AssetEntry> getEntries(AssetEntryQuery entryQuery)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

getEntriesCount

public static int getEntriesCount(AssetEntryQuery entryQuery)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

getEntriesRSS

public static String getEntriesRSS(AssetEntryQuery entryQuery,
                                   String name,
                                   String type,
                                   double version,
                                   String displayStyle,
                                   String feedURL,
                                   String tagURL)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getEntry

public static AssetEntry getEntry(long entryId)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

incrementViewCounter

public static void incrementViewCounter(String className,
                                        long classPK)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

searchEntryDisplays

public static AssetEntryDisplay[] searchEntryDisplays(long companyId,
                                                      String portletId,
                                                      String keywords,
                                                      String languageId,
                                                      int start,
                                                      int end)
                                               throws SystemException
Throws:
SystemException

searchEntryDisplaysCount

public static int searchEntryDisplaysCount(long companyId,
                                           String portletId,
                                           String keywords,
                                           String languageId)
                                    throws SystemException
Throws:
SystemException

updateEntry

public static AssetEntry updateEntry(long groupId,
                                     String className,
                                     long classPK,
                                     String classUuid,
                                     long[] categoryIds,
                                     String[] tagNames,
                                     boolean visible,
                                     Date startDate,
                                     Date endDate,
                                     Date publishDate,
                                     Date expirationDate,
                                     String mimeType,
                                     String title,
                                     String description,
                                     String summary,
                                     String url,
                                     int height,
                                     int width,
                                     Integer priority,
                                     boolean sync)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

getService

public static AssetEntryService getService()

setService

public void setService(AssetEntryService service)

Liferay 6.0.5