public class Utils extends Object
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static String |
getCreatedByAvatar(Session session,
ProfileManager profileManager,
Activity activity)
Deprecated.
|
static String |
getCreatedByAvatar(UserPropertiesManager upm,
Activity activity)
Returns the formatted name of the activity creator.
|
static String |
getCreatedByFormattedName(Session session,
ProfileManager profileManager,
Activity activity)
Deprecated.
|
static String |
getCreatedByFormattedName(UserPropertiesManager upm,
Activity activity)
Returns the formatted name of the activity creator.
|
static String |
getFormattedName(Session session,
ProfileManager profileManager,
String authorizableId)
Deprecated.
|
static String |
getFormattedName(UserPropertiesManager upm,
String authorizableId)
Returns the formatted name of an authorizable.
|
@Deprecated public static String getCreatedByFormattedName(Session session, ProfileManager profileManager, Activity activity) throws Exception
getCreatedByFormattedName(com.adobe.granite.security.user.UserPropertiesManager, Activity)
instead.session
- JCR sessionprofileManager
- Profile manager for the profile lookupactivity
- Lookup for this Activity
creatorException
- If exception during profile lookup@Deprecated public static String getCreatedByAvatar(Session session, ProfileManager profileManager, Activity activity) throws Exception
getCreatedByAvatar(com.adobe.granite.security.user.UserPropertiesManager, Activity)
instead.session
- JCR sessionprofileManager
- Profile manager for the profile lookupactivity
- Lookup for this Activity
creatorException
- If exception during profile lookup@Deprecated public static String getFormattedName(Session session, ProfileManager profileManager, String authorizableId) throws Exception
getFormattedName(com.adobe.granite.security.user.UserPropertiesManager, String)
instead.session
- JCR sessionprofileManager
- Profile manager for the profile lookupauthorizableId
- Lookup for this authorizableException
- If exception during profile lookuppublic static String getCreatedByFormattedName(UserPropertiesManager upm, Activity activity) throws Exception
upm
- User Properties manager for the profile lookupactivity
- Lookup for this Activity
creatorException
- If exception during profile lookuppublic static String getCreatedByAvatar(UserPropertiesManager upm, Activity activity) throws Exception
upm
- User Properties manager for the profile lookupactivity
- Lookup for this Activity
creatorException
- If exception during profile lookuppublic static String getFormattedName(UserPropertiesManager upm, String authorizableId) throws Exception
upm
- User Properties manager for the profile lookupauthorizableId
- Lookup for this authorizableException
- If exception during profile lookup"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"