com.liferay.portlet.asset.service
Class AssetLinkLocalServiceUtil
java.lang.Object
com.liferay.portlet.asset.service.AssetLinkLocalServiceUtil
public class AssetLinkLocalServiceUtil
- 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
AssetLinkLocalService 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.
- Author:
- Brian Wing Shun Chan
- See Also:
AssetLinkLocalService- Generated:
|
Method Summary |
static AssetLink |
addAssetLink(AssetLink assetLink)
|
static AssetLink |
addLink(long userId,
long entryId1,
long entryId2,
int type,
int weight)
|
static AssetLink |
createAssetLink(long linkId)
|
static void |
deleteAssetLink(AssetLink assetLink)
|
static void |
deleteAssetLink(long linkId)
|
static void |
deleteLink(long linkId)
|
static void |
deleteLinks(long entryId)
|
static void |
deleteLinks(long entryId1,
long entryId2)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static int |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static AssetLink |
getAssetLink(long linkId)
|
static java.util.List<AssetLink> |
getAssetLinks(int start,
int end)
|
static int |
getAssetLinksCount()
|
static java.util.List<AssetLink> |
getLinks(long entryId,
int typeId)
|
static java.util.List<AssetLink> |
getReverseLinks(long entryId,
int typeId)
|
static AssetLinkLocalService |
getService()
|
void |
setService(AssetLinkLocalService service)
|
static AssetLink |
updateAssetLink(AssetLink assetLink)
|
static AssetLink |
updateAssetLink(AssetLink assetLink,
boolean merge)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetLinkLocalServiceUtil
public AssetLinkLocalServiceUtil()
addAssetLink
public static AssetLink addAssetLink(AssetLink assetLink)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
createAssetLink
public static AssetLink createAssetLink(long linkId)
deleteAssetLink
public static void deleteAssetLink(long linkId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteAssetLink
public static void deleteAssetLink(AssetLink assetLink)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQueryCount
public static int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getAssetLink
public static AssetLink getAssetLink(long linkId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getAssetLinks
public static java.util.List<AssetLink> getAssetLinks(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getAssetLinksCount
public static int getAssetLinksCount()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateAssetLink
public static AssetLink updateAssetLink(AssetLink assetLink)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateAssetLink
public static AssetLink updateAssetLink(AssetLink assetLink,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addLink
public static AssetLink addLink(long userId,
long entryId1,
long entryId2,
int type,
int weight)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteLink
public static void deleteLink(long linkId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteLinks
public static void deleteLinks(long entryId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
deleteLinks
public static void deleteLinks(long entryId1,
long entryId2)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getLinks
public static java.util.List<AssetLink> getLinks(long entryId,
int typeId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getReverseLinks
public static java.util.List<AssetLink> getReverseLinks(long entryId,
int typeId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getService
public static AssetLinkLocalService getService()
setService
public void setService(AssetLinkLocalService service)