org.alfresco.repo.links
Class LinkInfoImpl

java.lang.Object
  extended by org.alfresco.repo.links.LinkInfoImpl
All Implemented Interfaces:
java.io.Serializable, PermissionCheckValue, LinkInfo

public class LinkInfoImpl
extends java.lang.Object
implements LinkInfo

An implementation of LinkInfo

Since:
4.0
See Also:
Serialized Form

Constructor Summary
LinkInfoImpl()
          Creates a new, empty LinkInfo
LinkInfoImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.cmr.repository.NodeRef containerNodeRef, java.lang.String systemName)
          Createa a LinkInfo object from an existing node
 
Method Summary
 org.alfresco.service.cmr.repository.NodeRef getContainerNodeRef()
           
 java.util.Date getCreatedAt()
           
 java.lang.String getCreator()
           
 java.lang.String getDescription()
           
 java.util.Date getModifiedAt()
           
 org.alfresco.service.cmr.repository.NodeRef getNodeRef()
          Get the underlying node value that needs to be permission checked.
 java.lang.String getSystemName()
           
 java.util.List getTags()
           
 java.lang.String getTitle()
           
 java.lang.String getURL()
           
 boolean isInternal()
          Is this a internal link?
 void setCreatedAt(java.util.Date createdAt)
           
 void setCreator(java.lang.String creator)
           
 void setDescription(java.lang.String description)
          Sets the Description of the link
 void setInternal(boolean internal)
          Sets if this is an internal link or not
 void setModifiedAt(java.util.Date modifiedAt)
           
 void setTags(java.util.List tags)
           
 void setTitle(java.lang.String title)
          Sets the Title of the link
 void setURL(java.lang.String url)
          Sets the URL of the link
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkInfoImpl

public LinkInfoImpl()
Creates a new, empty LinkInfo


LinkInfoImpl

public LinkInfoImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef,
                    org.alfresco.service.cmr.repository.NodeRef containerNodeRef,
                    java.lang.String systemName)
Createa a LinkInfo object from an existing node

Method Detail

getContainerNodeRef

public org.alfresco.service.cmr.repository.NodeRef getContainerNodeRef()
Specified by:
getContainerNodeRef in interface LinkInfo
Returns:
the NodeRef of the site container this belongs to

getNodeRef

public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
Description copied from interface: PermissionCheckValue
Get the underlying node value that needs to be permission checked.

Specified by:
getNodeRef in interface PermissionCheckValue
Specified by:
getNodeRef in interface LinkInfo
Returns:
the NodeRef of the underlying link

getSystemName

public java.lang.String getSystemName()
Specified by:
getSystemName in interface LinkInfo
Returns:
the System generated name for the link

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in interface LinkInfo
Returns:
the Title of the link

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface LinkInfo
Returns:
the Description of the link

getURL

public java.lang.String getURL()
Specified by:
getURL in interface LinkInfo
Returns:
the URL of the link

getCreator

public java.lang.String getCreator()
Specified by:
getCreator in interface LinkInfo
Returns:
the creator of the link

getCreatedAt

public java.util.Date getCreatedAt()
Specified by:
getCreatedAt in interface LinkInfo
Returns:
the creation date and time

getModifiedAt

public java.util.Date getModifiedAt()
Specified by:
getModifiedAt in interface LinkInfo
Returns:
the modification date and time

isInternal

public boolean isInternal()
Description copied from interface: LinkInfo
Is this a internal link?

Specified by:
isInternal in interface LinkInfo

getTags

public java.util.List getTags()
Specified by:
getTags in interface LinkInfo
Returns:
the Tags associated with the link

setTitle

public void setTitle(java.lang.String title)
Description copied from interface: LinkInfo
Sets the Title of the link

Specified by:
setTitle in interface LinkInfo

setDescription

public void setDescription(java.lang.String description)
Description copied from interface: LinkInfo
Sets the Description of the link

Specified by:
setDescription in interface LinkInfo

setURL

public void setURL(java.lang.String url)
Description copied from interface: LinkInfo
Sets the URL of the link

Specified by:
setURL in interface LinkInfo

setInternal

public void setInternal(boolean internal)
Description copied from interface: LinkInfo
Sets if this is an internal link or not

Specified by:
setInternal in interface LinkInfo

setCreator

public void setCreator(java.lang.String creator)

setCreatedAt

public void setCreatedAt(java.util.Date createdAt)

setModifiedAt

public void setModifiedAt(java.util.Date modifiedAt)

setTags

public void setTags(java.util.List tags)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.