Package org.alfresco.service.cmr.links
Interface LinkInfo
-
- All Superinterfaces:
PermissionCheckValue,Serializable
- All Known Implementing Classes:
LinkInfoImpl
public interface LinkInfo extends Serializable, PermissionCheckValue
This class represents a Link in a site- Since:
- 4.0
- Author:
- Nick Burch
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NodeRefgetContainerNodeRef()DategetCreatedAt()StringgetCreator()StringgetDescription()DategetModifiedAt()NodeRefgetNodeRef()Get the underlying node value that needs to be permission checked.StringgetSystemName()List<String>getTags()StringgetTitle()StringgetURL()booleanisInternal()Is this a internal link?voidsetDescription(String description)Sets the Description of the linkvoidsetInternal(boolean internal)Sets if this is an internal link or notvoidsetTitle(String title)Sets the Title of the linkvoidsetURL(String url)Sets the URL of the link
-
-
-
Method Detail
-
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
void setTitle(String title)
Sets the Title of the link
-
getDescription
String getDescription()
- Returns:
- the Description of the link
-
setDescription
void setDescription(String description)
Sets the Description of the link
-
getURL
String getURL()
- Returns:
- the URL of the link
-
setURL
void setURL(String url)
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
-
-