Package com.day.cq.security.profile
Interface Profile
- 
- All Superinterfaces:
 LabeledResource,java.util.Map<java.lang.String,java.lang.Object>,PersistableValueMap,ValueMap
public interface Profile extends LabeledResource, PersistableValueMap
Deprecated.cq 5.5The Profile is an Extension of theUserProperties. 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 anAuthorizableand the persistance handling is done by theProfileManager- See Also:
 Authorizable,ProfileManager
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.Iterator<Resource>getAccounts()Deprecated.getAccounts.java.util.Iterator<Resource>getAddresses()Deprecated.getAddresses.AuthorizablegetAuthorizable()Deprecated.getAuthorizable.java.lang.StringgetAvatarURL(java.lang.String suffix, java.lang.String defaultValue)Deprecated.Returns the avatar URL of the profile.ResourcegetCurrentLocation()Deprecated.getCurrentLocation.java.lang.StringgetFamilyName()Deprecated.getFamilyName.java.lang.StringgetFormattedName()Deprecated.getFormattedName.java.lang.StringgetGivenName()Deprecated.getGivenName.java.lang.StringgetHonoricPrefix()Deprecated.getHonoricPrefix.java.lang.StringgetHonoricSuffix()Deprecated.getHonoricSuffix.java.util.Iterator<Resource>getMails()Deprecated.A Profile may contain mulitple E-Mail addresses.java.lang.StringgetMiddleName()Deprecated.getMiddleName.java.util.Iterator<Resource>getOrganizations()Deprecated.getOrganizations.java.lang.StringgetPath()Deprecated.getPath.java.util.Iterator<Resource>getPhoneNumbers()Deprecated.A Profile may contain mulitple Phone numbers addresses.java.util.Iterator<Resource>getPhotos()Deprecated.getPhotos.java.lang.StringgetPrimaryMail()Deprecated.getPrimaryMail.java.lang.StringgetPrimaryPhone()Deprecated.getPrimaryPhone.java.util.Iterator<Resource>getURLs()Deprecated.getURLs.- 
Methods inherited from interface com.day.cq.commons.LabeledResource
getDescription, getName, getTitle 
- 
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values 
- 
Methods inherited from interface org.apache.sling.api.resource.PersistableValueMap
reset, save 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getAuthorizable
Authorizable getAuthorizable()
Deprecated.getAuthorizable.
- Returns:
 - this Profile belongs to
 
 
- 
getPath
java.lang.String getPath()
Deprecated.getPath.
- Specified by:
 getPathin interfaceLabeledResource- Returns:
 - Path of the Resource containing the profile data
 
 
- 
getFamilyName
java.lang.String getFamilyName()
Deprecated.getFamilyName.
- Returns:
 - Family or Last Name or 
nullif none 
 
- 
getGivenName
java.lang.String getGivenName()
Deprecated.getGivenName.
- Returns:
 - Given or First Name 
nullif none 
 
- 
getMiddleName
java.lang.String getMiddleName()
Deprecated.getMiddleName.
- Returns:
 - Given or First Name 
nullif none 
 
- 
getHonoricPrefix
java.lang.String getHonoricPrefix()
Deprecated.getHonoricPrefix.
- Returns:
 - Honric Prefix like Ph.D 
nullif none 
 
- 
getHonoricSuffix
java.lang.String getHonoricSuffix()
Deprecated.getHonoricSuffix.
- Returns:
 - Honric Suffix or 
nullif none 
 
- 
getFormattedName
java.lang.String getFormattedName()
Deprecated.getFormattedName.
- Returns:
 - formatted name of the profile
 
 
- 
getPrimaryMail
java.lang.String getPrimaryMail()
Deprecated.getPrimaryMail.
- Returns:
 - e-mail address marked to be primary or 
nullif none 
 
- 
getMails
java.util.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 theprimary E-Mailis contained in one of theResourcescontained in this result- Returns:
 - all Resources containing detailed properties about mail addresses.
 - See Also:
 getPrimaryMail()
 
- 
getPrimaryPhone
java.lang.String getPrimaryPhone()
Deprecated.getPrimaryPhone.
- Returns:
 - address marked to be primary or 
nullif none 
 
- 
getPhoneNumbers
java.util.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 theprimary phone numberis contained in one of theResourcescontained in this result- Returns:
 - all Resources containing detailed properties about phone numbers.
 - See Also:
 getPrimaryPhone()
 
- 
getCurrentLocation
Resource getCurrentLocation()
Deprecated.getCurrentLocation.
- Returns:
 - a 
Resourceobject. 
 
- 
getAddresses
java.util.Iterator<Resource> getAddresses()
Deprecated.getAddresses.
- Returns:
 - a 
Iteratorobject. 
 
- 
getURLs
java.util.Iterator<Resource> getURLs()
Deprecated.getURLs.
- Returns:
 - a 
Iteratorobject. 
 
- 
getPhotos
java.util.Iterator<Resource> getPhotos()
Deprecated.getPhotos.
- Returns:
 - a 
Iteratorobject. 
 
- 
getOrganizations
java.util.Iterator<Resource> getOrganizations()
Deprecated.getOrganizations.
- Returns:
 - a 
Iteratorobject. 
 
- 
getAccounts
java.util.Iterator<Resource> getAccounts()
Deprecated.getAccounts.
- Returns:
 - a 
Iteratorobject. 
 
- 
getAvatarURL
java.lang.String getAvatarURL(java.lang.String suffix, java.lang.String defaultValue)Deprecated.Returns the avatar URL of the profile.- Parameters:
 suffix- Suffix to append to the avatar URLdefaultValue- Default value if Profile has no avatar- Returns:
 - avatar URL or the default value
 
 
 - 
 
 -