public class CmsAccountInfo extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CmsAccountInfo.Field
Account info fields.
|
| Constructor and Description |
|---|
CmsAccountInfo(CmsAccountInfo.Field field,
java.lang.String addInfoKey,
boolean editable)
Constructor.
|
CmsAccountInfo(java.lang.String field,
java.lang.String addInfoKey,
java.lang.String editable)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAddInfoKey()
Returns the additional info key.
|
CmsAccountInfo.Field |
getField()
Returns the field.
|
java.lang.String |
getValue(CmsUser user)
Returns the account info value for the given user.
|
boolean |
isAdditionalInfo()
Returns whether this is an additional info field.
|
boolean |
isEditable()
Returns if the field is editable.
|
public CmsAccountInfo(CmsAccountInfo.Field field, java.lang.String addInfoKey, boolean editable)
field - the fieldaddInfoKey - the additional info keyeditable - the editable flagpublic CmsAccountInfo(java.lang.String field, java.lang.String addInfoKey, java.lang.String editable)
field - the fieldaddInfoKey - the additional info keyeditable - the editable flagpublic java.lang.String getAddInfoKey()
public CmsAccountInfo.Field getField()
public java.lang.String getValue(CmsUser user)
user - the userpublic boolean isAdditionalInfo()
true in case of an additional info fieldpublic boolean isEditable()