public abstract class

AbstractVelocityContext

extends Object
java.lang.Object
   ↳ com.atlassian.applinks.ui.velocity.AbstractVelocityContext
Known Direct Subclasses

Class Overview

This Object holds a references to all objects that are used in the velocity templates which list the application links and entity links. Rather than adding a reference to each object in the velocity context, we add one reference to this object to the velocity context. The reason for this is that the confluence specific webwork actions used to render the list application links and entity links screens can't add objects to the velocity context, but the velocity context can access the action which then returns a reference to this object.

Summary

Fields
protected final BatchedJSONi18NBuilderFactory batchedJSONi18NBuilderFactory
protected final String contextPath
protected final DocumentationLinker documentationLinker
protected final InternalHostApplication internalHostApplication
protected final InternalTypeAccessor typeAccessor
Protected Constructors
AbstractVelocityContext(String contextPath, InternalHostApplication internalHostApplication, BatchedJSONi18NBuilderFactory batchedJSONi18NBuilderFactory, InternalTypeAccessor typeAccessor, DocumentationLinker documentationLinker)
Public Methods
String getAppLinksI18n()
String getApplicationName()
String getApplinksDocs()
String getApplinksI18n()
String getBaseUrl()
String getContextPath()
DocumentationLinker getDocLinker()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected final BatchedJSONi18NBuilderFactory batchedJSONi18NBuilderFactory

protected final String contextPath

protected final DocumentationLinker documentationLinker

protected final InternalHostApplication internalHostApplication

protected final InternalTypeAccessor typeAccessor

Protected Constructors

protected AbstractVelocityContext (String contextPath, InternalHostApplication internalHostApplication, BatchedJSONi18NBuilderFactory batchedJSONi18NBuilderFactory, InternalTypeAccessor typeAccessor, DocumentationLinker documentationLinker)

Public Methods

public String getAppLinksI18n ()

public String getApplicationName ()

public String getApplinksDocs ()

public String getApplinksI18n ()

public String getBaseUrl ()

public String getContextPath ()

public DocumentationLinker getDocLinker ()