Liferay 6.0-ee-sp2

com.liferay.portlet.asset.service
Interface AssetEntryService

All Known Implementing Classes:
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, com.liferay.portlet.asset.service.base.AssetEntryServiceBaseImpl, com.liferay.portlet.asset.service.impl.AssetEntryServiceImpl

Method Summary
 List<AssetEntry> getCompanyEntries(long companyId, int start, int end)
           
 int getCompanyEntriesCount(long companyId)
           
 String getCompanyEntriesRSS(long companyId, int max, String type, double version, String displayStyle, String feedURL, String tagURL)
          Deprecated.  
 AssetEntryDisplay[] getCompanyEntryDisplays(long companyId, int start, int end, String languageId)
           
 List<AssetEntry> getEntries(AssetEntryQuery entryQuery)
           
 int getEntriesCount(AssetEntryQuery entryQuery)
           
 String getEntriesRSS(AssetEntryQuery entryQuery, String name, String type, double version, String displayStyle, String feedURL, String tagURL)
          Deprecated.  
 AssetEntry getEntry(long entryId)
           
 void incrementViewCounter(String className, long classPK)
           
 AssetEntryDisplay[] searchEntryDisplays(long companyId, long[] groupIds, String className, String keywords, String languageId, int start, int end)
           
 AssetEntryDisplay[] searchEntryDisplays(long companyId, String portletId, String keywords, String languageId, int start, int end)
          Deprecated. #searchEntryDisplays(long, long[], String, String, String)
 int searchEntryDisplaysCount(long companyId, long[] groupIds, String className, String keywords, String languageId)
           
 int searchEntryDisplaysCount(long companyId, String portletId, String keywords, String languageId)
          Deprecated. searchEntryDisplaysCount(long, long[], String, String, String)
 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)
           
 

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

getCompanyEntriesRSS

@Transactional(propagation=SUPPORTS,
               readOnly=true)
String getCompanyEntriesRSS(long companyId,
                                                                     int max,
                                                                     String type,
                                                                     double version,
                                                                     String displayStyle,
                                                                     String feedURL,
                                                                     String tagURL)
                            throws PortalException,
                                   SystemException
Deprecated. 

Throws:
PortalException
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

getEntriesRSS

@Transactional(propagation=SUPPORTS,
               readOnly=true)
String getEntriesRSS(AssetEntryQuery entryQuery,
                                                              String name,
                                                              String type,
                                                              double version,
                                                              String displayStyle,
                                                              String feedURL,
                                                              String tagURL)
                     throws PortalException,
                            SystemException
Deprecated. 

Throws:
PortalException
SystemException

getEntry

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

incrementViewCounter

void 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

searchEntryDisplays

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetEntryDisplay[] searchEntryDisplays(long companyId,
                                                                                 String portletId,
                                                                                 String keywords,
                                                                                 String languageId,
                                                                                 int start,
                                                                                 int end)
                                        throws SystemException
Deprecated. #searchEntryDisplays(long, long[], String, String, String)

Throws:
SystemException

searchEntryDisplaysCount

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

searchEntryDisplaysCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int searchEntryDisplaysCount(long companyId,
                                                                      String portletId,
                                                                      String keywords,
                                                                      String languageId)
                             throws SystemException
Deprecated. searchEntryDisplaysCount(long, long[], String, String, String)

Throws:
SystemException

updateEntry

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

Liferay 6.0-ee-sp2