com.liferay.portlet.asset.service
Class AssetEntryLocalServiceUtil
java.lang.Object
com.liferay.portlet.asset.service.AssetEntryLocalServiceUtil
public class AssetEntryLocalServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
AssetEntryLocalService
bean. The static methods of
this class calls the same methods of the bean instance. It's convenient to be
able to just write one line to call a method on a bean instead of writing a
lookup call and a method call.
- Author:
- Brian Wing Shun Chan
- See Also:
AssetEntryLocalService
- Generated:
Method Summary |
static AssetEntry |
addAssetEntry(AssetEntry assetEntry)
|
static AssetEntry |
createAssetEntry(long entryId)
|
static void |
deleteAssetEntry(AssetEntry assetEntry)
|
static void |
deleteAssetEntry(long entryId)
|
static void |
deleteEntry(AssetEntry entry)
|
static void |
deleteEntry(long entryId)
|
static void |
deleteEntry(java.lang.String className,
long classPK)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List<AssetEntry> |
getAssetEntries(int start,
int end)
|
static int |
getAssetEntriesCount()
|
static AssetEntry |
getAssetEntry(long entryId)
|
static java.util.List<AssetEntry> |
getCompanyEntries(long companyId,
int start,
int end)
|
static int |
getCompanyEntriesCount(long companyId)
|
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 AssetEntry |
getEntry(long entryId)
|
static AssetEntry |
getEntry(java.lang.String className,
long classPK)
|
static AssetEntryLocalService |
getService()
|
static java.util.List<AssetEntry> |
getTopViewedEntries(java.lang.String[] className,
boolean asc,
int start,
int end)
|
static java.util.List<AssetEntry> |
getTopViewedEntries(java.lang.String className,
boolean asc,
int start,
int end)
|
static AssetEntry |
incrementViewCounter(java.lang.String className,
long classPK)
|
static com.liferay.portal.kernel.search.Hits |
search(long companyId,
java.lang.String portletId,
java.lang.String keywords,
int start,
int end)
|
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(AssetEntryLocalService service)
|
static AssetEntry |
updateAssetEntry(AssetEntry assetEntry)
|
static AssetEntry |
updateAssetEntry(AssetEntry assetEntry,
boolean merge)
|
static AssetEntry |
updateEntry(long userId,
long groupId,
java.lang.String className,
long classPK,
long[] categoryIds,
java.lang.String[] tagNames)
|
static AssetEntry |
updateEntry(long userId,
long groupId,
java.lang.String className,
long classPK,
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)
|
static AssetEntry |
updateVisible(java.lang.String className,
long classPK,
boolean visible)
|
static void |
validate(java.lang.String className,
long[] categoryIds,
java.lang.String[] tagNames)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetEntryLocalServiceUtil
public AssetEntryLocalServiceUtil()
addAssetEntry
public static AssetEntry addAssetEntry(AssetEntry assetEntry)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
createAssetEntry
public static AssetEntry createAssetEntry(long entryId)
deleteAssetEntry
public static void deleteAssetEntry(long entryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteAssetEntry
public static void deleteAssetEntry(AssetEntry assetEntry)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getAssetEntry
public static AssetEntry getAssetEntry(long entryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getAssetEntries
public static java.util.List<AssetEntry> getAssetEntries(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getAssetEntriesCount
public static int getAssetEntriesCount()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateAssetEntry
public static AssetEntry updateAssetEntry(AssetEntry assetEntry)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateAssetEntry
public static AssetEntry updateAssetEntry(AssetEntry assetEntry,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
deleteEntry
public static void deleteEntry(AssetEntry entry)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
deleteEntry
public static void deleteEntry(long entryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteEntry
public static void deleteEntry(java.lang.String className,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCompanyEntries
public static java.util.List<AssetEntry> getCompanyEntries(long companyId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCompanyEntriesCount
public static int getCompanyEntriesCount(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCompanyEntryDisplays
public static AssetEntryDisplay[] getCompanyEntryDisplays(long companyId,
int start,
int end,
java.lang.String languageId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getEntries
public static java.util.List<AssetEntry> getEntries(AssetEntryQuery entryQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getEntriesCount
public static int getEntriesCount(AssetEntryQuery entryQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getEntry
public static AssetEntry getEntry(long entryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getEntry
public static AssetEntry getEntry(java.lang.String className,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getTopViewedEntries
public static java.util.List<AssetEntry> getTopViewedEntries(java.lang.String className,
boolean asc,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getTopViewedEntries
public static java.util.List<AssetEntry> getTopViewedEntries(java.lang.String[] className,
boolean asc,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
incrementViewCounter
public static AssetEntry incrementViewCounter(java.lang.String className,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
search
public static com.liferay.portal.kernel.search.Hits search(long companyId,
java.lang.String portletId,
java.lang.String keywords,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.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 com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
searchEntryDisplaysCount
public static int searchEntryDisplaysCount(long companyId,
java.lang.String portletId,
java.lang.String keywords,
java.lang.String languageId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateEntry
public static AssetEntry updateEntry(long userId,
long groupId,
java.lang.String className,
long classPK,
long[] categoryIds,
java.lang.String[] tagNames)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateEntry
public static AssetEntry updateEntry(long userId,
long groupId,
java.lang.String className,
long classPK,
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 com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateVisible
public static AssetEntry updateVisible(java.lang.String className,
long classPK,
boolean visible)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
validate
public static void validate(java.lang.String className,
long[] categoryIds,
java.lang.String[] tagNames)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
getService
public static AssetEntryLocalService getService()
setService
public void setService(AssetEntryLocalService service)