com.liferay.portlet.asset.service
Interface AssetEntryService
- All Known Implementing Classes:
- AssetEntryServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,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 name,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String tagURL)
|
AssetEntry |
getEntry(long entryId)
|
void |
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 PortalException,
SystemException
- Throws:
PortalException
SystemException
getCompanyEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.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)
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 PortalException,
SystemException
- Throws:
PortalException
SystemException
getCompanyEntryDisplays
@Transactional(propagation=SUPPORTS,
readOnly=true)
AssetEntryDisplay[] getCompanyEntryDisplays(long companyId,
int start,
int end,
java.lang.String languageId)
throws SystemException
- Throws:
SystemException
getEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.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)
java.lang.String getEntriesRSS(AssetEntryQuery entryQuery,
java.lang.String name,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.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(java.lang.String className,
long classPK)
throws PortalException,
SystemException
- Throws:
PortalException
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 SystemException
- Throws:
SystemException
searchEntryDisplaysCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int searchEntryDisplaysCount(long companyId,
java.lang.String portletId,
java.lang.String keywords,
java.lang.String languageId)
throws SystemException
- Throws:
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 PortalException,
SystemException
- Throws:
PortalException
SystemException