Package org.opencms.workplace
Class CmsWorkplaceUserInfoBlock
- java.lang.Object
-
- org.opencms.workplace.CmsWorkplaceUserInfoBlock
-
public final class CmsWorkplaceUserInfoBlock extends java.lang.Object
Represents an user additional information block.- Since:
- 6.5.6
-
-
Constructor Summary
Constructors Constructor Description CmsWorkplaceUserInfoBlock()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEntry(java.lang.String key, java.lang.String type, java.lang.String widget, java.lang.String params, java.lang.String optional)
Creates a new entry.java.util.List<CmsWorkplaceUserInfoEntry>
getEntries()
Returns a list of all configured additional information entries.java.lang.String
getTitle()
Returns the title.void
setTitle(java.lang.String title)
Sets the title.
-
-
-
Constructor Detail
-
CmsWorkplaceUserInfoBlock
public CmsWorkplaceUserInfoBlock()
Default constructor.
-
-
Method Detail
-
addEntry
public void addEntry(java.lang.String key, java.lang.String type, java.lang.String widget, java.lang.String params, java.lang.String optional)
Creates a new entry.- Parameters:
key
- the additional information keytype
- the class name of the stored data typewidget
- the widget class nameparams
- the widget parametersoptional
- if optional
-
getEntries
public java.util.List<CmsWorkplaceUserInfoEntry> getEntries()
Returns a list of all configured additional information entries.- Returns:
- a list of
CmsWorkplaceUserInfoEntry
objects
-
getTitle
public java.lang.String getTitle()
Returns the title.- Returns:
- the title
-
setTitle
public void setTitle(java.lang.String title)
Sets the title.- Parameters:
title
- the title to set
-
-