Package lumis.doui.source.field.type
Class PrincipalDataType.Data
- java.lang.Object
-
- lumis.portal.principal.PrincipalConfig
-
- lumis.doui.source.field.type.PrincipalDataType.Data
-
- All Implemented Interfaces:
Cloneable
,Principal
,IRenderable
,ICacheEntry
,ICloneableCacheEntry
- Enclosing class:
- PrincipalDataType
public static class PrincipalDataType.Data extends PrincipalConfig implements IRenderable
Data object for a field with data type principal.- Since:
- 4.0.4
-
-
Field Summary
-
Fields inherited from class lumis.portal.principal.PrincipalConfig
TYPE_GROUP, TYPE_USER, TYPE_USER_SEGMENTATION
-
-
Constructor Summary
Constructors Constructor Description Data(String id, String shortId, String name, int type, int subType)
Data(GroupConfig groupConfig)
Data(PrincipalConfig principalConfig)
Data(UserConfig userConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayString(IRenderer renderer)
Returns the string to be displayed for representing this instance, when a short display is required.String
getRenderData(IRenderer renderer)
Returns the data of this object in a standard xml format.-
Methods inherited from class lumis.portal.principal.PrincipalConfig
clone, equals, getChannelId, getId, getName, getProfileImageHref, getShortId, getSubType, getType, hashCode, setChannelId, setName, setShortId, setSubType, setType, toString
-
-
-
-
Constructor Detail
-
Data
public Data(PrincipalConfig principalConfig)
-
Data
public Data(GroupConfig groupConfig)
-
Data
public Data(UserConfig userConfig)
-
-
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
Description copied from interface:IRenderable
Returns the string to be displayed for representing this instance, when a short display is required.- 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
-
-