logger.error( "Error while getting view.", e );
return null;
}
Filter filter = new Filter();
filter.where( "user" ).equalTo( user );
List<View> views = sp.loadAll( View.class );
JSONArray arr = new JSONArray();
for ( View v : views ) {
arr.put( v.toJSON() );
}
try {