com.liferay.portlet.asset.service
Class AssetEntryServiceUtil
java.lang.Object
com.liferay.portlet.asset.service.AssetEntryServiceUtil
@ProviderType
public class AssetEntryServiceUtil
- extends Object
Provides the remote service utility for AssetEntry. This utility wraps
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.
- See Also:
AssetEntryService,
AssetEntryServiceBaseImpl,
AssetEntryServiceImpl- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.
|
Method Summary |
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 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 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)
Deprecated. As of 7.0.0, replaced by updateEntry(long, Date,
Date, String, long, String, long, long[], String[], boolean,
Date, Date, Date, String, String, String, String, String,
String, int, int, Double) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetEntryServiceUtil
public AssetEntryServiceUtil()
fetchEntry
public static AssetEntry fetchEntry(long entryId)
throws PortalException
- Throws:
PortalException
getCompanyEntries
public static List<AssetEntry> getCompanyEntries(long companyId,
int start,
int end)
getCompanyEntriesCount
public static int getCompanyEntriesCount(long companyId)
getEntries
public static List<AssetEntry> getEntries(AssetEntryQuery entryQuery)
throws PortalException
- Throws:
PortalException
getEntriesCount
public static int getEntriesCount(AssetEntryQuery entryQuery)
throws PortalException
- Throws:
PortalException
getEntry
public static AssetEntry getEntry(long entryId)
throws PortalException
- Throws:
PortalException
getOSGiServiceIdentifier
public static String getOSGiServiceIdentifier()
- Returns the OSGi service identifier.
- Returns:
- the OSGi service identifier
incrementViewCounter
public static AssetEntry incrementViewCounter(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 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
- Throws:
PortalException
updateEntry
@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
- Deprecated. As of 7.0.0, replaced by
updateEntry(long, Date,
Date, String, long, String, long, long[], String[], boolean,
Date, Date, Date, String, String, String, String, String,
String, int, int, Double)
- Throws:
PortalException
getService
public static AssetEntryService getService()