@ProviderType
public class AssetEntryServiceUtil
extends Object
AssetEntryServiceImpl
and is the
primary 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
,
AssetEntryServiceBaseImpl
,
AssetEntryServiceImpl
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 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)
|
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)
|
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 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()