Class CmsAccountInfo

java.lang.Object
org.opencms.workplace.CmsAccountInfo

public class CmsAccountInfo extends Object
Account info bean.

  • Constructor Details

    • CmsAccountInfo

      public CmsAccountInfo(CmsAccountInfo.Field field, String addInfoKey, boolean editable)
      Constructor.

      Parameters:
      field - the field
      addInfoKey - the additional info key
      editable - the editable flag
    • CmsAccountInfo

      public CmsAccountInfo(String field, String addInfoKey, String editable)
      Constructor.

      Parameters:
      field - the field
      addInfoKey - the additional info key
      editable - the editable flag
  • Method Details

    • getAddInfoKey

      Returns the additional info key.

      Returns:
      the additional info key
    • getField

      Returns the field.

      Returns:
      the field
    • getValue

      public String getValue(CmsUser user)
      Returns the account info value for the given user.

      Parameters:
      user - the user
      Returns:
      the value
    • isAdditionalInfo

      public boolean isAdditionalInfo()
      Returns whether this is an additional info field.

      Returns:
      true in case of an additional info field
    • isEditable

      public boolean isEditable()
      Returns if the field is editable.

      Returns:
      if the field is editable