Package org.alfresco.service.cmr.links
Interface LinksService
- All Known Implementing Classes:
LinksServiceImpl
public interface LinksService
The Links service.
- Since:
- 4.0
- Author:
- Nick Burch
-
Method Summary
Modifier and TypeMethodDescriptioncreateLink(String siteShortName, String title, String description, String url, boolean internal) Creates a newLinkInfoin the given site, with the specified settingsvoiddeleteLink(LinkInfo link) Deletes an existingLinkInfofrom the repositoryorg.alfresco.query.PagingResults<LinkInfo>findLinks(String siteShortName, String user, Date from, Date to, String tag, org.alfresco.query.PagingRequest paging) Finds allLinkInfoinstances indexed in the repository for the given site, created by the specified user in the specified date range, with the given tagRetrieves an existingLinkInfofrom the repositoryorg.alfresco.query.PagingResults<LinkInfo>Retrieves allLinkInfoinstances in the repository for the given site and the specified user.org.alfresco.query.PagingResults<LinkInfo>Retrieves allLinkInfoinstances in the repository for the given site, created in the specified date rangeorg.alfresco.query.PagingResults<LinkInfo>Retrieves allLinkInfoinstances in the repository for the given site.updateLink(LinkInfo link) Updates an existingLinkInfoin the repository.
-
Method Details
-
createLink
@NotAuditable LinkInfo createLink(String siteShortName, String title, String description, String url, boolean internal) Creates a newLinkInfoin the given site, with the specified settings- Returns:
- The newly created
LinkInfo
-
updateLink
Updates an existingLinkInfoin the repository.- Returns:
- The updated
LinkInfo
-
deleteLink
Deletes an existingLinkInfofrom the repository -
getLink
Retrieves an existingLinkInfofrom the repository -
listLinks
@NotAuditable org.alfresco.query.PagingResults<LinkInfo> listLinks(String siteShortName, org.alfresco.query.PagingRequest paging) Retrieves allLinkInfoinstances in the repository for the given site. -
listLinks
@NotAuditable org.alfresco.query.PagingResults<LinkInfo> listLinks(String siteShortName, String user, org.alfresco.query.PagingRequest paging) Retrieves allLinkInfoinstances in the repository for the given site and the specified user. -
listLinks
@NotAuditable org.alfresco.query.PagingResults<LinkInfo> listLinks(String siteShortName, Date from, Date to, org.alfresco.query.PagingRequest paging) Retrieves allLinkInfoinstances in the repository for the given site, created in the specified date range -
findLinks
@NotAuditable org.alfresco.query.PagingResults<LinkInfo> findLinks(String siteShortName, String user, Date from, Date to, String tag, org.alfresco.query.PagingRequest paging) Finds allLinkInfoinstances indexed in the repository for the given site, created by the specified user in the specified date range, with the given tag
-