Package com.liferay.asset.kernel.service
Interface AssetEntryService
- All Superinterfaces:
BaseService
- All Known Implementing Classes:
AssetEntryServiceWrapper
@AccessControlled
@CTAware
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface AssetEntryService
extends BaseService
Provides the remote service interface for AssetEntry. 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:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionfetchEntry
(long entryId) getCompanyEntries
(long companyId, int start, int end) int
getCompanyEntriesCount
(long companyId) getEntries
(AssetEntryQuery entryQuery) int
getEntriesCount
(AssetEntryQuery entryQuery) getEntry
(long entryId) Returns the OSGi service identifier.incrementViewCounter
(long companyId, String className, long classPK) void
incrementViewCounter
(AssetEntry assetEntry) updateEntry
(long groupId, Date createDate, Date modifiedDate, String className, long classPK, String classUuid, long classTypeId, long[] categoryIds, String[] tagNames, boolean listable, boolean visible, Date startDate, Date endDate, Date publishDate, Date expirationDate, String mimeType, String title, String description, String summary, String url, String layoutUuid, int height, int width, Double priority)
-
Method Details
-
fetchEntry
@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry fetchEntry(long entryId) throws PortalException - Throws:
PortalException
-
getCompanyEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetEntry> getCompanyEntries(long companyId, int start, int end) -
getCompanyEntriesCount
-
getEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetEntry> getEntries(AssetEntryQuery entryQuery) throws PortalException - Throws:
PortalException
-
getEntriesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getEntriesCount(AssetEntryQuery entryQuery) throws PortalException - Throws:
PortalException
-
getEntry
@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry getEntry(long entryId) throws PortalException - Throws:
PortalException
-
getEntry
@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry getEntry(String className, long classPK) throws PortalException - Throws:
PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
incrementViewCounter
- Throws:
PortalException
-
incrementViewCounter
@AccessControlled(guestAccessEnabled=true) AssetEntry incrementViewCounter(long companyId, String className, long classPK) throws PortalException - Throws:
PortalException
-
updateEntry
AssetEntry updateEntry(long groupId, Date createDate, Date modifiedDate, String className, long classPK, String classUuid, long classTypeId, long[] categoryIds, String[] tagNames, boolean listable, boolean visible, Date startDate, Date endDate, Date publishDate, Date expirationDate, String mimeType, String title, String description, String summary, String url, String layoutUuid, int height, int width, Double priority) throws PortalException - Throws:
PortalException
-