com.microsoft.tfs.core.clients.workitem.link
Class LinkFactory

java.lang.Object
  extended by com.microsoft.tfs.core.clients.workitem.link.LinkFactory

public class LinkFactory
extends java.lang.Object

Since:
TEE-SDK-10.1

Constructor Summary
LinkFactory()
           
 
Method Summary
static ExternalLink newExternalLink(RegisteredLinkType linkType, ArtifactID artifactId, java.lang.String comment, boolean readOnly)
           
static ExternalLink newExternalLink(RegisteredLinkType linkType, java.lang.String artifactUri, java.lang.String comment, boolean readOnly)
           
static Hyperlink newHyperlink(java.lang.String location, java.lang.String comment, boolean readOnly)
           
static RelatedLink newRelatedLink(WorkItem sourceWorkItem, WorkItem targetWorkItem, int linkTypeId, java.lang.String comment, boolean readOnly)
           
static RelatedLink newRelatedLink(WorkItem sourceWorkItem, WorkItem targetWorkItem, java.lang.String comment, boolean readOnly)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkFactory

public LinkFactory()
Method Detail

newRelatedLink

public static RelatedLink newRelatedLink(WorkItem sourceWorkItem,
                                         WorkItem targetWorkItem,
                                         java.lang.String comment,
                                         boolean readOnly)

newRelatedLink

public static RelatedLink newRelatedLink(WorkItem sourceWorkItem,
                                         WorkItem targetWorkItem,
                                         int linkTypeId,
                                         java.lang.String comment,
                                         boolean readOnly)

newHyperlink

public static Hyperlink newHyperlink(java.lang.String location,
                                     java.lang.String comment,
                                     boolean readOnly)

newExternalLink

public static ExternalLink newExternalLink(RegisteredLinkType linkType,
                                           java.lang.String artifactUri,
                                           java.lang.String comment,
                                           boolean readOnly)

newExternalLink

public static ExternalLink newExternalLink(RegisteredLinkType linkType,
                                           ArtifactID artifactId,
                                           java.lang.String comment,
                                           boolean readOnly)


© 2015 Microsoft. All rights reserved.