Package org.opencms.workplace
Class CmsWorkplaceUserInfoEntry
- java.lang.Object
-
- org.opencms.workplace.CmsWorkplaceUserInfoEntry
-
public final class CmsWorkplaceUserInfoEntry extends java.lang.Object
Represents an user additional information entry.- Since:
- 6.5.6
-
-
Constructor Summary
Constructors Constructor Description CmsWorkplaceUserInfoEntry(java.lang.String key, java.lang.String type, java.lang.String widget, java.lang.String params, java.lang.String optional)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>
getClassType()
Returns the class type.java.lang.String
getKey()
Returns the key.java.lang.String
getOptional()
Returns the optional flag.java.lang.String
getParams()
Returns the configured widget parameters.java.lang.String
getType()
Returns the configured class name type.java.lang.String
getWidget()
Returns the widget class name.I_CmsWidget
getWidgetObject()
Returns a new widget object.boolean
isOptional()
Returns the optional flag.
-
-
-
Constructor Detail
-
CmsWorkplaceUserInfoEntry
public CmsWorkplaceUserInfoEntry(java.lang.String key, java.lang.String type, java.lang.String widget, java.lang.String params, java.lang.String optional)
Default constructor.- Parameters:
key
- the key for this entrytype
- the class name of the stored data typewidget
- the widget to useparams
- the widget parametersoptional
- if this entry is optional
-
-
Method Detail
-
getKey
public java.lang.String getKey()
Returns the key.- Returns:
- the key
-
getWidget
public java.lang.String getWidget()
Returns the widget class name.- Returns:
- the widget class name
-
getWidgetObject
public I_CmsWidget getWidgetObject()
Returns a new widget object.- Returns:
- a new widget object
-
getOptional
public java.lang.String getOptional()
Returns the optional flag.- Returns:
- the optional flag
-
isOptional
public boolean isOptional()
Returns the optional flag.- Returns:
- the optional flag
-
getParams
public java.lang.String getParams()
Returns the configured widget parameters.- Returns:
- the configured widget parameters
-
getType
public java.lang.String getType()
Returns the configured class name type.- Returns:
- the configured class name type
-
getClassType
public java.lang.Class<?> getClassType()
Returns the class type.- Returns:
- the class type
-
-