|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Common interface for OpenCms launchers. Classes for each customized launcher have to be implemtented.
| Field Summary | |
static int |
C_TYPE_DUMP
Constants used as launcher IDs |
static int |
C_TYPE_JAVASCRIPT
|
static int |
C_TYPE_JSP
|
static int |
C_TYPE_LINK
|
static int |
C_TYPE_PDF
|
static int |
C_TYPE_VELOCITY
|
static int |
C_TYPE_XML
|
| Method Summary | |
void |
clearCache()
|
int |
getLauncherId()
Gets the ID that indicates the type of the launcher. |
void |
initlaunch(CmsObject cms,
CmsFile file,
String startTemplateClass,
A_OpenCms openCms)
Start launch method called by the OpenCms system to show a resource |
void |
setOpenCms(A_OpenCms openCms)
Sets the currently running OpenCms instance. |
| Field Detail |
public static final int C_TYPE_DUMP
public static final int C_TYPE_JAVASCRIPT
public static final int C_TYPE_XML
public static final int C_TYPE_LINK
public static final int C_TYPE_PDF
public static final int C_TYPE_JSP
public static final int C_TYPE_VELOCITY
| Method Detail |
public void clearCache()
public int getLauncherId()
public void initlaunch(CmsObject cms,
CmsFile file,
String startTemplateClass,
A_OpenCms openCms)
throws CmsException
cms - CmsObject Object for accessing system resources.file - CmsFile Object with the selected resource to be shown.startTemplateClass - Name of the template class to start with.openCms - a instance of A_OpenCms for redirect-needs
CmsExceptionpublic void setOpenCms(A_OpenCms openCms)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||