|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jalios.jcmsplugin.virtualdesktop.DesktopUtil
public class DesktopUtil
Static Util class for Desktop related task.
Field Summary | |
---|---|
static String |
EDIT_INLINE_DEFAULT_TEMPLATE_PATH
Default template path for service edition. |
static String |
SERVICE_ABILITY
Portlet's service ability. |
static String |
SERVICE_PREVIEW_ATTRIBUTE
Request attribute indicating if the jsp is being executed as a service preview. |
static String |
USAGE_BOX
Template usage for portlets when portlet are being displayed in a virtual desktop. |
static String |
USAGE_EDIT_INLINE
Template usage for portlets when portlet are being edited in a virtual desktop. |
Constructor Summary | |
---|---|
DesktopUtil()
|
Method Summary | |
---|---|
static TreeSet<generated.AbstractPortletSkinable> |
getServiceablePortletSet(JcmsJspContext jcmsContext)
Retrieve a new set of all portlets which have the service ability. |
static boolean |
isServicePreview(javax.servlet.http.HttpServletRequest request)
Check if the current request state is a service preview execution. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SERVICE_ABILITY
public static final String USAGE_EDIT_INLINE
public static final String EDIT_INLINE_DEFAULT_TEMPLATE_PATH
public static final String USAGE_BOX
public static final String SERVICE_PREVIEW_ATTRIBUTE
Constructor Detail |
---|
public DesktopUtil()
Method Detail |
---|
public static boolean isServicePreview(javax.servlet.http.HttpServletRequest request)
request
- the request to check
SERVICE_PREVIEW_ATTRIBUTE
public static TreeSet<generated.AbstractPortletSkinable> getServiceablePortletSet(JcmsJspContext jcmsContext)
jcmsContext
- current JcmsJspContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |