com.atlassian.jira.issue.link
Interface IssueLinkTypeManager

All Known Implementing Classes:
DefaultIssueLinkTypeManager

public interface IssueLinkTypeManager

Manages IssueLinkTypes.


Method Summary
 void createIssueLinkType(String name, String outward, String inward, String style)
           
 IssueLinkType getIssueLinkType(Long id)
           
 Collection getIssueLinkTypes()
           
 Collection getIssueLinkTypesByName(String name)
           
 Collection getIssueLinkTypesByStyle(String style)
           
 void removeIssueLinkType(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, String name, String outward, String inward)
           
 

Method Detail

createIssueLinkType

public void createIssueLinkType(String name,
                                String outward,
                                String inward,
                                String style)

updateIssueLinkType

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

removeIssueLinkType

public void removeIssueLinkType(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 Collection getIssueLinkTypes()

getIssueLinkType

public IssueLinkType getIssueLinkType(Long id)

getIssueLinkTypesByName

public Collection getIssueLinkTypesByName(String name)
Returns:
A collection of IssueLinkTypes, or an empty collection if name isn't a link type.

getIssueLinkTypesByStyle

public Collection getIssueLinkTypesByStyle(String style)


Copyright © 2002-2006 Atlassian. All Rights Reserved.