|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jetspeed.desktop.impl.JetspeedDesktopImpl
public class JetspeedDesktopImpl
Desktop Valve
Fields inherited from interface org.apache.jetspeed.desktop.JetspeedDesktop |
---|
DEFAULT_DESKTOP_ACTION_PIPELINE_PATH, DEFAULT_DESKTOP_CONFIGURE_PIPELINE_PATH, DEFAULT_DESKTOP_PIPELINE_PATH, DEFAULT_DESKTOP_RENDER_PIPELINE_PATH, DESKTOP_AJAX_REQUEST_PARAMETER, DESKTOP_ENABLED_REQUEST_ATTRIBUTE, DESKTOP_ENCODER_REQUEST_PARAMETER, DESKTOP_ENCODER_REQUEST_PARAMETER_VALUE, DESKTOP_REQUEST_NOT_AJAX_PARAMETER |
Constructor Summary | |
---|---|
JetspeedDesktopImpl(org.apache.jetspeed.decoration.DecorationFactory decorationFactory,
org.apache.jetspeed.headerresource.HeaderResourceFactory headerResourceFactory,
org.apache.jetspeed.cache.JetspeedCache desktopContentCache,
String desktopServletPath,
String defaultLayoutTemplateExtension)
|
|
JetspeedDesktopImpl(org.apache.jetspeed.decoration.DecorationFactory decorationFactory,
org.apache.jetspeed.headerresource.HeaderResourceFactory headerResourceFactory,
org.apache.jetspeed.cache.JetspeedCache desktopContentCache,
String desktopServletPath,
String defaultLayoutTemplateExtension,
String defaultDesktopLayoutDecoration,
String defaultDesktopPortletDecoration)
|
|
JetspeedDesktopImpl(org.apache.jetspeed.decoration.DecorationFactory decorationFactory,
org.apache.jetspeed.headerresource.HeaderResourceFactory headerResourceFactory,
org.apache.jetspeed.cache.JetspeedCache desktopContentCache,
String desktopServletPath,
String defaultLayoutTemplateExtension,
String defaultDesktopLayoutDecoration,
String defaultDesktopPortletDecoration,
org.apache.jetspeed.container.url.BasePortalURL baseUrlAccess)
|
Method Summary | |
---|---|
private void |
addPageEditorSettings(StringBuffer dojoConfigAddOn,
org.apache.jetspeed.decoration.LayoutDecoration desktopLayoutDecoration)
|
private String |
getCachedContent(String cacheKey)
|
String |
getDesktopServletPath()
Desktop servlet path ( e.g. |
org.apache.jetspeed.headerresource.HeaderResourceFactory |
getHeaderResourceFactory()
|
String |
getPortalBaseUrl(org.apache.jetspeed.request.RequestContext context)
Portal base url ( e.g. |
String |
getPortalBaseUrl(org.apache.jetspeed.request.RequestContext context,
boolean encode)
Portal base url ( e.g. |
String |
getPortalResourceUrl(org.apache.jetspeed.request.RequestContext context,
String relativePath)
Portal base url with relativePath argument appended ( e.g. |
String |
getPortalResourceUrl(org.apache.jetspeed.request.RequestContext context,
String relativePath,
boolean encode)
Portal base url with relativePath argument appended ( e.g. |
String |
getPortalUrl(org.apache.jetspeed.request.RequestContext context)
Portal base servlet url ( e.g. |
String |
getPortalUrl(org.apache.jetspeed.request.RequestContext context,
boolean encode)
Portal base servlet url ( e.g. |
String |
getPortalUrl(org.apache.jetspeed.request.RequestContext context,
String relativePath)
Portal base servlet url with relativePath argument appended ( e.g. |
String |
getPortalUrl(org.apache.jetspeed.request.RequestContext context,
String relativePath,
boolean encode)
Portal base servlet url with relativePath argument appended ( e.g. |
private int |
getRandom(Random rnd,
int minValueInclusive,
int maxValueExclusive)
|
private String |
getResourcesAsJavascriptObject(String resourceNamePrefix,
String[] resourceNames,
ResourceBundle messages,
String varName,
String indent,
boolean ifEmptyReturnEmptyString)
|
javax.servlet.ServletContext |
getServletContext()
|
boolean |
isDesktopEnabled(org.apache.jetspeed.request.RequestContext requestContext)
|
private void |
processBooleanFlagProperty(int[] flags,
Object propVal,
Object propValDefault,
int propIsTrueBit)
|
void |
render(org.apache.jetspeed.request.RequestContext request)
|
private void |
setCachedContent(String cacheKey,
String content)
|
void |
setServletContext(javax.servlet.ServletContext servletContext)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final org.apache.commons.logging.Log log
private static final String EOL
private static final String DOJO_CONFIG_LAYOUT_DECORATION_PATH_VAR_NAME
private static final String DOJO_CONFIG_LAYOUT_VAR_NAME
private static final String DOJO_CONFIG_PORTLET_DECORATIONS_PATH_VAR_NAME
private static final String DOJO_CONFIG_PORTLET_DECORATIONS_ALLOWED_VAR_NAME
private static final String DOJO_CONFIG_PORTLET_DECORATIONS_CONFIG_VAR_NAME
private static final String DOJO_CONFIG_ACTION_LABELS_NAME
private static final String DOJO_CONFIG_LOADING_IMGPROPS_NAME
private static final String DOJO_CONFIG_PAGEEDITOR_LABELS_NAME
private static final String DOJO_CONFIG_PAGEEDITOR_DIALOG_LABELS_NAME
private static final String DOJO_CONFIG_PAGEEDITOR_SETTINGS_NAME
private static final String[] DESKTOP_LOADING_PROPERTY_NAMES
private static final String[] DESKTOP_LOADING_OUTPUT_PROPERTY_NAMES
private static final String[] DESKTOP_ACTION_RESOURCE_NAMES
private static final String[] DESKTOP_PAGEEDITOR_RESOURCE_NAMES
private static final String[] DESKTOP_PAGEEDITOR_DIALOG_RESOURCE_NAMES
private static final String DESKTOP_LOADING_NAME_PREFIX
private static final String DESKTOP_ACTION_NAME_PREFIX
private static final String DESKTOP_PAGEEDITOR_NAME_PREFIX
private static final String DESKTOP_LOADING_IMG_NAME_PREFIX
private static final String DESKTOP_ACTION_RESOURCE_NAME_PREFIX
private static final String DESKTOP_PAGEEDITOR_RESOURCE_NAME_PREFIX
private static final String DESKTOP_PAGEEDITOR_DIALOG_RESOURCE_NAME_PREFIX
private static final String DESKTOP_PAGEEDITOR_PAGE_LAYOUT_DECORATOR_EDITABLE
private static final String DESKTOP_PAGEEDITOR_PAGE_LAYOUT_DECORATOR_EDITABLE_DEFAULT
private static final String DESKTOP_PAGEEDITOR_LAYOUT_NAME_EDITABLE
private static final String DESKTOP_PAGEEDITOR_LAYOUT_NAME_EDITABLE_DEFAULT
private static final String DESKTOP_PAGEEDITOR_LAYOUT_COLUMNSIZE_EDITABLE
private static final String DESKTOP_PAGEEDITOR_LAYOUT_COLUMNSIZE_EDITABLE_DEFAULT
private static final String DESKTOP_PAGEEDITOR_PAGE_ADD_ENABLED
private static final String DESKTOP_PAGEEDITOR_PAGE_ADD_ENABLED_DEFAULT
private static final String DESKTOP_PAGEEDITOR_PORTLET_ADD_ENABLED
private static final String DESKTOP_PAGEEDITOR_PORTLET_ADD_ENABLED_DEFAULT
private static final String DESKTOP_PAGEEDITOR_PAGE_PORTLET_DECORATOR_EDITABLE
private static final String DESKTOP_PAGEEDITOR_PAGE_PORTLET_DECORATOR_EDITABLE_DEFAULT
private static final String DESKTOP_PAGEEDITOR_PORTLET_DECORATOR_EDITABLE
private static final String DESKTOP_PAGEEDITOR_PORTLET_DECORATOR_EDITABLE_DEFAULT
private static final String DESKTOP_PAGEEDITOR_MOVEMODE_ISDEFAULT
private static final String DESKTOP_PAGEEDITOR_MOVEMODE_ISDEFAULT_DEFAULT
private static final String DESKTOP_PAGEEDITOR_LAYOUT_NOACTIONS_EDITABLE
private static final String DESKTOP_PAGEEDITOR_LAYOUT_NOACTIONS_EDITABLE_DEFAULT
private static final String DESKTOP_PAGEEDITOR_LAYOUT_NOACTIONS_TOPLEVEL_MOVEABLE
private static final String DESKTOP_PAGEEDITOR_LAYOUT_NOACTIONS_TOPLEVEL_MOVEABLE_DEFAULT
private static final String DESKTOP_PAGEEDITOR_LAYOUT_NOACTIONS_COLUMNSIZE_EDITABLE
private static final String DESKTOP_PAGEEDITOR_LAYOUT_NOACTIONS_COLUMNSIZE_EDITABLE_DEFAULT
private static final String DESKTOP_PAGEEDITOR_LAYOUT_NOACTIONS_EDITOR_ROLE
private static final String DESKTOP_PAGEEDITOR_LAYOUT_NOACTIONS_EDITOR_ROLE_DEFAULT
private static final String DESKTOP_PAGEEDITOR_PAGE_LAYOUT_DEPTH_MAX
private static final int DESKTOP_PAGEEDITOR_PAGE_LAYOUT_DEPTH_MAX_DEFAULT
private static final int DESKTOP_PAGEEDITOR_PAGE_LAYOUT_DEPTH_MAX_RESERVED
private static final int DESKTOP_PAGEEDITOR_PAGE_LAYOUT_DECORATOR_EDITABLE_TRUE
private static final int DESKTOP_PAGEEDITOR_LAYOUT_NAME_EDITABLE_TRUE
private static final int DESKTOP_PAGEEDITOR_LAYOUT_COLUMNSIZE_EDITABLE_TRUE
private static final int DESKTOP_PAGEEDITOR_PAGE_ADD_ENABLED_TRUE
private static final int DESKTOP_PAGEEDITOR_PORTLET_ADD_ENABLED_TRUE
private static final int DESKTOP_PAGEEDITOR_PAGE_PORTLET_DECORATOR_EDITABLE_TRUE
private static final int DESKTOP_PAGEEDITOR_PORTLET_DECORATOR_EDITABLE_TRUE
private static final int DESKTOP_PAGEEDITOR_MOVEMODE_ISDEFAULT_TRUE
private static final int DESKTOP_PAGEEDITOR_LAYOUT_NOACTIONS_EDITABLE_TRUE
private static final int DESKTOP_PAGEEDITOR_LAYOUT_NOACTIONS_TOPLEVEL_MOVEABLE_TRUE
private static final int DESKTOP_PAGEEDITOR_LAYOUT_NOACTIONS_COLUMNSIZE_EDITABLE_TRUE
private org.apache.jetspeed.decoration.DecorationFactory decorationFactory
private String desktopServletPath
private String defaultLayoutTemplateExtension
private javax.servlet.ServletContext servletContext
private org.apache.jetspeed.headerresource.HeaderResourceFactory headerResourceFactory
private org.apache.jetspeed.cache.JetspeedCache desktopContentCache
private org.apache.jetspeed.container.url.BasePortalURL baseUrlAccess
Constructor Detail |
---|
public JetspeedDesktopImpl(org.apache.jetspeed.decoration.DecorationFactory decorationFactory, org.apache.jetspeed.headerresource.HeaderResourceFactory headerResourceFactory, org.apache.jetspeed.cache.JetspeedCache desktopContentCache, String desktopServletPath, String defaultLayoutTemplateExtension)
public JetspeedDesktopImpl(org.apache.jetspeed.decoration.DecorationFactory decorationFactory, org.apache.jetspeed.headerresource.HeaderResourceFactory headerResourceFactory, org.apache.jetspeed.cache.JetspeedCache desktopContentCache, String desktopServletPath, String defaultLayoutTemplateExtension, String defaultDesktopLayoutDecoration, String defaultDesktopPortletDecoration)
public JetspeedDesktopImpl(org.apache.jetspeed.decoration.DecorationFactory decorationFactory, org.apache.jetspeed.headerresource.HeaderResourceFactory headerResourceFactory, org.apache.jetspeed.cache.JetspeedCache desktopContentCache, String desktopServletPath, String defaultLayoutTemplateExtension, String defaultDesktopLayoutDecoration, String defaultDesktopPortletDecoration, org.apache.jetspeed.container.url.BasePortalURL baseUrlAccess)
Method Detail |
---|
public void render(org.apache.jetspeed.request.RequestContext request)
render
in interface org.apache.jetspeed.desktop.JetspeedDesktop
private void addPageEditorSettings(StringBuffer dojoConfigAddOn, org.apache.jetspeed.decoration.LayoutDecoration desktopLayoutDecoration)
private int getRandom(Random rnd, int minValueInclusive, int maxValueExclusive)
private void processBooleanFlagProperty(int[] flags, Object propVal, Object propValDefault, int propIsTrueBit)
private String getCachedContent(String cacheKey)
private void setCachedContent(String cacheKey, String content)
private String getResourcesAsJavascriptObject(String resourceNamePrefix, String[] resourceNames, ResourceBundle messages, String varName, String indent, boolean ifEmptyReturnEmptyString)
public boolean isDesktopEnabled(org.apache.jetspeed.request.RequestContext requestContext)
isDesktopEnabled
in interface org.apache.jetspeed.desktop.JetspeedDesktop
public javax.servlet.ServletContext getServletContext()
public void setServletContext(javax.servlet.ServletContext servletContext)
setServletContext
in interface org.springframework.web.context.ServletContextAware
public org.apache.jetspeed.headerresource.HeaderResourceFactory getHeaderResourceFactory()
getHeaderResourceFactory
in interface org.apache.jetspeed.desktop.JetspeedDesktop
public String getDesktopServletPath()
getDesktopServletPath
in interface org.apache.jetspeed.desktop.JetspeedDesktop
public String getPortalBaseUrl(org.apache.jetspeed.request.RequestContext context)
getPortalBaseUrl
in interface org.apache.jetspeed.desktop.JetspeedDesktop
public String getPortalBaseUrl(org.apache.jetspeed.request.RequestContext context, boolean encode)
getPortalBaseUrl
in interface org.apache.jetspeed.desktop.JetspeedDesktop
public String getPortalResourceUrl(org.apache.jetspeed.request.RequestContext context, String relativePath)
getPortalResourceUrl
in interface org.apache.jetspeed.desktop.JetspeedDesktop
public String getPortalResourceUrl(org.apache.jetspeed.request.RequestContext context, String relativePath, boolean encode)
getPortalResourceUrl
in interface org.apache.jetspeed.desktop.JetspeedDesktop
public String getPortalUrl(org.apache.jetspeed.request.RequestContext context)
getPortalUrl
in interface org.apache.jetspeed.desktop.JetspeedDesktop
public String getPortalUrl(org.apache.jetspeed.request.RequestContext context, boolean encode)
getPortalUrl
in interface org.apache.jetspeed.desktop.JetspeedDesktop
public String getPortalUrl(org.apache.jetspeed.request.RequestContext context, String relativePath)
getPortalUrl
in interface org.apache.jetspeed.desktop.JetspeedDesktop
public String getPortalUrl(org.apache.jetspeed.request.RequestContext context, String relativePath, boolean encode)
getPortalUrl
in interface org.apache.jetspeed.desktop.JetspeedDesktop
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |