Package org.alfresco.service.cmr.links
Interface LinkInfo
-
- All Superinterfaces:
PermissionCheckValue,java.io.Serializable
- All Known Implementing Classes:
LinkInfoImpl
public interface LinkInfo extends java.io.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 org.alfresco.service.cmr.repository.NodeRefgetContainerNodeRef()java.util.DategetCreatedAt()java.lang.StringgetCreator()java.lang.StringgetDescription()java.util.DategetModifiedAt()org.alfresco.service.cmr.repository.NodeRefgetNodeRef()Get the underlying node value that needs to be permission checked.java.lang.StringgetSystemName()java.util.List<java.lang.String>getTags()java.lang.StringgetTitle()java.lang.StringgetURL()booleanisInternal()Is this a internal link?voidsetDescription(java.lang.String description)Sets the Description of the linkvoidsetInternal(boolean internal)Sets if this is an internal link or notvoidsetTitle(java.lang.String title)Sets the Title of the linkvoidsetURL(java.lang.String url)Sets the URL of the link
-
-
-
Method Detail
-
getNodeRef
org.alfresco.service.cmr.repository.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
org.alfresco.service.cmr.repository.NodeRef getContainerNodeRef()
- Returns:
- the NodeRef of the site container this belongs to
-
getSystemName
java.lang.String getSystemName()
- Returns:
- the System generated name for the link
-
getTitle
java.lang.String getTitle()
- Returns:
- the Title of the link
-
setTitle
void setTitle(java.lang.String title)
Sets the Title of the link
-
getDescription
java.lang.String getDescription()
- Returns:
- the Description of the link
-
setDescription
void setDescription(java.lang.String description)
Sets the Description of the link
-
getURL
java.lang.String getURL()
- Returns:
- the URL of the link
-
setURL
void setURL(java.lang.String url)
Sets the URL of the link
-
getCreator
java.lang.String getCreator()
- Returns:
- the creator of the link
-
getCreatedAt
java.util.Date getCreatedAt()
- Returns:
- the creation date and time
-
getModifiedAt
java.util.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
java.util.List<java.lang.String> getTags()
- Returns:
- the Tags associated with the link
-
-