Package org.alfresco.service.cmr.links
Interface LinkInfo
- All Superinterfaces:
PermissionCheckValue,Serializable
- All Known Implementing Classes:
LinkInfoImpl
This class represents a Link in a site
- Since:
- 4.0
- Author:
- Nick Burch
-
Method Summary
Modifier and TypeMethodDescriptionGet the underlying node value that needs to be permission checked.getTags()getTitle()getURL()booleanIs this a internal link?voidsetDescription(String description) Sets the Description of the linkvoidsetInternal(boolean internal) Sets if this is an internal link or notvoidSets the Title of the linkvoidSets the URL of the link
-
Method Details
-
getNodeRef
NodeRef getNodeRef()Description copied from interface:PermissionCheckValueGet the underlying node value that needs to be permission checked.- Specified by:
getNodeRefin interfacePermissionCheckValue- Returns:
- the NodeRef of the underlying link
-
getContainerNodeRef
NodeRef getContainerNodeRef()- Returns:
- the NodeRef of the site container this belongs to
-
getSystemName
String getSystemName()- Returns:
- the System generated name for the link
-
getTitle
String getTitle()- Returns:
- the Title of the link
-
setTitle
Sets the Title of the link -
getDescription
String getDescription()- Returns:
- the Description of the link
-
setDescription
Sets the Description of the link -
getURL
String getURL()- Returns:
- the URL of the link
-
setURL
Sets the URL of the link -
getCreator
String getCreator()- Returns:
- the creator of the link
-
getCreatedAt
Date getCreatedAt()- Returns:
- the creation date and time
-
getModifiedAt
Date getModifiedAt()- Returns:
- the modification date and time
-
isInternal
boolean isInternal()Is this a internal link? -
setInternal
void setInternal(boolean internal) Sets if this is an internal link or not -
getTags
- Returns:
- the Tags associated with the link
-