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 AssetEntry
fetchEntry
(long entryId) static List<AssetEntry>
getCompanyEntries
(long companyId, int start, int end) static int
getCompanyEntriesCount
(long companyId) static List<AssetEntry>
getEntries
(AssetEntryQuery entryQuery) static int
getEntriesCount
(AssetEntryQuery entryQuery) static AssetEntry
getEntry
(long entryId) static AssetEntry
static String
Returns the OSGi service identifier.static AssetEntryService
static AssetEntry
incrementViewCounter
(long companyId, String className, long classPK) static void
incrementViewCounter
(AssetEntry assetEntry) static void
setService
(AssetEntryService service) 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)
-
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
-