Package org.opencms.workplace
Class CmsAccountInfo
java.lang.Object
org.opencms.workplace.CmsAccountInfo
Account info bean.
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionCmsAccountInfo
(String field, String addInfoKey, String editable) Constructor.CmsAccountInfo
(CmsAccountInfo.Field field, String addInfoKey, boolean editable) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the additional info key.getField()
Returns the field.Returns the account info value for the given user.boolean
Returns whether this is an additional info field.boolean
Returns if the field is editable.
-
Constructor Details
-
CmsAccountInfo
Constructor.- Parameters:
field
- the fieldaddInfoKey
- the additional info keyeditable
- the editable flag
-
CmsAccountInfo
Constructor.- Parameters:
field
- the fieldaddInfoKey
- the additional info keyeditable
- the editable flag
-
-
Method Details
-
getAddInfoKey
Returns the additional info key.- Returns:
- the additional info key
-
getField
Returns the field.- Returns:
- the field
-
getValue
Returns the account info value for the given user.- Parameters:
user
- the user- Returns:
- the value
-
isAdditionalInfo
Returns whether this is an additional info field.- Returns:
true
in case of an additional info field
-
isEditable
Returns if the field is editable.- Returns:
- if the field is editable
-