com.liferay.portlet.tags.service
Interface TagsAssetLocalService
- 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:
TagsAssetServiceFactory
,
TagsAssetServiceUtil
Method Summary |
TagsAsset |
addTagsAsset(TagsAsset model)
|
void |
deleteAsset(long assetId)
|
void |
deleteAsset(java.lang.String className,
long classPK)
|
void |
deleteAsset(TagsAsset asset)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
TagsAsset |
getAsset(long assetId)
|
TagsAsset |
getAsset(java.lang.String className,
long classPK)
|
java.util.List |
getAssets(long[] entryIds,
long[] notEntryIds,
boolean andOperator,
java.util.Date publishDate,
java.util.Date expirationDate,
int begin,
int end)
|
java.util.List |
getAssets(long[] entryIds,
long[] notEntryIds,
boolean andOperator,
int begin,
int end)
|
int |
getAssetsCount(long[] entryIds,
long[] notEntryIds,
boolean andOperator)
|
int |
getAssetsCount(long[] entryIds,
long[] notEntryIds,
boolean andOperator,
java.util.Date publishDate,
java.util.Date expirationDate)
|
TagsAssetType[] |
getAssetTypes(java.lang.String languageId)
|
TagsAssetDisplay[] |
getCompanyAssetDisplays(long companyId,
int begin,
int end,
java.lang.String languageId)
|
java.util.List |
getCompanyAssets(long companyId,
int begin,
int end)
|
int |
getCompanyAssetsCount(long companyId)
|
com.liferay.portal.kernel.search.Hits |
search(long companyId,
java.lang.String portletId,
java.lang.String keywords)
|
TagsAssetDisplay[] |
searchAssetDisplays(long companyId,
java.lang.String portletId,
java.lang.String keywords,
java.lang.String languageId,
int begin,
int end)
|
int |
searchAssetDisplaysCount(long companyId,
java.lang.String portletId,
java.lang.String keywords,
java.lang.String languageId)
|
TagsAsset |
updateAsset(long userId,
java.lang.String className,
long classPK,
java.lang.String[] entryNames)
|
TagsAsset |
updateAsset(long userId,
java.lang.String className,
long classPK,
java.lang.String[] entryNames,
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)
|
TagsAsset |
updateTagsAsset(TagsAsset model)
|
void |
validate(java.lang.String className,
java.lang.String[] entryNames)
|
addTagsAsset
public TagsAsset addTagsAsset(TagsAsset model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateTagsAsset
public TagsAsset updateTagsAsset(TagsAsset model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteAsset
public void deleteAsset(long assetId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteAsset
public void deleteAsset(java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteAsset
public void deleteAsset(TagsAsset asset)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getAsset
public TagsAsset getAsset(long assetId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getAsset
public TagsAsset getAsset(java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getAssetTypes
public TagsAssetType[] getAssetTypes(java.lang.String languageId)
getAssets
public java.util.List getAssets(long[] entryIds,
long[] notEntryIds,
boolean andOperator,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAssets
public java.util.List getAssets(long[] entryIds,
long[] notEntryIds,
boolean andOperator,
java.util.Date publishDate,
java.util.Date expirationDate,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAssetsCount
public int getAssetsCount(long[] entryIds,
long[] notEntryIds,
boolean andOperator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAssetsCount
public int getAssetsCount(long[] entryIds,
long[] notEntryIds,
boolean andOperator,
java.util.Date publishDate,
java.util.Date expirationDate)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCompanyAssetDisplays
public TagsAssetDisplay[] getCompanyAssetDisplays(long companyId,
int begin,
int end,
java.lang.String languageId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getCompanyAssets
public java.util.List getCompanyAssets(long companyId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCompanyAssetsCount
public int getCompanyAssetsCount(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
search
public com.liferay.portal.kernel.search.Hits search(long companyId,
java.lang.String portletId,
java.lang.String keywords)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
searchAssetDisplays
public TagsAssetDisplay[] searchAssetDisplays(long companyId,
java.lang.String portletId,
java.lang.String keywords,
java.lang.String languageId,
int begin,
int end)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
searchAssetDisplaysCount
public 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 TagsAsset updateAsset(long userId,
java.lang.String className,
long classPK,
java.lang.String[] entryNames)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateAsset
public TagsAsset updateAsset(long userId,
java.lang.String className,
long classPK,
java.lang.String[] entryNames,
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)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
validate
public void validate(java.lang.String className,
java.lang.String[] entryNames)
throws com.liferay.portal.PortalException
- Throws:
com.liferay.portal.PortalException