<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to get LockOwner's full name? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-lockowner-s-full-name/m-p/121952#M85915</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In the web-client, 99% of the public services can be obtained through the ServiceRegistry, which is obtained via the client Repository static helper class. You will see the pattern used quite a bit in client code, but not in the JSF beans (which use Spring injection of the specific services). So in the Node class there is already a helper to get the ServiceRegistry, just call:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;getServiceRegistry().getPersonService()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Sep 2007 09:13:34 GMT</pubDate>
    <dc:creator>kevinr</dc:creator>
    <dc:date>2007-09-28T09:13:34Z</dc:date>
    <item>
      <title>How to get LockOwner's full name?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-lockowner-s-full-name/m-p/121949#M85912</link>
      <description>Hi, I just wondering is there any way to get the full name of a lockowner? As a the username of a lockowner can be obtained by using the following code in the Node class&lt;IMG id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;bject obj = getProperties().get(ContentModel.PROP_LOCK_OWNER);So is there any method using username to get the fullname of that u</description>
      <pubDate>Thu, 27 Sep 2007 06:13:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-lockowner-s-full-name/m-p/121949#M85912</guid>
      <dc:creator>ddong</dc:creator>
      <dc:date>2007-09-27T06:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to get LockOwner's full name?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-lockowner-s-full-name/m-p/121950#M85913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes you can use the PersonService to get the Person node that represents that username. Then you can get the properties from that node such as "cm:firstName" and "cm:lastName" to build up the full name string.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2007 16:29:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-lockowner-s-full-name/m-p/121950#M85913</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-09-27T16:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to get LockOwner's full name?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-lockowner-s-full-name/m-p/121951#M85914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, Kevin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am just wondering how can I reference the PersonService in the Node class? or need I to construct a new PersonService instance?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2007 23:20:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-lockowner-s-full-name/m-p/121951#M85914</guid>
      <dc:creator>ddong</dc:creator>
      <dc:date>2007-09-27T23:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to get LockOwner's full name?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-lockowner-s-full-name/m-p/121952#M85915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In the web-client, 99% of the public services can be obtained through the ServiceRegistry, which is obtained via the client Repository static helper class. You will see the pattern used quite a bit in client code, but not in the JSF beans (which use Spring injection of the specific services). So in the Node class there is already a helper to get the ServiceRegistry, just call:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;getServiceRegistry().getPersonService()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2007 09:13:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-lockowner-s-full-name/m-p/121952#M85915</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-09-28T09:13:34Z</dc:date>
    </item>
  </channel>
</rss>

