Liferay 6.0.5

com.liferay.portlet.asset.service
Interface AssetEntryService

All Known Implementing Classes:
AssetEntryServiceBaseImpl, AssetEntryServiceImpl, AssetEntryServiceWrapper

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

The interface for the asset entry remote service.

Never modify or reference this interface directly. Always use AssetEntryServiceUtil to access the asset entry remote service. Add custom service methods to AssetEntryServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.

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

Method Summary
 void deleteEntry(long entryId)
           
 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)
           
 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)
           
 AssetEntry getEntry(long entryId)
           
 void incrementViewCounter(String className, long classPK)
           
 AssetEntryDisplay[] searchEntryDisplays(long companyId, String portletId, String keywords, String languageId, int start, int end)
           
 int searchEntryDisplaysCount(long companyId, String portletId, String keywords, String languageId)
           
 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

deleteEntry

void deleteEntry(long entryId)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

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
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
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,
                                                                                 String portletId,
                                                                                 String keywords,
                                                                                 String languageId,
                                                                                 int start,
                                                                                 int end)
                                        throws SystemException
Throws:
SystemException

searchEntryDisplaysCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int searchEntryDisplaysCount(long companyId,
                                                                      String portletId,
                                                                      String keywords,
                                                                      String languageId)
                             throws SystemException
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.5