com.liferay.portlet.tags.service
Class TagsAssetLocalServiceUtil
java.lang.Object
com.liferay.portlet.tags.service.TagsAssetLocalServiceUtil
public class TagsAssetLocalServiceUtil
- 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
com.liferay.portlet.tags.service.TagsAssetLocalService
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:
TagsAssetLocalService
Method Summary |
static TagsAsset |
addTagsAsset(TagsAsset tagsAsset)
|
static TagsAsset |
createTagsAsset(long assetId)
|
static void |
deleteAsset(long assetId)
|
static void |
deleteAsset(java.lang.String className,
long classPK)
|
static void |
deleteAsset(TagsAsset asset)
|
static void |
deleteTagsAsset(long assetId)
|
static void |
deleteTagsAsset(TagsAsset tagsAsset)
|
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 TagsAsset |
getAsset(long assetId)
|
static TagsAsset |
getAsset(java.lang.String className,
long classPK)
|
static java.util.List<TagsAsset> |
getAssets(long[] entryIds,
long[] notEntryIds,
boolean andOperator,
boolean excludeZeroViewCount,
java.util.Date publishDate,
java.util.Date expirationDate,
int start,
int end)
|
static java.util.List<TagsAsset> |
getAssets(long[] entryIds,
long[] notEntryIds,
boolean andOperator,
boolean excludeZeroViewCount,
int start,
int end)
|
static java.util.List<TagsAsset> |
getAssets(long[] entryIds,
long[] notEntryIds,
boolean andOperator,
java.lang.String orderByCol1,
java.lang.String orderByCol2,
java.lang.String orderByType1,
java.lang.String orderByType2,
boolean excludeZeroViewCount,
java.util.Date publishDate,
java.util.Date expirationDate,
int start,
int end)
|
static java.util.List<TagsAsset> |
getAssets(long groupId,
long[] classNameIds,
long[] entryIds,
long[] notEntryIds,
boolean andOperator,
boolean excludeZeroViewCount,
java.util.Date publishDate,
java.util.Date expirationDate,
int start,
int end)
|
static java.util.List<TagsAsset> |
getAssets(long groupId,
long[] classNameIds,
long[] entryIds,
long[] notEntryIds,
boolean andOperator,
boolean excludeZeroViewCount,
int start,
int end)
|
static java.util.List<TagsAsset> |
getAssets(long groupId,
long[] classNameIds,
long[] entryIds,
long[] notEntryIds,
boolean andOperator,
java.lang.String orderByCol1,
java.lang.String orderByCol2,
java.lang.String orderByType1,
java.lang.String orderByType2,
boolean excludeZeroViewCount,
java.util.Date publishDate,
java.util.Date expirationDate,
int start,
int end)
|
static int |
getAssetsCount(long[] entryIds,
long[] notEntryIds,
boolean andOperator,
boolean excludeZeroViewCount)
|
static int |
getAssetsCount(long[] entryIds,
long[] notEntryIds,
boolean andOperator,
boolean excludeZeroViewCount,
java.util.Date publishDate,
java.util.Date expirationDate)
|
static int |
getAssetsCount(long groupId,
long[] entryIds,
long[] notEntryIds,
boolean andOperator,
boolean excludeZeroViewCount)
|
static int |
getAssetsCount(long groupId,
long[] classNameIds,
long[] entryIds,
long[] notEntryIds,
boolean andOperator,
boolean excludeZeroViewCount,
java.util.Date publishDate,
java.util.Date expirationDate)
|
static TagsAssetType[] |
getAssetTypes(java.lang.String languageId)
|
static TagsAssetDisplay[] |
getCompanyAssetDisplays(long companyId,
int start,
int end,
java.lang.String languageId)
|
static java.util.List<TagsAsset> |
getCompanyAssets(long companyId,
int start,
int end)
|
static int |
getCompanyAssetsCount(long companyId)
|
static TagsAssetLocalService |
getService()
|
static TagsAsset |
getTagsAsset(long assetId)
|
static java.util.List<TagsAsset> |
getTagsAssets(int start,
int end)
|
static int |
getTagsAssetsCount()
|
static java.util.List<TagsAsset> |
getTopViewedAssets(java.lang.String[] className,
boolean asc,
int start,
int end)
|
static java.util.List<TagsAsset> |
getTopViewedAssets(java.lang.String className,
boolean asc,
int start,
int end)
|
static TagsAsset |
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 TagsAssetDisplay[] |
searchAssetDisplays(long companyId,
java.lang.String portletId,
java.lang.String keywords,
java.lang.String languageId,
int start,
int end)
|
static int |
searchAssetDisplaysCount(long companyId,
java.lang.String portletId,
java.lang.String keywords,
java.lang.String languageId)
|
void |
setService(TagsAssetLocalService service)
|
static TagsAsset |
updateAsset(long userId,
long groupId,
java.lang.String className,
long classPK,
java.lang.String[] categoryNames,
java.lang.String[] entryNames)
|
static TagsAsset |
updateAsset(long userId,
long groupId,
java.lang.String className,
long classPK,
java.lang.String[] categoryNames,
java.lang.String[] entryNames,
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)
|
static TagsAsset |
updateAsset(long userId,
long groupId,
java.lang.String className,
long classPK,
java.lang.String[] categoryNames,
java.lang.String[] entryNames,
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 TagsAsset |
updateTagsAsset(TagsAsset tagsAsset)
|
static TagsAsset |
updateVisible(java.lang.String className,
long classPK,
boolean visible)
|
static void |
validate(java.lang.String className,
java.lang.String[] entryNames)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TagsAssetLocalServiceUtil
public TagsAssetLocalServiceUtil()
addTagsAsset
public static TagsAsset addTagsAsset(TagsAsset tagsAsset)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createTagsAsset
public static TagsAsset createTagsAsset(long assetId)
deleteTagsAsset
public static void deleteTagsAsset(long assetId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteTagsAsset
public static void deleteTagsAsset(TagsAsset tagsAsset)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.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.SystemException
- Throws:
com.liferay.portal.SystemException
getTagsAsset
public static TagsAsset getTagsAsset(long assetId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getTagsAssets
public static java.util.List<TagsAsset> getTagsAssets(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTagsAssetsCount
public static int getTagsAssetsCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateTagsAsset
public static TagsAsset updateTagsAsset(TagsAsset tagsAsset)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteAsset
public static void deleteAsset(long assetId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteAsset
public static void deleteAsset(java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteAsset
public static void deleteAsset(TagsAsset asset)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAsset
public static TagsAsset getAsset(long assetId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getAsset
public static TagsAsset getAsset(java.lang.String className,
long classPK)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getAssetTypes
public static TagsAssetType[] getAssetTypes(java.lang.String languageId)
getAssets
public static java.util.List<TagsAsset> getAssets(long[] entryIds,
long[] notEntryIds,
boolean andOperator,
boolean excludeZeroViewCount,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAssets
public static java.util.List<TagsAsset> getAssets(long groupId,
long[] classNameIds,
long[] entryIds,
long[] notEntryIds,
boolean andOperator,
boolean excludeZeroViewCount,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAssets
public static java.util.List<TagsAsset> getAssets(long[] entryIds,
long[] notEntryIds,
boolean andOperator,
boolean excludeZeroViewCount,
java.util.Date publishDate,
java.util.Date expirationDate,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAssets
public static java.util.List<TagsAsset> getAssets(long groupId,
long[] classNameIds,
long[] entryIds,
long[] notEntryIds,
boolean andOperator,
boolean excludeZeroViewCount,
java.util.Date publishDate,
java.util.Date expirationDate,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAssets
public static java.util.List<TagsAsset> getAssets(long[] entryIds,
long[] notEntryIds,
boolean andOperator,
java.lang.String orderByCol1,
java.lang.String orderByCol2,
java.lang.String orderByType1,
java.lang.String orderByType2,
boolean excludeZeroViewCount,
java.util.Date publishDate,
java.util.Date expirationDate,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAssets
public static java.util.List<TagsAsset> getAssets(long groupId,
long[] classNameIds,
long[] entryIds,
long[] notEntryIds,
boolean andOperator,
java.lang.String orderByCol1,
java.lang.String orderByCol2,
java.lang.String orderByType1,
java.lang.String orderByType2,
boolean excludeZeroViewCount,
java.util.Date publishDate,
java.util.Date expirationDate,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAssetsCount
public static int getAssetsCount(long[] entryIds,
long[] notEntryIds,
boolean andOperator,
boolean excludeZeroViewCount)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAssetsCount
public static int getAssetsCount(long groupId,
long[] entryIds,
long[] notEntryIds,
boolean andOperator,
boolean excludeZeroViewCount)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAssetsCount
public static int getAssetsCount(long[] entryIds,
long[] notEntryIds,
boolean andOperator,
boolean excludeZeroViewCount,
java.util.Date publishDate,
java.util.Date expirationDate)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAssetsCount
public static int getAssetsCount(long groupId,
long[] classNameIds,
long[] entryIds,
long[] notEntryIds,
boolean andOperator,
boolean excludeZeroViewCount,
java.util.Date publishDate,
java.util.Date expirationDate)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCompanyAssetDisplays
public static TagsAssetDisplay[] getCompanyAssetDisplays(long companyId,
int start,
int end,
java.lang.String languageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCompanyAssets
public static java.util.List<TagsAsset> getCompanyAssets(long companyId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCompanyAssetsCount
public static int getCompanyAssetsCount(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTopViewedAssets
public static java.util.List<TagsAsset> getTopViewedAssets(java.lang.String className,
boolean asc,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTopViewedAssets
public static java.util.List<TagsAsset> getTopViewedAssets(java.lang.String[] className,
boolean asc,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
incrementViewCounter
public static TagsAsset incrementViewCounter(java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.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.SystemException
- Throws:
com.liferay.portal.SystemException
searchAssetDisplays
public static TagsAssetDisplay[] searchAssetDisplays(long companyId,
java.lang.String portletId,
java.lang.String keywords,
java.lang.String languageId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
searchAssetDisplaysCount
public static int searchAssetDisplaysCount(long companyId,
java.lang.String portletId,
java.lang.String keywords,
java.lang.String languageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateAsset
public static TagsAsset updateAsset(long userId,
long groupId,
java.lang.String className,
long classPK,
java.lang.String[] categoryNames,
java.lang.String[] entryNames)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateAsset
public static TagsAsset updateAsset(long userId,
long groupId,
java.lang.String className,
long classPK,
java.lang.String[] categoryNames,
java.lang.String[] entryNames,
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)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateAsset
public static TagsAsset updateAsset(long userId,
long groupId,
java.lang.String className,
long classPK,
java.lang.String[] categoryNames,
java.lang.String[] entryNames,
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.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateVisible
public static TagsAsset updateVisible(java.lang.String className,
long classPK,
boolean visible)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
validate
public static void validate(java.lang.String className,
java.lang.String[] entryNames)
throws com.liferay.portal.PortalException
- Throws:
com.liferay.portal.PortalException
getService
public static TagsAssetLocalService getService()
setService
public void setService(TagsAssetLocalService service)