com.liferay.portlet.asset.service
Interface AssetLinkLocalService
- All Known Implementing Classes:
- AssetLinkLocalServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.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<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
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)
|
int |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
createAssetLink
AssetLink createAssetLink(long linkId)
deleteAssetLink
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
void deleteAssetLink(AssetLink assetLink)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
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
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
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
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetLink> getAssetLinks(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getAssetLinksCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getAssetLinksCount()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateAssetLink
AssetLink updateAssetLink(AssetLink assetLink)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateAssetLink
AssetLink updateAssetLink(AssetLink assetLink,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addLink
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
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
void deleteLinks(long entryId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
deleteLinks
void deleteLinks(long entryId1,
long entryId2)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getLinks
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetLink> getLinks(long entryId,
int typeId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getReverseLinks
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetLink> getReverseLinks(long entryId,
int typeId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException