java.lang.Object | |
↳ | com.atlassian.jira.plugin.webfragment.DefaultSimpleLinkManager |
![]() |
This class is deprecated.
since 6.3 - use com.atlassian.plugin.web.api.DynamicWebInterfaceManager directly
Default implementation of the SimpleLinkManager This actually uses combines SimpleLinkFactory lists with com.atlassian.plugin.web.descriptors.WebItemModuleDescriptor links and com.atlassian.plugin.web.descriptors.WebSectionModuleDescriptor sections, respecting weights.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets a list of
SimpleLink for the given section. | |||||||||||
Gets a list of
SimpleLink for the given section. | |||||||||||
Gets a list of
SimpleLink for the given section, without
filtering links using the conditions specified for the links. | |||||||||||
Gets a list of
SimpleLinkSection for the given location, that have either web-items or
other web-sections within them. | |||||||||||
Recursively search through our sections within sections within sections within ...
| |||||||||||
Gets a list of
SimpleLinkSection for the given location. | |||||||||||
This determines whether a location should be loaded lazily if possible.
| |||||||||||
This determines whether a section should be loaded lazily if possible.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Gets a list of SimpleLink
for the given section.
section | The section to generate the list for |
---|---|
remoteUser | The user that we are generating the list for |
jiraHelper | The context under which the list is being generated |
Gets a list of SimpleLink
for the given section.
Additionally it adds caching prefix to icon url, if addIconCachinPrefix is true
section | The section to generate the list for |
---|---|
remoteUser | The user that we are generating the list for |
jiraHelper | The context under which the list is being generated |
addIconCachingPrefix | Diecides if relative icon URL will be automatically prefixed |
Gets a list of SimpleLink
for the given section, without
filtering links using the conditions specified for the links. This will effectively return a list of links
without running any security checks.
section | The section to generate the list for |
---|---|
remoteUser | The user that we are generating the list for |
jiraHelper | The context under which the list is being generated |
Gets a list of SimpleLinkSection
for the given location, that have either web-items or
other web-sections within them.
location | The location to generate the list for |
---|---|
remoteUser | The user that we are generating the list for |
jiraHelper | The context under which the list is being generated |
Recursively search through our sections within sections within sections within ... To find a section that contains a link that matches this URL
topLevelSection | The top level section from where to start searching! |
---|---|
URL | The URL for the action e.g. https://jdog.atlassian.com/secure/project/ViewProjects.jspa. We check if this URL contains a web-item's path which is usually something shorter like /secure/project/ViewProjects.jspa |
remoteUser | The user that we are generating the list for |
jiraHelper | The context under which the list is being generated |
Gets a list of SimpleLinkSection
for the given location.
location | The location to generate the list for |
---|---|
remoteUser | The user that we are generating the list for |
jiraHelper | The context under which the list is being generated |
This determines whether a location should be loaded lazily if possible. This loops through all sections for the
location and then retrieves all SimpleLinkFactoryModuleDescriptor
for those sections and sees whether any of the factories say they should be lazy. If any say true, return true.
location | The location to check for |
---|---|
remoteUser | The user that we are generating the list for |
jiraHelper | The context under which the list is being generated |
This determines whether a section should be loaded lazily if possible. DO NOT USE: This method only checks simple link factories and not the web-section. Nothing uses it now and it should not be used in future!
section | The section to check for |
---|