mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
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/BRANCHES/DEV/5.2.N/root@129187 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
Reference in New Issue
Block a user