com.liferay.portlet.asset.service
Interface AssetLinkLocalService
- All Known Implementing Classes:
- AssetLinkLocalServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface AssetLinkLocalService
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.asset.service.impl.AssetLinkLocalServiceImpl
}.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
AssetLinkLocalServiceUtil
- Generated:
Method Summary |
AssetLink |
addAssetLink(AssetLink assetLink)
|
AssetLink |
addLink(long userId,
long entryId1,
long entryId2,
int type,
int weight)
|
AssetLink |
createAssetLink(long linkId)
|
void |
deleteAssetLink(AssetLink assetLink)
|
void |
deleteAssetLink(long linkId)
|
void |
deleteLink(long linkId)
|
void |
deleteLinks(long entryId)
|
void |
deleteLinks(long entryId1,
long entryId2)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
AssetLink |
getAssetLink(long linkId)
|
java.util.List<AssetLink> |
getAssetLinks(int start,
int end)
|
int |
getAssetLinksCount()
|
java.util.List<AssetLink> |
getLinks(long entryId,
int typeId)
|
java.util.List<AssetLink> |
getReverseLinks(long entryId,
int typeId)
|
AssetLink |
updateAssetLink(AssetLink assetLink)
|
AssetLink |
updateAssetLink(AssetLink assetLink,
boolean merge)
|
addAssetLink
AssetLink addAssetLink(AssetLink assetLink)
throws SystemException
- Throws:
SystemException
createAssetLink
AssetLink createAssetLink(long linkId)
deleteAssetLink
void deleteAssetLink(long linkId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteAssetLink
void deleteAssetLink(AssetLink assetLink)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getAssetLink
@Transactional(propagation=SUPPORTS,
readOnly=true)
AssetLink getAssetLink(long linkId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getAssetLinks
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetLink> getAssetLinks(int start,
int end)
throws SystemException
- Throws:
SystemException
getAssetLinksCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getAssetLinksCount()
throws SystemException
- Throws:
SystemException
updateAssetLink
AssetLink updateAssetLink(AssetLink assetLink)
throws SystemException
- Throws:
SystemException
updateAssetLink
AssetLink updateAssetLink(AssetLink assetLink,
boolean merge)
throws SystemException
- Throws:
SystemException
addLink
AssetLink addLink(long userId,
long entryId1,
long entryId2,
int type,
int weight)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteLink
void deleteLink(long linkId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteLinks
void deleteLinks(long entryId)
throws SystemException
- Throws:
SystemException
deleteLinks
void deleteLinks(long entryId1,
long entryId2)
throws SystemException
- Throws:
SystemException
getLinks
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetLink> getLinks(long entryId,
int typeId)
throws SystemException
- Throws:
SystemException
getReverseLinks
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetLink> getReverseLinks(long entryId,
int typeId)
throws SystemException
- Throws:
SystemException