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)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
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(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) |
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 expirationDate,
String mimeType,
String title,
String description,
String summary,
String url,
String layoutUuid,
int height,
int width,
Double priority)
Deprecated.
|
static AssetEntry |
updateEntry(long groupId,
Date createDate,
Date modifiedDate,
String className,
long classPK,
String classUuid,
long classTypeId,
long[] categoryIds,
String[] tagNames,
boolean visible,
Date startDate,
Date endDate,
Date expirationDate,
String mimeType,
String title,
String description,
String summary,
String url,
String layoutUuid,
int height,
int width,
Integer priority,
boolean sync)
Deprecated.
|
public static AssetEntry fetchEntry(long entryId) throws PortalException
AssetEntryServiceUtil
to access the asset entry remote service. Add custom service methods to com.liferay.portlet.asset.service.impl.AssetEntryServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.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(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
@Deprecated 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 expirationDate, String mimeType, String title, String description, String summary, String url, String layoutUuid, int height, int width, Double priority) throws PortalException
updateEntry(long,
Date, Date, String, long, String, long, long[], String[],
boolean, boolean, Date, Date, Date, Date, String, String,
String, String, String, String, int, int, Double)
PortalException
@Deprecated public static AssetEntry updateEntry(long groupId, Date createDate, Date modifiedDate, String className, long classPK, String classUuid, long classTypeId, long[] categoryIds, String[] tagNames, boolean visible, Date startDate, Date endDate, Date expirationDate, String mimeType, String title, String description, String summary, String url, String layoutUuid, int height, int width, Integer priority, boolean sync) throws PortalException
updateEntry(long, Date, Date, String, long, String, long,
long[], String[], boolean, boolean, Date, Date, Date, Date,
String, String, String, String, String, String, int, int,
Double)
PortalException
public static AssetEntryService getService()