Package lumis.service.resourcescheduler
Class ResourcesDataType.Data
- java.lang.Object
-
- lumis.service.resourcescheduler.ResourcesDataType.Data
-
- All Implemented Interfaces:
IRenderable
- Enclosing class:
- ResourcesDataType
public static class ResourcesDataType.Data extends Object implements IRenderable
Data object for a field with data type Resources.- Since:
- 4.0.11
-
-
Constructor Summary
Constructors Constructor Description Data(Collection<lumis.service.resourcescheduler.Resource> resources)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayString(IRenderer renderer)
Returns the display string, as defined inResourceDataType.Data#getDisplayString(IRenderer)
, of each Resource in this Resources data, separated by comma.String
getRenderData(IRenderer renderer)
Returns the data of this object in a standard xml format.
-
-
-
Constructor Detail
-
Data
public Data(Collection<lumis.service.resourcescheduler.Resource> resources)
-
-
Method Detail
-
getRenderData
public String getRenderData(IRenderer renderer) throws PortalException
Description copied from interface:IRenderable
Returns the data of this object in a standard xml format.- Specified by:
getRenderData
in interfaceIRenderable
- Parameters:
renderer
- the renderer object that will use the returned render data.- Returns:
- the xml data for this object.
- Throws:
PortalException
-
getDisplayString
public String getDisplayString(IRenderer renderer) throws PortalException
Returns the display string, as defined inResourceDataType.Data#getDisplayString(IRenderer)
, of each Resource in this Resources data, separated by comma.- Specified by:
getDisplayString
in interfaceIRenderable
- Parameters:
renderer
- the renderer object that will use the returned render data.- Returns:
- the string to be used to friendly display this instance.
- Throws:
PortalException
- Since:
- 4.0.11
-
-