public class AssetEntryServiceUtil
extends Object
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.AssetEntryService
Constructor and Description |
---|
AssetEntryServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static 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 |
getEntry(String className,
long classPK) |
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static AssetEntryService |
getService() |
static void |
incrementViewCounter(AssetEntry assetEntry) |
static AssetEntry |
incrementViewCounter(long companyId,
String className,
long classPK) |
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) |
public static AssetEntry fetchEntry(long entryId) throws PortalException
PortalException
public static List<AssetEntry> getCompanyEntries(long companyId, int start, int end)
public static int getCompanyEntriesCount(long companyId)
public static List<AssetEntry> getEntries(AssetEntryQuery entryQuery) throws PortalException
PortalException
public static int getEntriesCount(AssetEntryQuery entryQuery) throws PortalException
PortalException
public static AssetEntry getEntry(long entryId) throws PortalException
PortalException
public static AssetEntry getEntry(String className, long classPK) throws PortalException
PortalException
public static String getOSGiServiceIdentifier()
public static void incrementViewCounter(AssetEntry assetEntry) throws PortalException
PortalException
public static AssetEntry incrementViewCounter(long companyId, String className, long classPK) throws PortalException
PortalException
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
PortalException
public static AssetEntryService getService()