com.liferay.portlet.asset.service
Class AssetEntryServiceUtil
java.lang.Object
com.liferay.portlet.asset.service.AssetEntryServiceUtil
public class AssetEntryServiceUtil
- extends java.lang.Object
The utility for the asset entry remote service. This utility wraps com.liferay.portlet.asset.service.impl.AssetEntryServiceImpl and is the primary access point for service operations in application layer code running on a remote server.
Never modify this class directly. Add custom service methods to com.liferay.portlet.asset.service.impl.AssetEntryServiceImpl and rerun ServiceBuilder to regenerate this class.
This is a remote service. 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:
AssetEntryService,
com.liferay.portlet.asset.service.base.AssetEntryServiceBaseImpl,
com.liferay.portlet.asset.service.impl.AssetEntryServiceImpl- Generated:
|
Method Summary |
static void |
deleteEntry(long entryId)
|
static java.util.List<AssetEntry> |
getCompanyEntries(long companyId,
int start,
int end)
|
static int |
getCompanyEntriesCount(long companyId)
|
static java.lang.String |
getCompanyEntriesRSS(long companyId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String tagURL)
|
static AssetEntryDisplay[] |
getCompanyEntryDisplays(long companyId,
int start,
int end,
java.lang.String languageId)
|
static java.util.List<AssetEntry> |
getEntries(AssetEntryQuery entryQuery)
|
static int |
getEntriesCount(AssetEntryQuery entryQuery)
|
static java.lang.String |
getEntriesRSS(AssetEntryQuery entryQuery,
java.lang.String name,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String tagURL)
|
static AssetEntry |
getEntry(long entryId)
|
static AssetEntryService |
getService()
|
static void |
incrementViewCounter(java.lang.String className,
long classPK)
|
static AssetEntryDisplay[] |
searchEntryDisplays(long companyId,
java.lang.String portletId,
java.lang.String keywords,
java.lang.String languageId,
int start,
int end)
|
static int |
searchEntryDisplaysCount(long companyId,
java.lang.String portletId,
java.lang.String keywords,
java.lang.String languageId)
|
void |
setService(AssetEntryService service)
|
static AssetEntry |
updateEntry(long groupId,
java.lang.String className,
long classPK,
java.lang.String classUuid,
long[] categoryIds,
java.lang.String[] tagNames,
boolean visible,
java.util.Date startDate,
java.util.Date endDate,
java.util.Date publishDate,
java.util.Date expirationDate,
java.lang.String mimeType,
java.lang.String title,
java.lang.String description,
java.lang.String summary,
java.lang.String url,
int height,
int width,
java.lang.Integer priority,
boolean sync)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetEntryServiceUtil
public AssetEntryServiceUtil()
deleteEntry
public static void deleteEntry(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCompanyEntries
public static java.util.List<AssetEntry> getCompanyEntries(long companyId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getCompanyEntriesCount
public static int getCompanyEntriesCount(long companyId)
throws SystemException
- Throws:
SystemException
getCompanyEntriesRSS
public static java.lang.String getCompanyEntriesRSS(long companyId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String tagURL)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCompanyEntryDisplays
public static AssetEntryDisplay[] getCompanyEntryDisplays(long companyId,
int start,
int end,
java.lang.String languageId)
throws SystemException
- Throws:
SystemException
getEntries
public static java.util.List<AssetEntry> getEntries(AssetEntryQuery entryQuery)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getEntriesCount
public static int getEntriesCount(AssetEntryQuery entryQuery)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getEntriesRSS
public static java.lang.String getEntriesRSS(AssetEntryQuery entryQuery,
java.lang.String name,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String tagURL)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getEntry
public static AssetEntry getEntry(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
incrementViewCounter
public static void incrementViewCounter(java.lang.String className,
long classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
searchEntryDisplays
public static AssetEntryDisplay[] searchEntryDisplays(long companyId,
java.lang.String portletId,
java.lang.String keywords,
java.lang.String languageId,
int start,
int end)
throws SystemException
- Throws:
SystemException
searchEntryDisplaysCount
public static int searchEntryDisplaysCount(long companyId,
java.lang.String portletId,
java.lang.String keywords,
java.lang.String languageId)
throws SystemException
- Throws:
SystemException
updateEntry
public static AssetEntry updateEntry(long groupId,
java.lang.String className,
long classPK,
java.lang.String classUuid,
long[] categoryIds,
java.lang.String[] tagNames,
boolean visible,
java.util.Date startDate,
java.util.Date endDate,
java.util.Date publishDate,
java.util.Date expirationDate,
java.lang.String mimeType,
java.lang.String title,
java.lang.String description,
java.lang.String summary,
java.lang.String url,
int height,
int width,
java.lang.Integer priority,
boolean sync)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static AssetEntryService getService()
setService
public void setService(AssetEntryService service)