|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicApi public interface IssueLinkTypeManager
Manages IssueLinkType
s.
Method Summary | |
---|---|
void |
createIssueLinkType(String name,
String outward,
String inward,
String style)
|
IssueLinkType |
getIssueLinkType(Long id)
Returns a user-defined (non-system) issue link type object for the specified ID. |
IssueLinkType |
getIssueLinkType(Long id,
boolean excludeSystemLinks)
|
Collection<IssueLinkType> |
getIssueLinkTypes()
Returns only user-defined (non-system) IssueLinkType objects |
Collection<IssueLinkType> |
getIssueLinkTypes(boolean excludeSystemLinks)
|
Collection<IssueLinkType> |
getIssueLinkTypesByInwardDescription(String desc)
Returns a collection of IssueLinkType s with the given description as the inward description. |
Collection<IssueLinkType> |
getIssueLinkTypesByName(String name)
Returns a collection of IssueLinkType s with the given name. |
Collection<IssueLinkType> |
getIssueLinkTypesByOutwardDescription(String desc)
Returns a collection of IssueLinkType s with the given description as the outward description. |
Collection<IssueLinkType> |
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 |
---|
void createIssueLinkType(String name, String outward, String inward, String style)
void updateIssueLinkType(IssueLinkType issueLinkType, String name, String outward, String inward)
void removeIssueLinkType(Long issueLinkTypeId)
IssueLinkTypeDestroyer
to 'nicely'
remove the issue link type taking care of existing issue links.
issueLinkTypeId
- the id of the IssueLinkType
to removeCollection<IssueLinkType> getIssueLinkTypes()
Collection<IssueLinkType> getIssueLinkTypes(boolean excludeSystemLinks)
excludeSystemLinks
- whether or not to exclude system links
getIssueLinkTypes()
IssueLinkType getIssueLinkType(Long id)
id
- the id
IssueLinkType getIssueLinkType(Long id, boolean excludeSystemLinks)
id
- the id of the issue link typeexcludeSystemLinks
- whether or not to exclude system links
getIssueLinkType(Long)
Collection<IssueLinkType> getIssueLinkTypesByName(String name)
IssueLinkType
s with the given name.
Actually this collection should always have either one or zero elements - it is illegal to have two link types
with the same name.
name
- The name to search for Issue Link Types by.
IssueLinkType
s, or an empty collection if name
isn't a link type.
TODO: Reconsider this method. The GUI enforces unique names.Collection<IssueLinkType> getIssueLinkTypesByInwardDescription(String desc)
IssueLinkType
s with the given description as the inward description.
There is no restriction on inward and outward descriptions being unique across issue link types, which is why this
may return more than one IssueLinkType
.
desc
- the inward description to search on
Collection<IssueLinkType> getIssueLinkTypesByOutwardDescription(String desc)
IssueLinkType
s with the given description as the outward description.
There is no restriction on inward and outward descriptions being unique across issue link types, which is why this
may return more than one IssueLinkType
.
desc
- the outward description to search on
Collection<IssueLinkType> getIssueLinkTypesByStyle(String style)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |