First cut of User Profile component - basic Edit Form and layout at present, displays User props such as name, location, biography etc.

- TBD: read only view (which will be the initial view), Save Changes, Upload photo.
Alfresco Share logo added to slingshot header area.
Improvements to user meta-data retrieval to return content strings if content properties are found.
AlfrescoUserFactory now retrieves user bio property.
Enhanced FreeMarker template API - added method to test for content properties.
Enhanced script People API - added method to test for admin authority.
Changed User Dashboard default template to two column.
Removed some old files/folders no longer needed in slingshot.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9942 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2008-07-18 15:06:58 +00:00
parent 27bf898758
commit 1fcbb2eca2
3 changed files with 37 additions and 0 deletions

View File

@@ -471,6 +471,18 @@ public abstract class BaseContentNode implements TemplateContent
return (content != null ? content.getSize() : 0L);
}
/**
* Helper to return true if the supplied property value is a TemplateContentData object
*
* @param o Object to test
*
* @return true if instanceof TemplateContentData, false otherwise
*/
public boolean isTemplateContent(Object o)
{
return (o instanceof TemplateContentData);
}
// ------------------------------------------------------------------------------
// Inner classes