com.liferay.portlet.asset.service
Class AssetLinkLocalServiceUtil
java.lang.Object
com.liferay.portlet.asset.service.AssetLinkLocalServiceUtil
public class AssetLinkLocalServiceUtil
- extends Object
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.
- See Also:
AssetLinkLocalService- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is 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 List |
dynamicQuery(DynamicQuery dynamicQuery)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
static AssetLink |
getAssetLink(long linkId)
|
static List<AssetLink> |
getAssetLinks(int start,
int end)
|
static int |
getAssetLinksCount()
|
static List<AssetLink> |
getLinks(long entryId,
int typeId)
|
static 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 List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static 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 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 List<AssetLink> getLinks(long entryId,
int typeId)
throws SystemException
- Throws:
SystemException
getReverseLinks
public static List<AssetLink> getReverseLinks(long entryId,
int typeId)
throws SystemException
- Throws:
SystemException
getService
public static AssetLinkLocalService getService()
setService
public void setService(AssetLinkLocalService service)