|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<JasperFileLinkService>
fr.paris.lutece.plugins.jasper.service.JasperFileLinkService
public enum JasperFileLinkService
Enum Constant Summary | |
---|---|
INSTANCE
Implementation of a singleton instance |
Method Summary | |
---|---|
static byte[] |
exportFile(javax.servlet.http.HttpServletRequest request)
Exports the files in a byte array |
static byte[] |
exportFile(javax.servlet.http.HttpServletRequest request,
java.lang.String strJasperName)
|
static java.lang.String |
getFileName(javax.servlet.http.HttpServletRequest request)
|
java.lang.String |
getKey(javax.servlet.http.HttpServletRequest request)
Gets the cache key |
static java.lang.String |
getLink(java.lang.String strReportId,
java.lang.String strType)
|
java.util.List<java.lang.String> |
getValues(javax.servlet.http.HttpServletRequest request)
Extracts values from the Http request |
static JasperFileLinkService |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static JasperFileLinkService[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final JasperFileLinkService INSTANCE
Method Detail |
---|
public static JasperFileLinkService[] values()
for (JasperFileLinkService c : JasperFileLinkService.values()) System.out.println(c);
public static JasperFileLinkService valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static java.lang.String getLink(java.lang.String strReportId, java.lang.String strType)
public static byte[] exportFile(javax.servlet.http.HttpServletRequest request)
request
- The Http request
public static byte[] exportFile(javax.servlet.http.HttpServletRequest request, java.lang.String strJasperName)
public static java.lang.String getFileName(javax.servlet.http.HttpServletRequest request)
request
-
public java.util.List<java.lang.String> getValues(javax.servlet.http.HttpServletRequest request)
request
- The Http request
public java.lang.String getKey(javax.servlet.http.HttpServletRequest request)
nMode
- The moderequest
- The HTTP request
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |