Liferay 6.1.10-ee-ga1

com.liferay.portlet.asset.service
Interface AssetEntryService

All Known Implementing Classes:
AssetEntryServiceBaseImpl, AssetEntryServiceImpl, AssetEntryServiceWrapper

@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface AssetEntryService

The interface for the asset entry remote service.

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:
AssetEntryServiceUtil, AssetEntryServiceBaseImpl, AssetEntryServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 List<AssetEntry> getCompanyEntries(long companyId, int start, int end)
           
 int getCompanyEntriesCount(long companyId)
           
 AssetEntryDisplay[] getCompanyEntryDisplays(long companyId, int start, int end, String languageId)
           
 List<AssetEntry> getEntries(AssetEntryQuery entryQuery)
           
 int getEntriesCount(AssetEntryQuery entryQuery)
           
 AssetEntry getEntry(long entryId)
           
 AssetEntry incrementViewCounter(String className, long classPK)
           
 AssetEntryDisplay[] searchEntryDisplays(long companyId, long[] groupIds, String className, String keywords, String languageId, int start, int end)
           
 int searchEntryDisplaysCount(long companyId, long[] groupIds, String className, String keywords, String languageId)
           
 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)
           
 

Method Detail

getCompanyEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetEntry> getCompanyEntries(long companyId,
                                                                            int start,
                                                                            int end)
                                   throws SystemException
Throws:
SystemException

getCompanyEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getCompanyEntriesCount(long companyId)
                           throws SystemException
Throws:
SystemException

getCompanyEntryDisplays

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetEntryDisplay[] getCompanyEntryDisplays(long companyId,
                                                                                     int start,
                                                                                     int end,
                                                                                     String languageId)
                                            throws SystemException
Throws:
SystemException

getEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetEntry> getEntries(AssetEntryQuery entryQuery)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getEntriesCount(AssetEntryQuery entryQuery)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

getEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetEntry getEntry(long entryId)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

incrementViewCounter

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

searchEntryDisplays

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetEntryDisplay[] searchEntryDisplays(long companyId,
                                                                                 long[] groupIds,
                                                                                 String className,
                                                                                 String keywords,
                                                                                 String languageId,
                                                                                 int start,
                                                                                 int end)
                                        throws SystemException
Throws:
SystemException

searchEntryDisplaysCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int searchEntryDisplaysCount(long companyId,
                                                                      long[] groupIds,
                                                                      String className,
                                                                      String keywords,
                                                                      String languageId)
                             throws SystemException
Throws:
SystemException

updateEntry

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

Liferay 6.1.10-ee-ga1