com.liferay.portlet.tags.service
Interface TagsAssetLocalService
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface TagsAssetLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portlet.tags.service.impl.TagsAssetLocalServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
TagsAssetLocalServiceUtil
Method Summary |
TagsAsset |
addTagsAsset(TagsAsset tagsAsset)
|
TagsAsset |
createTagsAsset(long assetId)
|
void |
deleteAsset(long assetId)
|
void |
deleteAsset(java.lang.String className,
long classPK)
|
void |
deleteAsset(TagsAsset asset)
|
void |
deleteTagsAsset(long assetId)
|
void |
deleteTagsAsset(TagsAsset tagsAsset)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
TagsAsset |
getAsset(long assetId)
|
TagsAsset |
getAsset(java.lang.String className,
long classPK)
|
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)
|
java.util.List<TagsAsset> |
getAssets(long[] entryIds,
long[] notEntryIds,
boolean andOperator,
boolean excludeZeroViewCount,
int start,
int end)
|
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)
|
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)
|
java.util.List<TagsAsset> |
getAssets(long groupId,
long[] classNameIds,
long[] entryIds,
long[] notEntryIds,
boolean andOperator,
boolean excludeZeroViewCount,
int start,
int end)
|
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)
|
int |
getAssetsCount(long[] entryIds,
long[] notEntryIds,
boolean andOperator,
boolean excludeZeroViewCount)
|
int |
getAssetsCount(long[] entryIds,
long[] notEntryIds,
boolean andOperator,
boolean excludeZeroViewCount,
java.util.Date publishDate,
java.util.Date expirationDate)
|
int |
getAssetsCount(long groupId,
long[] entryIds,
long[] notEntryIds,
boolean andOperator,
boolean excludeZeroViewCount)
|
int |
getAssetsCount(long groupId,
long[] classNameIds,
long[] entryIds,
long[] notEntryIds,
boolean andOperator,
boolean excludeZeroViewCount,
java.util.Date publishDate,
java.util.Date expirationDate)
|
TagsAssetType[] |
getAssetTypes(java.lang.String languageId)
|
TagsAssetDisplay[] |
getCompanyAssetDisplays(long companyId,
int start,
int end,
java.lang.String languageId)
|
java.util.List<TagsAsset> |
getCompanyAssets(long companyId,
int start,
int end)
|
int |
getCompanyAssetsCount(long companyId)
|
TagsAsset |
getTagsAsset(long assetId)
|
java.util.List<TagsAsset> |
getTagsAssets(int start,
int end)
|
int |
getTagsAssetsCount()
|
java.util.List<TagsAsset> |
getTopViewedAssets(java.lang.String[] className,
boolean asc,
int start,
int end)
|
java.util.List<TagsAsset> |
getTopViewedAssets(java.lang.String className,
boolean asc,
int start,
int end)
|
TagsAsset |
incrementViewCounter(java.lang.String className,
long classPK)
|
com.liferay.portal.kernel.search.Hits |
search(long companyId,
java.lang.String portletId,
java.lang.String keywords,
int start,
int end)
|
TagsAssetDisplay[] |
searchAssetDisplays(long companyId,
java.lang.String portletId,
java.lang.String keywords,
java.lang.String languageId,
int start,
int end)
|
int |
searchAssetDisplaysCount(long companyId,
java.lang.String portletId,
java.lang.String keywords,
java.lang.String languageId)
|
TagsAsset |
updateAsset(long userId,
long groupId,
java.lang.String className,
long classPK,
java.lang.String[] categoryNames,
java.lang.String[] entryNames)
|
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)
|
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)
|
TagsAsset |
updateTagsAsset(TagsAsset tagsAsset)
|
TagsAsset |
updateVisible(java.lang.String className,
long classPK,
boolean visible)
|
void |
validate(java.lang.String className,
java.lang.String[] entryNames)
|
addTagsAsset
TagsAsset addTagsAsset(TagsAsset tagsAsset)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createTagsAsset
TagsAsset createTagsAsset(long assetId)
deleteTagsAsset
void deleteTagsAsset(long assetId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteTagsAsset
void deleteTagsAsset(TagsAsset tagsAsset)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
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
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
TagsAsset getTagsAsset(long assetId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getTagsAssets
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<TagsAsset> getTagsAssets(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTagsAssetsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getTagsAssetsCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateTagsAsset
TagsAsset updateTagsAsset(TagsAsset tagsAsset)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteAsset
void deleteAsset(long assetId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteAsset
void deleteAsset(java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteAsset
void deleteAsset(TagsAsset asset)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAsset
@Transactional(propagation=SUPPORTS,
readOnly=true)
TagsAsset getAsset(long assetId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getAsset
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
TagsAssetType[] getAssetTypes(java.lang.String languageId)
getAssets
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getAssetsCount(long[] entryIds,
long[] notEntryIds,
boolean andOperator,
boolean excludeZeroViewCount)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAssetsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getAssetsCount(long groupId,
long[] entryIds,
long[] notEntryIds,
boolean andOperator,
boolean excludeZeroViewCount)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAssetsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
TagsAssetDisplay[] getCompanyAssetDisplays(long companyId,
int start,
int end,
java.lang.String languageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCompanyAssets
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<TagsAsset> getCompanyAssets(long companyId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCompanyAssetsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCompanyAssetsCount(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTopViewedAssets
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
TagsAsset incrementViewCounter(java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
search
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
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
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
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
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
void validate(java.lang.String className,
java.lang.String[] entryNames)
throws com.liferay.portal.PortalException
- Throws:
com.liferay.portal.PortalException