public final class WebWorkUtil extends Object
| Constructor and Description |
|---|
WebWorkUtil(org.apache.velocity.context.Context ctx) |
| Modifier and Type | Method and Description |
|---|---|
Action |
action(Object aName) |
Object |
bean(Object aName) |
String |
evaluate(String expression) |
String |
execute(Action anAction) |
String |
include(Object aName,
javax.servlet.ServletRequest aRequest,
javax.servlet.ServletResponse aResponse) |
int |
toInt(long aLong) |
long |
toLong(int anInt) |
long |
toLong(String aLong) |
String |
toString(int anInt) |
String |
toString(long aLong) |
public String include(Object aName, javax.servlet.ServletRequest aRequest, javax.servlet.ServletResponse aResponse) throws Exception
Exceptionpublic long toLong(int anInt)
public long toLong(String aLong)
public int toInt(long aLong)
public String toString(long aLong)
public String toString(int anInt)
public String evaluate(String expression) throws IOException, org.apache.velocity.exception.ResourceNotFoundException, org.apache.velocity.exception.MethodInvocationException, org.apache.velocity.exception.ParseErrorException
IOExceptionorg.apache.velocity.exception.ResourceNotFoundExceptionorg.apache.velocity.exception.MethodInvocationExceptionorg.apache.velocity.exception.ParseErrorExceptionCopyright © 2013 Atlassian. All Rights Reserved.