com.liferay.portlet.asset.service
Interface AssetEntryLocalService

All Known Implementing Classes:
AssetEntryLocalServiceWrapper

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

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.asset.service.impl.AssetEntryLocalServiceImpl}. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
AssetEntryLocalServiceUtil
Generated:

Method Summary
 AssetEntry addAssetEntry(AssetEntry assetEntry)
           
 AssetEntry createAssetEntry(long entryId)
           
 void deleteAssetEntry(AssetEntry assetEntry)
           
 void deleteAssetEntry(long entryId)
           
 void deleteEntry(AssetEntry entry)
           
 void deleteEntry(long entryId)
           
 void deleteEntry(java.lang.String className, long classPK)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List<AssetEntry> getAssetEntries(int start, int end)
           
 int getAssetEntriesCount()
           
 AssetEntry getAssetEntry(long entryId)
           
 java.util.List<AssetEntry> getCompanyEntries(long companyId, int start, int end)
           
 int getCompanyEntriesCount(long companyId)
           
 AssetEntryDisplay[] getCompanyEntryDisplays(long companyId, int start, int end, java.lang.String languageId)
           
 java.util.List<AssetEntry> getEntries(AssetEntryQuery entryQuery)
           
 int getEntriesCount(AssetEntryQuery entryQuery)
           
 AssetEntry getEntry(long entryId)
           
 AssetEntry getEntry(java.lang.String className, long classPK)
           
 java.util.List<AssetEntry> getTopViewedEntries(java.lang.String[] className, boolean asc, int start, int end)
           
 java.util.List<AssetEntry> getTopViewedEntries(java.lang.String className, boolean asc, int start, int end)
           
 AssetEntry incrementViewCounter(java.lang.String className, long classPK)
           
 com.liferay.portal.kernel.search.Hits search(long companyId, java.lang.String portletId, java.lang.String keywords, int start, int end)
           
 AssetEntryDisplay[] searchEntryDisplays(long companyId, java.lang.String portletId, java.lang.String keywords, java.lang.String languageId, int start, int end)
           
 int searchEntryDisplaysCount(long companyId, java.lang.String portletId, java.lang.String keywords, java.lang.String languageId)
           
 AssetEntry updateAssetEntry(AssetEntry assetEntry)
           
 AssetEntry updateAssetEntry(AssetEntry assetEntry, boolean merge)
           
 AssetEntry updateEntry(long userId, long groupId, java.lang.String className, long classPK, long[] categoryIds, java.lang.String[] tagNames)
           
 AssetEntry updateEntry(long userId, long groupId, java.lang.String className, long classPK, long[] categoryIds, java.lang.String[] tagNames, boolean visible, 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, boolean sync)
           
 AssetEntry updateVisible(java.lang.String className, long classPK, boolean visible)
           
 void validate(java.lang.String className, long[] categoryIds, java.lang.String[] tagNames)
           
 

Method Detail

addAssetEntry

AssetEntry addAssetEntry(AssetEntry assetEntry)
                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

createAssetEntry

AssetEntry createAssetEntry(long entryId)

deleteAssetEntry

void deleteAssetEntry(long entryId)
                      throws com.liferay.portal.kernel.exception.PortalException,
                             com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteAssetEntry

void deleteAssetEntry(AssetEntry assetEntry)
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                              int start,
                                              int end)
                                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getAssetEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetEntry getAssetEntry(long entryId)
                         throws com.liferay.portal.kernel.exception.PortalException,
                                com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getAssetEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<AssetEntry> getAssetEntries(int start,
                                                         int end)
                                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getAssetEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getAssetEntriesCount()
                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

updateAssetEntry

AssetEntry updateAssetEntry(AssetEntry assetEntry)
                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

updateAssetEntry

AssetEntry updateAssetEntry(AssetEntry assetEntry,
                            boolean merge)
                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

deleteEntry

void deleteEntry(AssetEntry entry)
                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

deleteEntry

void deleteEntry(long entryId)
                 throws com.liferay.portal.kernel.exception.PortalException,
                        com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteEntry

void deleteEntry(java.lang.String className,
                 long classPK)
                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getCompanyEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<AssetEntry> getCompanyEntries(long companyId,
                                                           int start,
                                                           int end)
                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getCompanyEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getCompanyEntriesCount(long companyId)
                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getCompanyEntryDisplays

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetEntryDisplay[] getCompanyEntryDisplays(long companyId,
                                                          int start,
                                                          int end,
                                                          java.lang.String languageId)
                                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<AssetEntry> getEntries(AssetEntryQuery entryQuery)
                                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getEntriesCount(AssetEntryQuery entryQuery)
                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetEntry getEntry(long entryId)
                    throws com.liferay.portal.kernel.exception.PortalException,
                           com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetEntry getEntry(java.lang.String className,
                                  long classPK)
                    throws com.liferay.portal.kernel.exception.PortalException,
                           com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getTopViewedEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<AssetEntry> getTopViewedEntries(java.lang.String className,
                                                             boolean asc,
                                                             int start,
                                                             int end)
                                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getTopViewedEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<AssetEntry> getTopViewedEntries(java.lang.String[] className,
                                                             boolean asc,
                                                             int start,
                                                             int end)
                                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

incrementViewCounter

AssetEntry incrementViewCounter(java.lang.String className,
                                long classPK)
                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

search

@Transactional(propagation=SUPPORTS,
               readOnly=true)
com.liferay.portal.kernel.search.Hits search(long companyId,
                                                           java.lang.String portletId,
                                                           java.lang.String keywords,
                                                           int start,
                                                           int end)
                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

searchEntryDisplays

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetEntryDisplay[] searchEntryDisplays(long companyId,
                                                      java.lang.String portletId,
                                                      java.lang.String keywords,
                                                      java.lang.String languageId,
                                                      int start,
                                                      int end)
                                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

searchEntryDisplaysCount

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

updateEntry

AssetEntry updateEntry(long userId,
                       long groupId,
                       java.lang.String className,
                       long classPK,
                       long[] categoryIds,
                       java.lang.String[] tagNames)
                       throws com.liferay.portal.kernel.exception.PortalException,
                              com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

updateEntry

AssetEntry updateEntry(long userId,
                       long groupId,
                       java.lang.String className,
                       long classPK,
                       long[] categoryIds,
                       java.lang.String[] tagNames,
                       boolean visible,
                       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,
                       boolean sync)
                       throws com.liferay.portal.kernel.exception.PortalException,
                              com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

updateVisible

AssetEntry updateVisible(java.lang.String className,
                         long classPK,
                         boolean visible)
                         throws com.liferay.portal.kernel.exception.PortalException,
                                com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

validate

void validate(java.lang.String className,
              long[] categoryIds,
              java.lang.String[] tagNames)
              throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException