com.liferay.portlet.tags.service
Interface TagsAssetService
- public interface TagsAssetService
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.TagsAssetServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
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:
TagsAssetServiceFactory
,
TagsAssetServiceUtil
Method Summary |
void |
deleteAsset(long assetId)
|
TagsAsset |
getAsset(long assetId)
|
java.lang.String |
getAssetsRSS(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 max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL)
|
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)
|
java.lang.String |
getCompanyAssetsRSS(long companyId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL)
|
TagsAsset |
incrementViewCounter(java.lang.String className,
long classPK)
|
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 groupId,
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,
java.lang.Integer priority)
|
deleteAsset
public void deleteAsset(long assetId)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getAsset
public TagsAsset getAsset(long assetId)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getAssetsRSS
public java.lang.String getAssetsRSS(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 max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getAssetTypes
public TagsAssetType[] getAssetTypes(java.lang.String languageId)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getCompanyAssetDisplays
public TagsAssetDisplay[] getCompanyAssetDisplays(long companyId,
int begin,
int end,
java.lang.String languageId)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getCompanyAssets
public java.util.List getCompanyAssets(long companyId,
int begin,
int end)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
getCompanyAssetsCount
public int getCompanyAssetsCount(long companyId)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
getCompanyAssetsRSS
public java.lang.String getCompanyAssetsRSS(long companyId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
incrementViewCounter
public TagsAsset incrementViewCounter(java.lang.String className,
long classPK)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
searchAssetDisplays
public TagsAssetDisplay[] searchAssetDisplays(long companyId,
java.lang.String portletId,
java.lang.String keywords,
java.lang.String languageId,
int begin,
int end)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
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 java.rmi.RemoteException,
com.liferay.portal.SystemException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
updateAsset
public TagsAsset updateAsset(long groupId,
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,
java.lang.Integer priority)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException