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 |
dynamicQuery(DynamicQuery dynamicQuery)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(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 SystemException
- Throws:
SystemException
createAssetLink
public static AssetLink createAssetLink(long linkId)
deleteAssetLink
public static void deleteAssetLink(long linkId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteAssetLink
public static void deleteAssetLink(AssetLink assetLink)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
public static long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getAssetLink
public static AssetLink getAssetLink(long linkId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getAssetLinks
public static java.util.List<AssetLink> getAssetLinks(int start,
int end)
throws SystemException
- Throws:
SystemException
getAssetLinksCount
public static int getAssetLinksCount()
throws SystemException
- Throws:
SystemException
updateAssetLink
public static AssetLink updateAssetLink(AssetLink assetLink)
throws SystemException
- Throws:
SystemException
updateAssetLink
public static AssetLink updateAssetLink(AssetLink assetLink,
boolean merge)
throws SystemException
- Throws:
SystemException
addLink
public static AssetLink addLink(long userId,
long entryId1,
long entryId2,
int type,
int weight)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteLink
public static void deleteLink(long linkId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteLinks
public static void deleteLinks(long entryId)
throws SystemException
- Throws:
SystemException
deleteLinks
public static void deleteLinks(long entryId1,
long entryId2)
throws SystemException
- Throws:
SystemException
getLinks
public static java.util.List<AssetLink> getLinks(long entryId,
int typeId)
throws SystemException
- Throws:
SystemException
getReverseLinks
public static java.util.List<AssetLink> getReverseLinks(long entryId,
int typeId)
throws SystemException
- Throws:
SystemException
getService
public static AssetLinkLocalService getService()
setService
public void setService(AssetLinkLocalService service)