|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SimpleLinkManager
A manager that looks after generating lists of SimpleLink
and
SimpleLinkSection
.
This should be used in preference over the JiraWebInterfaceManager
as this
is more powerful due to being able produce links via SimpleLinkFactory
. Though the links produced
are more limited than what is available through interacting with JiraWebInterfaceManager directly.
Method Summary | |
---|---|
List<SimpleLink> |
getLinksForSection(String section,
User remoteUser,
JiraHelper jiraHelper)
Gets a list of SimpleLink for the given section. |
List<SimpleLinkSection> |
getSectionsForLocation(String location,
User remoteUser,
JiraHelper jiraHelper)
Gets a list of SimpleLinkSection for the given location. |
boolean |
shouldLocationBeLazy(String location,
User remoteUser,
JiraHelper jiraHelper)
This determines whether a location should be loaded lazily if possible. |
boolean |
shouldSectionBeLazy(String section)
This determines whether an individual section should be loaded lazily if possible. |
Method Detail |
---|
boolean shouldLocationBeLazy(String location, User remoteUser, JiraHelper jiraHelper)
location
- The location to check forremoteUser
- The user that we are generating the list forjiraHelper
- The context under which the list is being generated
boolean shouldSectionBeLazy(String section)
section
- The section to check for
@NotNull List<SimpleLink> getLinksForSection(@NotNull String section, User remoteUser, @NotNull JiraHelper jiraHelper)
SimpleLink
for the given section.
section
- The section to generate teh list forremoteUser
- The user that we are generating the list forjiraHelper
- The context under which the list is being generated
@NotNull List<SimpleLinkSection> getSectionsForLocation(@NotNull String location, User remoteUser, @NotNull JiraHelper jiraHelper)
SimpleLinkSection
for the given location.
location
- The location to generate teh list forremoteUser
- The user that we are generating the list forjiraHelper
- The context under which the list is being generated
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |