Merged 5.2.N (5.2.1) to HEAD (5.2)

129187 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      129004 adavis: REPO-243 People Live Search
         - First cut of this code
         - Includes a re-factor of the code used by GET /queries/live-search-nodes as there is much in common.
         - Still have some tests to write and there are bound to be comments from the review.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129361 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alexandru Epure
2016-08-09 14:15:47 +00:00
parent c6fa0fd2f6
commit 9927a7ae60
10 changed files with 906 additions and 235 deletions

View File

@@ -47,16 +47,12 @@ public class PersonInfo
String location, String tel, String mob, String instantmsg,
String google)
{
super();
if(username == null)
{
throw new IllegalArgumentException();
}
super();
setUsername(username);
this.company = company;
this.networkAdmin = false;
this.firstName = firstName;
this.lastName = lastName;
this.username = username;
this.password = password;
this.skype = skype;
this.location = location;
@@ -64,7 +60,16 @@ public class PersonInfo
this.mob = mob;
this.instantmsg = instantmsg;
this.google = google;
}
}
void setUsername(String username)
{
if (username == null)
{
throw new IllegalArgumentException();
}
this.username = username;
}
public boolean isNetworkAdmin()
{