com.liferay.portlet.asset.service
Interface AssetEntryService
- All Known Implementing Classes:
- AssetEntryServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface AssetEntryService
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.AssetEntryServiceImpl
}.
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:
AssetEntryServiceUtil
- Generated:
Method Summary |
void |
deleteEntry(long entryId)
|
java.util.List<AssetEntry> |
getCompanyEntries(long companyId,
int start,
int end)
|
int |
getCompanyEntriesCount(long companyId)
|
java.lang.String |
getCompanyEntriesRSS(long companyId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String tagURL)
|
AssetEntryDisplay[] |
getCompanyEntryDisplays(long companyId,
int start,
int end,
java.lang.String languageId)
|
java.util.List<AssetEntry> |
getEntries(AssetEntryQuery entryQuery)
|
int |
getEntriesCount(AssetEntryQuery entryQuery)
|
java.lang.String |
getEntriesRSS(AssetEntryQuery entryQuery,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String tagURL)
|
AssetEntry |
getEntry(long entryId)
|
AssetEntry |
incrementViewCounter(java.lang.String className,
long classPK)
|
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 |
updateEntry(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)
|
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
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
getCompanyEntriesRSS
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.lang.String getCompanyEntriesRSS(long companyId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String tagURL)
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
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.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getEntriesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getEntriesCount(AssetEntryQuery entryQuery)
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
getEntriesRSS
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.lang.String getEntriesRSS(AssetEntryQuery entryQuery,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String tagURL)
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(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
incrementViewCounter
AssetEntry incrementViewCounter(java.lang.String className,
long classPK)
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 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