|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jalios.jcms.context.AbstractJcmsAjaxContext
com.jalios.jcmsplugin.explorer.Explorer
public class Explorer
| Field Summary | |
|---|---|
static String |
REVISION
|
| Fields inherited from class com.jalios.jcms.context.AbstractJcmsAjaxContext |
|---|
baseUrl, caddy, channel, contextPath, ctxCategories, currentCategory, isAdmin, isIE, isInFrontOffice, isLogged, isWindows, loggedMember, parameterMap, portal, portalCategory, pub, resourcePath, url, userLang, userLocale, workspace, zone |
| Constructor Summary | |
|---|---|
protected |
Explorer(JcmsJspContext ctxt)
Create a new Explorer with a default configuration, and register it in session for later uses through AJAX. |
protected |
Explorer(JcmsJspContext ctxt,
ExplorerConfiguration config)
Create a new Explorer and register it in session for later uses through AJAX. |
| Method Summary | |
|---|---|
ExplorerConfiguration |
getConfiguration()
Retrieve the ExplorerConfiguration used by this Explorer. |
Set |
getContentTypeSet()
Retrieve the content types that can be used for refinement |
static Explorer |
getFromRequest(javax.servlet.http.HttpServletRequest request)
Retrieve the current Explorer instance stored in request attribute. |
String |
getId()
Retrieves the unique id of this explorer for the current session. |
String |
getLinkURL()
Retrieves an URL to the current state of this explorer. |
Publication |
getPreviewedPub()
Retrieves the publication being previewed in this explorer. |
String |
getPreviewLinkCss(Publication pub)
Retrieve the css classes that must be used in a link in order to provide a ajax link to update preview. |
QueryResultSet |
getResultSet()
Computes and retrieve the set of data to be displayed by this Explorer. |
Set |
getStateSet()
Retrieves the workflow states that can be used for refinement |
Set |
getTypeSet()
Retrieves the types that can be used for refinement |
String |
getViewModeCss()
Return the Style Sheet file to use with the current explorer view mode. |
String |
getViewModeJs()
Return the JavaScript file to use with the current explorer view mode. |
String |
getViewModeJsp()
Retrieves the jsp path corresponding to the current view mode of this Explorer |
Set |
getWorkspaceSet()
Retrieves the workspaces that can be used for refinement |
void |
putInRequest(javax.servlet.http.HttpServletRequest request)
Put this Explorer as a request attribute (overwriting any prior Explorer attribute). |
void |
removeFromRequest(javax.servlet.http.HttpServletRequest request)
Remove the current Explorer instance request attribute. |
void |
setPreviewedPub(Publication previewedPub)
Set the publication being previewed in this explorer. |
| Methods inherited from class com.jalios.jcms.context.AbstractJcmsAjaxContext |
|---|
getBaseUrl, getCaddy, getContextPath, getCtxCategories, getCurrentCategory, getLoggedMember, getParameterMap, getPortal, getPortalCategory, getPublication, getResourcePath, getUrl, getUserLang, getUserLocale, getWorkspace, getZone, glp, isAdmin, isInFrontOffice, isLogged, setBaseUrl, setContextPath, setCtxCategories, setCurrentCategory, setJcmsContext, setLoggedMember, setParameterMap, setPortal, setPortalCategory, setPublication, setResourcePath, setUrl, setUserLang, setUserLocale, setWorkspace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String REVISION
| Constructor Detail |
|---|
protected Explorer(JcmsJspContext ctxt)
ctxt - the JcmsJspContext available in the first "standard" request
prior to calling AJAX methods.
protected Explorer(JcmsJspContext ctxt,
ExplorerConfiguration config)
ctxt - the JcmsJspContext available in the first "standard" request
prior to calling AJAX methods.config - the ExplorerConfiguration instance to use for this Explorer,
if null an attempt to retrieve the configuration from the request attribute is made
otherwise a new default configuration is used.| Method Detail |
|---|
public void putInRequest(javax.servlet.http.HttpServletRequest request)
request - the request in which to put this Explorerpublic void removeFromRequest(javax.servlet.http.HttpServletRequest request)
request - the request in which to remove the current Explorerpublic static Explorer getFromRequest(javax.servlet.http.HttpServletRequest request)
request - the request from which to retrieve the request attribute
public String getId()
"explorer{counter}" where
{counter} id a number from 0 to 7.
public ExplorerConfiguration getConfiguration()
public String getViewModeJsp()
"/custom/list.jsp", *WITH begining slash*.public String getViewModeCss()
"custom/list.css", *without begining slash*.public String getViewModeJs()
"custom/list.js", *without begining slash*.public Set getWorkspaceSet()
Workspacepublic Set getTypeSet()
Classpublic Set getStateSet()
WFStatepublic Set getContentTypeSet()
public QueryResultSet getResultSet()
public String getLinkURL()
public Publication getPreviewedPub()
public void setPreviewedPub(Publication previewedPub)
previewedPub - a Publication to preview or null to leave empty.public String getPreviewLinkCss(Publication pub)
pub - the Publication for which the link will be generated
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||