Person viewer, Integer depth, Person root, boolean standalone,
HttpSession session,int _initialLevel,boolean parentIsOwner,
boolean paste,String serviceAddr,String type,String selectedUri) throws IllegalArgumentException, SecurityException {
//**** updating database according to the information from request.principal ****
SOASynchroniser ss = SOASynchroniser.getInstance(viewer.getURI().toString());
if(!ss.isProcessed())
{
System.out.println("== checking");
//XXX: check later
if(session!=null&&session.getAttribute("sesPerson")!=null)
ss.addPrincipalDataToDB((TomcatPersonImpl)session.getAttribute("sesPerson"));
}
List<Person> persons = new ArrayList<Person>();
persons.add(root);