com.liferay.portlet.tags.service
Interface TagsAssetService


@Transactional(isolation=PORTAL,
               rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface TagsAssetService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portlet.tags.service.impl.TagsAssetServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

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.

Author:
Brian Wing Shun Chan
See Also:
TagsAssetServiceUtil

Method Summary
 void deleteAsset(long assetId)
           
 TagsAsset getAsset(long assetId)
           
 java.lang.String getAssetsRSS(long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds, boolean andOperator, java.lang.String orderByCol1, java.lang.String orderByCol2, java.lang.String orderByType1, java.lang.String orderByType2, boolean excludeZeroViewCount, java.util.Date publishDate, java.util.Date expirationDate, int max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL)
           
 TagsAssetType[] getAssetTypes(java.lang.String languageId)
           
 TagsAssetDisplay[] getCompanyAssetDisplays(long companyId, int start, int end, java.lang.String languageId)
           
 java.util.List<TagsAsset> getCompanyAssets(long companyId, int start, int end)
           
 int getCompanyAssetsCount(long companyId)
           
 java.lang.String getCompanyAssetsRSS(long companyId, int max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL)
           
 TagsAsset incrementViewCounter(java.lang.String className, long classPK)
           
 TagsAssetDisplay[] searchAssetDisplays(long companyId, java.lang.String portletId, java.lang.String keywords, java.lang.String languageId, int start, int end)
           
 int searchAssetDisplaysCount(long companyId, java.lang.String portletId, java.lang.String keywords, java.lang.String languageId)
           
 TagsAsset updateAsset(long groupId, java.lang.String className, long classPK, java.lang.String[] entryNames, java.util.Date startDate, java.util.Date endDate, java.util.Date publishDate, java.util.Date expirationDate, java.lang.String mimeType, java.lang.String title, java.lang.String description, java.lang.String summary, java.lang.String url, int height, int width, java.lang.Integer priority)
           
 

Method Detail

deleteAsset

void deleteAsset(long assetId)
                 throws java.rmi.RemoteException,
                        com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getAsset

@Transactional(propagation=SUPPORTS,
               readOnly=true)
TagsAsset getAsset(long assetId)
                   throws java.rmi.RemoteException,
                          com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getAssetsRSS

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.lang.String getAssetsRSS(long groupId,
                                            long[] classNameIds,
                                            long[] entryIds,
                                            long[] notEntryIds,
                                            boolean andOperator,
                                            java.lang.String orderByCol1,
                                            java.lang.String orderByCol2,
                                            java.lang.String orderByType1,
                                            java.lang.String orderByType2,
                                            boolean excludeZeroViewCount,
                                            java.util.Date publishDate,
                                            java.util.Date expirationDate,
                                            int max,
                                            java.lang.String type,
                                            double version,
                                            java.lang.String displayStyle,
                                            java.lang.String feedURL,
                                            java.lang.String entryURL)
                              throws java.rmi.RemoteException,
                                     com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getAssetTypes

@Transactional(propagation=SUPPORTS,
               readOnly=true)
TagsAssetType[] getAssetTypes(java.lang.String languageId)
                              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getCompanyAssetDisplays

@Transactional(propagation=SUPPORTS,
               readOnly=true)
TagsAssetDisplay[] getCompanyAssetDisplays(long companyId,
                                                         int start,
                                                         int end,
                                                         java.lang.String languageId)
                                           throws java.rmi.RemoteException,
                                                  com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

getCompanyAssets

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<TagsAsset> getCompanyAssets(long companyId,
                                                         int start,
                                                         int end)
                                           throws java.rmi.RemoteException,
                                                  com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

getCompanyAssetsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getCompanyAssetsCount(long companyId)
                          throws java.rmi.RemoteException,
                                 com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

getCompanyAssetsRSS

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.lang.String getCompanyAssetsRSS(long companyId,
                                                   int max,
                                                   java.lang.String type,
                                                   double version,
                                                   java.lang.String displayStyle,
                                                   java.lang.String feedURL,
                                                   java.lang.String entryURL)
                                     throws java.rmi.RemoteException,
                                            com.liferay.portal.PortalException,
                                            com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

incrementViewCounter

TagsAsset incrementViewCounter(java.lang.String className,
                               long classPK)
                               throws java.rmi.RemoteException,
                                      com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

searchAssetDisplays

@Transactional(propagation=SUPPORTS,
               readOnly=true)
TagsAssetDisplay[] searchAssetDisplays(long companyId,
                                                     java.lang.String portletId,
                                                     java.lang.String keywords,
                                                     java.lang.String languageId,
                                                     int start,
                                                     int end)
                                       throws java.rmi.RemoteException,
                                              com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

searchAssetDisplaysCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int searchAssetDisplaysCount(long companyId,
                                           java.lang.String portletId,
                                           java.lang.String keywords,
                                           java.lang.String languageId)
                             throws java.rmi.RemoteException,
                                    com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

updateAsset

TagsAsset updateAsset(long groupId,
                      java.lang.String className,
                      long classPK,
                      java.lang.String[] entryNames,
                      java.util.Date startDate,
                      java.util.Date endDate,
                      java.util.Date publishDate,
                      java.util.Date expirationDate,
                      java.lang.String mimeType,
                      java.lang.String title,
                      java.lang.String description,
                      java.lang.String summary,
                      java.lang.String url,
                      int height,
                      int width,
                      java.lang.Integer priority)
                      throws java.rmi.RemoteException,
                             com.liferay.portal.PortalException,
                             com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException