Package org.alfresco.service.cmr.links
Interface LinksService
-
- All Known Implementing Classes:
LinksServiceImpl
public interface LinksServiceThe Links service.- Since:
- 4.0
- Author:
- Nick Burch
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LinkInfocreateLink(java.lang.String siteShortName, java.lang.String title, java.lang.String description, java.lang.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(java.lang.String siteShortName, java.lang.String user, java.util.Date from, java.util.Date to, java.lang.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 tagLinkInfogetLink(java.lang.String siteShortName, java.lang.String linkName)Retrieves an existingLinkInfofrom the repositoryorg.alfresco.query.PagingResults<LinkInfo>listLinks(java.lang.String siteShortName, java.lang.String user, org.alfresco.query.PagingRequest paging)Retrieves allLinkInfoinstances in the repository for the given site and the specified user.org.alfresco.query.PagingResults<LinkInfo>listLinks(java.lang.String siteShortName, java.util.Date from, java.util.Date to, org.alfresco.query.PagingRequest paging)Retrieves allLinkInfoinstances in the repository for the given site, created in the specified date rangeorg.alfresco.query.PagingResults<LinkInfo>listLinks(java.lang.String siteShortName, org.alfresco.query.PagingRequest paging)Retrieves allLinkInfoinstances in the repository for the given site.LinkInfoupdateLink(LinkInfo link)Updates an existingLinkInfoin the repository.
-
-
-
Method Detail
-
createLink
@NotAuditable LinkInfo createLink(java.lang.String siteShortName, java.lang.String title, java.lang.String description, java.lang.String url, boolean internal)
Creates a newLinkInfoin the given site, with the specified settings- Returns:
- The newly created
LinkInfo
-
updateLink
@NotAuditable LinkInfo updateLink(LinkInfo link)
Updates an existingLinkInfoin the repository.- Returns:
- The updated
LinkInfo
-
deleteLink
@NotAuditable void deleteLink(LinkInfo link)
Deletes an existingLinkInfofrom the repository
-
getLink
@NotAuditable LinkInfo getLink(java.lang.String siteShortName, java.lang.String linkName)
Retrieves an existingLinkInfofrom the repository
-
listLinks
@NotAuditable org.alfresco.query.PagingResults<LinkInfo> listLinks(java.lang.String siteShortName, org.alfresco.query.PagingRequest paging)
Retrieves allLinkInfoinstances in the repository for the given site.
-
listLinks
@NotAuditable org.alfresco.query.PagingResults<LinkInfo> listLinks(java.lang.String siteShortName, java.lang.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(java.lang.String siteShortName, java.util.Date from, java.util.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(java.lang.String siteShortName, java.lang.String user, java.util.Date from, java.util.Date to, java.lang.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
-
-