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 theUser
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 anAuthorizable
and 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.java.util.Iterator<Resource>
getAddresses()
Deprecated.Authorizable
getAuthorizable()
Deprecated.java.lang.String
getAvatarURL(java.lang.String suffix, java.lang.String defaultValue)
Deprecated.Returns the avatar URL of the profile.Resource
getCurrentLocation()
Deprecated.java.lang.String
getFamilyName()
Deprecated.java.lang.String
getFormattedName()
Deprecated.java.lang.String
getGivenName()
Deprecated.java.lang.String
getHonoricPrefix()
Deprecated.java.lang.String
getHonoricSuffix()
Deprecated.java.util.Iterator<Resource>
getMails()
Deprecated.A Profile may contain mulitple E-Mail addresses.java.lang.String
getMiddleName()
Deprecated.java.util.Iterator<Resource>
getOrganizations()
Deprecated.java.lang.String
getPath()
Deprecated.Returns the path of this resourcejava.util.Iterator<Resource>
getPhoneNumbers()
Deprecated.A Profile may contain mulitple Phone numbers addresses.java.util.Iterator<Resource>
getPhotos()
Deprecated.java.lang.String
getPrimaryMail()
Deprecated.java.lang.String
getPrimaryPhone()
Deprecated.java.util.Iterator<Resource>
getURLs()
Deprecated.-
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.- Returns:
- this Profile belongs to
-
getPath
java.lang.String getPath()
Deprecated.Description copied from interface:LabeledResource
Returns the path of this resource- Specified by:
getPath
in interfaceLabeledResource
- Returns:
- Path of the Resource containing the profile data
-
getFamilyName
java.lang.String getFamilyName()
Deprecated.- Returns:
- Family or Last Name or
null
if none
-
getGivenName
java.lang.String getGivenName()
Deprecated.- Returns:
- Given or First Name
null
if none
-
getMiddleName
java.lang.String getMiddleName()
Deprecated.- Returns:
- Given or First Name
null
if none
-
getHonoricPrefix
java.lang.String getHonoricPrefix()
Deprecated.- Returns:
- Honric Prefix like Ph.D
null
if none
-
getHonoricSuffix
java.lang.String getHonoricSuffix()
Deprecated.- Returns:
- Honric Suffix or
null
if none
-
getFormattedName
java.lang.String getFormattedName()
Deprecated.- Returns:
- formatted name of the profile
-
getPrimaryMail
java.lang.String getPrimaryMail()
Deprecated.- Returns:
- e-mail address marked to be primary or
null
if 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-Mail
is contained in one of theResources
contained in this result- Returns:
- all Resources containing detailed properties about mail addresses.
- See Also:
getPrimaryMail()
-
getPrimaryPhone
java.lang.String getPrimaryPhone()
Deprecated.- Returns:
- address marked to be primary or
null
if 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 number
is contained in one of theResources
contained in this result- Returns:
- all Resources containing detailed properties about phone numbers.
- See Also:
getPrimaryPhone()
-
getCurrentLocation
Resource getCurrentLocation()
Deprecated.
-
getAddresses
java.util.Iterator<Resource> getAddresses()
Deprecated.
-
getURLs
java.util.Iterator<Resource> getURLs()
Deprecated.
-
getPhotos
java.util.Iterator<Resource> getPhotos()
Deprecated.
-
getOrganizations
java.util.Iterator<Resource> getOrganizations()
Deprecated.
-
getAccounts
java.util.Iterator<Resource> getAccounts()
Deprecated.
-
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
-
-