Interface Profile

All Superinterfaces:
LabeledResource, Map<String,Object>, PersistableValueMap, ValueMap

public interface Profile extends LabeledResource, PersistableValueMap
Deprecated.
cq 5.5
The Profile is an Extension of the User Properties. While the Authorizable is a Unique entity it may have multiple Profiles. A Profile may be specific for an Application of the CQ-Platform. It is therefore modelled via this Object and not maintained directly on the Authorizable. The relation to an Authorizable and the persistance handling is done by the ProfileManager
See Also:
  • Method Details

    • getAuthorizable

      Authorizable getAuthorizable()
      Deprecated.
      Returns:
      this Profile belongs to
    • getPath

      String getPath()
      Deprecated.
      Description copied from interface: LabeledResource
      Returns the path of this resource
      Specified by:
      getPath in interface LabeledResource
      Returns:
      Path of the Resource containing the profile data
    • getFamilyName

      String getFamilyName()
      Deprecated.
      Returns:
      Family or Last Name or null if none
    • getGivenName

      String getGivenName()
      Deprecated.
      Returns:
      Given or First Name null if none
    • getMiddleName

      String getMiddleName()
      Deprecated.
      Returns:
      Given or First Name null if none
    • getHonoricPrefix

      String getHonoricPrefix()
      Deprecated.
      Returns:
      Honric Prefix like Ph.D null if none
    • getHonoricSuffix

      String getHonoricSuffix()
      Deprecated.
      Returns:
      Honric Suffix or null if none
    • getFormattedName

      String getFormattedName()
      Deprecated.
      Returns:
      formatted name of the profile
    • getPrimaryMail

      String getPrimaryMail()
      Deprecated.
      Returns:
      e-mail address marked to be primary or null if none
    • getMails

      Iterator<Resource> getMails()
      Deprecated.
      A Profile may contain mulitple E-Mail addresses. These multiple addresses are stored in dedicated resources, containing the e-mail address and descriptive data. It is not mandated, that the primary E-Mail is contained in one of the Resources contained in this result
      Returns:
      all Resources containing detailed properties about mail addresses.
      See Also:
    • getPrimaryPhone

      String getPrimaryPhone()
      Deprecated.
      Returns:
      address marked to be primary or null if none
    • getPhoneNumbers

      Iterator<Resource> getPhoneNumbers()
      Deprecated.
      A Profile may contain mulitple Phone numbers addresses. These multiple phone numbers are stored in dedicated resources, containing the number and descriptive data. It is not mandated, that the primary phone number is contained in one of the Resources contained in this result
      Returns:
      all Resources containing detailed properties about phone numbers.
      See Also:
    • getCurrentLocation

      Resource getCurrentLocation()
      Deprecated.
    • getAddresses

      Iterator<Resource> getAddresses()
      Deprecated.
    • getURLs

      Iterator<Resource> getURLs()
      Deprecated.
    • getPhotos

      Iterator<Resource> getPhotos()
      Deprecated.
    • getOrganizations

      Iterator<Resource> getOrganizations()
      Deprecated.
    • getAccounts

      Iterator<Resource> getAccounts()
      Deprecated.
    • getAvatarURL

      String getAvatarURL(String suffix, String defaultValue)
      Deprecated.
      Returns the avatar URL of the profile.
      Parameters:
      suffix - Suffix to append to the avatar URL
      defaultValue - Default value if Profile has no avatar
      Returns:
      avatar URL or the default value