com.liferay.portlet.tags.service
Class TagsAssetServiceUtil
java.lang.Object
com.liferay.portlet.tags.service.TagsAssetServiceUtil
- public class TagsAssetServiceUtil
- 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.TagsAssetService
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.
com.liferay.portlet.tags.service.TagsAssetServiceFactory
is responsible
for the lookup of the bean.
- Author:
- Brian Wing Shun Chan
- See Also:
TagsAssetService
,
TagsAssetServiceFactory
Method Summary |
static void |
deleteAsset(long assetId)
|
static TagsAsset |
getAsset(long assetId)
|
static TagsAssetType[] |
getAssetTypes(java.lang.String languageId)
|
static TagsAssetDisplay[] |
getCompanyAssetDisplays(long companyId,
int begin,
int end,
java.lang.String languageId)
|
static java.util.List |
getCompanyAssets(long companyId,
int begin,
int end)
|
static int |
getCompanyAssetsCount(long companyId)
|
static TagsAssetDisplay[] |
searchAssetDisplays(long companyId,
java.lang.String portletId,
java.lang.String keywords,
java.lang.String languageId,
int begin,
int end)
|
static int |
searchAssetDisplaysCount(long companyId,
java.lang.String portletId,
java.lang.String keywords,
java.lang.String languageId)
|
static 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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TagsAssetServiceUtil
public TagsAssetServiceUtil()
deleteAsset
public static void deleteAsset(long assetId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
getAsset
public static TagsAsset getAsset(long assetId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
getAssetTypes
public static TagsAssetType[] getAssetTypes(java.lang.String languageId)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getCompanyAssetDisplays
public static TagsAssetDisplay[] getCompanyAssetDisplays(long companyId,
int begin,
int end,
java.lang.String languageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
getCompanyAssets
public static 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 static int getCompanyAssetsCount(long companyId)
throws com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException
searchAssetDisplays
public static TagsAssetDisplay[] searchAssetDisplays(long companyId,
java.lang.String portletId,
java.lang.String keywords,
java.lang.String languageId,
int begin,
int end)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
searchAssetDisplaysCount
public static 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 static 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.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException