Liferay 6.1.10-ee-ga1

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.

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 it is generated.

Constructor Summary
AssetEntryServiceUtil()
           
 
Method Summary
static List<AssetEntry> getCompanyEntries(long companyId, int start, int end)
           
static int getCompanyEntriesCount(long companyId)
           
static AssetEntryDisplay[] getCompanyEntryDisplays(long companyId, int start, int end, String languageId)
           
static List<AssetEntry> getEntries(AssetEntryQuery entryQuery)
           
static int getEntriesCount(AssetEntryQuery entryQuery)
           
static AssetEntry getEntry(long entryId)
           
static AssetEntryService getService()
           
static AssetEntry incrementViewCounter(String className, long classPK)
           
static AssetEntryDisplay[] searchEntryDisplays(long companyId, long[] groupIds, String className, String keywords, String languageId, int start, int end)
           
static int searchEntryDisplaysCount(long companyId, long[] groupIds, String className, String keywords, String languageId)
           
 void setService(AssetEntryService service)
           
static AssetEntry updateEntry(long groupId, String className, long classPK, String classUuid, long classTypeId, long[] categoryIds, String[] tagNames, boolean visible, Date startDate, Date endDate, Date publishDate, Date expirationDate, String mimeType, String title, String description, String summary, String url, String layoutUuid, 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

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

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

getEntry

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

incrementViewCounter

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

searchEntryDisplays

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

searchEntryDisplaysCount

public static int searchEntryDisplaysCount(long companyId,
                                           long[] groupIds,
                                           String className,
                                           String keywords,
                                           String languageId)
                                    throws SystemException
Throws:
SystemException

updateEntry

public static AssetEntry updateEntry(long groupId,
                                     String className,
                                     long classPK,
                                     String classUuid,
                                     long classTypeId,
                                     long[] categoryIds,
                                     String[] tagNames,
                                     boolean visible,
                                     Date startDate,
                                     Date endDate,
                                     Date publishDate,
                                     Date expirationDate,
                                     String mimeType,
                                     String title,
                                     String description,
                                     String summary,
                                     String url,
                                     String layoutUuid,
                                     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.1.10-ee-ga1