Pacchetto SCFUtilities
Metodi in com.adobe.cq.social. utilities.scf.api.SCFUtilites |
---|
Stringa getAvatar(UserProperties userProperties) |
String getAvatar(UserProperties userProperties, int size) |
String getAvatar(UserProperties userProperties, String absoluteDefaultAvatar) |
String getAvatar(UserProperties userProperties, String absoluteDefaultAvatar, SocialUtils.AVATAR_SIZE) |
Page getContainingPage(Resource resource) |
Stringa getSocialProfileURL(nome utente stringa, risolutore ResourceResolver, pagina Pagina) |
UserProperties getUserProperties(ResourceResolver resolver, String userId) |
Solo per uso interno
booleano canAddNode(Session session, String path) |
---|
String createUniqueNameHint(String message) |
String createUniqueNameHint(String message, int numRandomChars) |
String generateRandomString(int length) |
GetDefaultStorageConfig() di SocialResourceConfiguration |
Page getPage(Percorso stringa, Risolutore risorse) |
Stringa getPagePath(risorsa) |
String getPagePath(String path) |
String getResourceTypeForIncludedResource(componente Resource, String defaultResourceType, String designPropertyName) |
String getResourceTypeFromDesign(Resource, String styleProperty, String defaultValue) |
booleano isResourceOwner(Resource resource) |
Stringa mapUGCPath(Risorsa) |
String mapUGCPath(String ugcPath, ResourceResolver resolver) |
booleano mayPost(ResourceResolver resolver, risorsa Resource) |
String preparationUserGeneratedContent(ResourceResolver resolver, percorso stringa) |