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)
|
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)
|
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(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)
|
deleteAsset
public void deleteAsset(long assetId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
java.rmi.RemoteException
getAsset
public TagsAsset getAsset(long assetId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
java.rmi.RemoteException
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 com.liferay.portal.SystemException,
com.liferay.portal.PortalException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
java.rmi.RemoteException
getCompanyAssets
public java.util.List getCompanyAssets(long companyId,
int begin,
int end)
throws com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException
getCompanyAssetsCount
public int getCompanyAssetsCount(long companyId)
throws com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException
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,
java.rmi.RemoteException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
java.rmi.RemoteException
searchAssetDisplaysCount
public int searchAssetDisplaysCount(long companyId,
java.lang.String portletId,
java.lang.String keywords,
java.lang.String languageId)
throws com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException
updateAsset
public TagsAsset updateAsset(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,
java.rmi.RemoteException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
java.rmi.RemoteException