Package com.liferay.asset.kernel.service
Class AssetEntryServiceUtil
Object
com.liferay.asset.kernel.service.AssetEntryServiceUtil
Provides the remote service utility for AssetEntry. This utility wraps
com.liferay.portlet.asset.service.impl.AssetEntryServiceImpl and is an
access point for service operations in application layer code running on a
remote server. 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}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AssetEntryfetchEntry(long entryId) static List<AssetEntry>getCompanyEntries(long companyId, int start, int end) static intgetCompanyEntriesCount(long companyId) static List<AssetEntry>getEntries(AssetEntryQuery entryQuery) static intgetEntriesCount(AssetEntryQuery entryQuery) static AssetEntrygetEntry(long entryId) static AssetEntrystatic StringReturns the OSGi service identifier.static AssetEntryServicestatic AssetEntryincrementViewCounter(long companyId, String className, long classPK) static voidincrementViewCounter(AssetEntry assetEntry) static voidsetService(AssetEntryService service) static AssetEntryupdateEntry(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)
-
Constructor Details
-
AssetEntryServiceUtil
public AssetEntryServiceUtil()
-
-
Method Details
-
fetchEntry
- Throws:
PortalException
-
getCompanyEntries
-
getCompanyEntriesCount
public static int getCompanyEntriesCount(long companyId) -
getEntries
- Throws:
PortalException
-
getEntriesCount
- Throws:
PortalException
-
getEntry
- Throws:
PortalException
-
getEntry
- Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
incrementViewCounter
- Throws:
PortalException
-
incrementViewCounter
public static AssetEntry incrementViewCounter(long companyId, String className, long classPK) throws PortalException - Throws:
PortalException
-
updateEntry
public static 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
-
getService
-
setService
-