com.atlassian.jira.issue.link
Interface IssueLinkTypeManager

All Known Implementing Classes:
DefaultIssueLinkTypeManager

public interface IssueLinkTypeManager


Method Summary
 void createIssueLinkType(java.lang.String name, java.lang.String outward, java.lang.String inward, java.lang.String style)
           
 IssueLinkType getIssueLinkType(java.lang.Long id)
           
 java.util.Collection getIssueLinkTypes()
           
 java.util.Collection getIssueLinkTypesByName(java.lang.String name)
           
 java.util.Collection getIssueLinkTypesByStyle(java.lang.String style)
           
 void removeIssueLinkType(java.lang.Long issueLinkTypeId)
          This method removed the issue link type from the database
WARNING: This method DOES NOT check if there are any existing issue links of this issue link type.
 void updateIssueLinkType(IssueLinkType issueLinkType, java.lang.String name, java.lang.String outward, java.lang.String inward)
           
 

Method Detail

createIssueLinkType

public void createIssueLinkType(java.lang.String name,
                                java.lang.String outward,
                                java.lang.String inward,
                                java.lang.String style)

updateIssueLinkType

public void updateIssueLinkType(IssueLinkType issueLinkType,
                                java.lang.String name,
                                java.lang.String outward,
                                java.lang.String inward)

removeIssueLinkType

public void removeIssueLinkType(java.lang.Long issueLinkTypeId)
This method removed the issue link type from the database
WARNING: This method DOES NOT check if there are any existing issue links of this issue link type. It simply removes the record from the datastore. Use IssueLinkTypeDestroyer to 'nicely' remove the issue link type taking care of exiting issue links.

Parameters:
issueLinkTypeId - the id of the IssueLinkType to remove

getIssueLinkTypes

public java.util.Collection getIssueLinkTypes()

getIssueLinkType

public IssueLinkType getIssueLinkType(java.lang.Long id)

getIssueLinkTypesByName

public java.util.Collection getIssueLinkTypesByName(java.lang.String name)

getIssueLinkTypesByStyle

public java.util.Collection getIssueLinkTypesByStyle(java.lang.String style)


Copyright © 2002-2005 Atlassian. All Rights Reserved.