|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jalios.jcmsplugin.virtualdesktop.Service
public class Service
Service of a virtual desktop. Used for virtual desktop's layout and serialization.
Constructor Summary | |
---|---|
Service()
|
Method Summary | |
---|---|
String |
getColor()
Retrieve the current color scheme of this Service. |
String |
getEditJsp()
Retrieves the jsp edit template to use to edit options of this Service. |
Map<String,String> |
getFieldsValuesMap()
Retrieves the map of custom fields'values defined for this Service instance. |
String |
getFieldValue(String name)
Retrieves the value associated to the specified field's name |
static Service |
getFromRequest(javax.servlet.http.HttpServletRequest request)
Retrieve the service available in the current request, if any. |
String |
getId()
Retrieves the id of this desktopElement |
Portlet |
getPortlet()
Retrieves the underlying portlet used by this Service. |
String |
getPortletId()
Retrieves the id of the portlet used by this Service. |
String |
getShortName()
Returns the short name of this class to use of all instance. |
String |
getTitle()
|
void |
putInRequest(javax.servlet.http.HttpServletRequest request)
Set this service in the current request for custom field overloading. |
void |
removeFromRequest(javax.servlet.http.HttpServletRequest request)
Remove this service from request. |
void |
setColor(String color)
Set the color scheme of this Service. |
void |
setFieldValue(String name,
String value)
Set the value of the specified field for this Service. |
void |
setPortlet(Portlet portlet)
Set the portlet to use for this Service. |
void |
setPortlet(String portletId)
Set the portlet to use for this Service. |
void |
setTitle(String title)
Set the title of this Service |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Service()
Method Detail |
---|
public String getShortName()
public String toString()
public String getTitle()
public void setTitle(String title)
title
- any string.public Portlet getPortlet()
public void setPortlet(Portlet portlet)
portlet
- any portletpublic void setPortlet(String portletId)
portletId
- a portlet id (can be virtual id).public String getPortletId()
setPortlet(String)
with a virtual id).public String getEditJsp()
"plugins/VirtualDesktopPlugin/jsp/serviceEdit.jsp"
), never returns null.public void setColor(String color)
color
- a color scheme css namepublic String getColor()
public Map<String,String> getFieldsValuesMap()
public void setFieldValue(String name, String value)
name
- the field's name (must not be null)value
- any valuepublic String getFieldValue(String name)
name
- the field's name (must not be null)
public void putInRequest(javax.servlet.http.HttpServletRequest request)
request
- the current HttpServletRequestpublic void removeFromRequest(javax.servlet.http.HttpServletRequest request)
request
- the current HttpServletRequestpublic static Service getFromRequest(javax.servlet.http.HttpServletRequest request)
request
- the current HttpServletRequest
putInRequest(HttpServletRequest)
public final String getId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |