Revision: 8126
Author: gwt.mirror...@gmail.com
Date: Thu May 13 09:48:00 2010
Log: updated the large dataset. Plus misc cleanups: nixed unused import,
added copyright header
Patch by: amitmanjhi
Review by: rjrjr (tbr)
Review at http://gwt-code-reviews.appspot.com/521801
http://code.google.com/p/google-web-toolkit/source/detail?r=8126
Modified:
/branches/2.1/bikeshed/scripts/expensesJsonData.txt
/branches/2.1/bikeshed/src/com/google/gwt/sample/expenses/gwt/client/place/ScaffoldPlaceToRecordType.java
/branches/2.1/bikeshed/src/com/google/gwt/sample/expenses/gwt/ui/ListActivitiesMapper.java
=======================================
--- /branches/2.1/bikeshed/scripts/expensesJsonData.txt Wed May 12 04:54:10
2010
+++ /branches/2.1/bikeshed/scripts/expensesJsonData.txt Thu May 13 09:48:00
2010
@@ -1,6706 +1,2126 @@
{"CREATE": [
{"EmployeeRecord": {
"id": "1",
- "department": "Engineering",
- "userName": "iignoranomous",
- "displayName": "Ingrid Ignoranomous"
+ "department": "Sales",
+ "userName": "xkrazy",
+ "displayName": "Xavier Krazy"
}},
{"ReportRecord": {
"id": "2",
- "created": 1270457783871,
+ "created": 1271405827391,
"reporterKey": 1,
- "department": "Engineering",
- "purpose": "Team building diamond cutting offsite",
+ "department": "Sales",
+ "purpose": "Travelling to Zurich",
"notes": "Please bill to the Widgets project"
}},
{"ExpenseRecord": {
- "amount": 108.57,
+ "amount": 44.84,
"id": "3",
- "category": "Air Travel",
- "created": 1272650531874,
- "description": "Flight from ATL to SFO",
+ "category": "Lodging",
+ "created": 1271143675394,
+ "description": "Bed & Breakfast",
"reportId": 2
}},
- {"ExpenseRecord": {
- "amount": 214.99,
+ {"ReportRecord": {
"id": "4",
- "category": "Dining",
- "created": 1268025438874,
- "description": "Breakfast",
- "reportId": 2
+ "created": 1266661480394,
+ "reporterKey": 1,
+ "department": "Sales",
+ "purpose": "Work related visit to Zurich",
+ "notes": "Need approval by Monday"
}},
{"ExpenseRecord": {
- "amount": 218.19,
+ "amount": 43.67,
"id": "5",
"category": "Local Transportation",
- "created": 1271760323874,
+ "created": 1273610331394,
"description": "Taxi fare",
- "reportId": 2
+ "reportId": 4
}},
- {"ReportRecord": {
+ {"EmployeeRecord": {
"id": "6",
- "created": 1266376476874,
- "reporterKey": 1,
- "department": "Engineering",
- "purpose": "ISDN modem for telecommuting",
- "notes": ""
+ "supervisorKey": "1",
+ "department": "Marketing",
+ "userName": "moutstanding",
+ "displayName": "Mike Outstanding"
}},
- {"ExpenseRecord": {
- "amount": 74.65,
+ {"ReportRecord": {
"id": "7",
- "category": "Office Supplies",
- "created": 1273398834874,
- "description": "Paperclips",
- "reportId": 6
+ "created": 1270152749394,
+ "approvedSupervisorKey": "1",
+ "reporterKey": 6,
+ "department": "Marketing",
+ "purpose": "Visting Dusseldorf",
+ "notes": "High priority"
}},
{"ExpenseRecord": {
- "amount": 106.89,
+ "amount": 179.55,
"id": "8",
- "category": "Local Transportation",
- "created": 1273057148874,
- "description": "Bus ticket",
- "reportId": 6
+ "category": "Dining",
+ "created": 1272956022394,
+ "description": "Dinner",
+ "reportId": 7
}},
{"ExpenseRecord": {
- "amount": 207.62,
+ "amount": 106.76,
"id": "9",
- "category": "Air Travel",
- "created": 1273405596874,
- "description": "Flight from SFO to ATL",
- "reportId": 6
+ "category": "Lodging",
+ "created": 1268125650394,
+ "description": "Hotel",
+ "reportId": 7
}},
{"ExpenseRecord": {
- "amount": 39.16,
+ "amount": 28.92,
"id": "10",
"category": "Lodging",
- "created": 1266005294874,
+ "created": 1271971729394,
"description": "Hotel",
- "reportId": 6
+ "reportId": 7
}},
- {"ExpenseRecord": {
- "amount": 61.91,
+ {"ReportRecord": {
"id": "11",
- "category": "Dining",
- "created": 1270242578874,
- "description": "Lunch",
- "reportId": 6
+ "created": 1273548464394,
+ "approvedSupervisorKey": "1",
+ "reporterKey": 6,
+ "department": "Marketing",
+ "purpose": "Paid vacation in Chicago",
+ "notes": ""
}},
- {"ReportRecord": {
+ {"ExpenseRecord": {
+ "amount": 216.78,
"id": "12",
- "created": 1267040869874,
- "reporterKey": 1,
- "department": "Engineering",
- "purpose": "Spending lots of money",
- "notes": "High priority"
+ "category": "Lodging",
+ "created": 1269315546394,
+ "description": "Hotel",
+ "reportId": 11
}},
{"ExpenseRecord": {
- "amount": 127.86,
+ "amount": 60.7,
"id": "13",
- "category": "Local Transportation",
- "created": 1271694564874,
- "description": "Taxi fare",
- "reportId": 12
+ "category": "Office Supplies",
+ "created": 1267944733394,
+ "description": "Scissors",
+ "reportId": 11
}},
- {"ExpenseRecord": {
- "amount": 9.83,
+ {"EmployeeRecord": {
"id": "14",
- "category": "Air Travel",
- "created": 1272145176874,
- "description": "Flight from SFO to ATL",
- "reportId": 12
+ "supervisorKey": "1",
+ "department": "Engineering",
+ "userName": "cfantastic",
+ "displayName": "Catherine Fantastic"
}},
- {"ExpenseRecord": {
- "amount": 22.04,
+ {"ReportRecord": {
"id": "15",
- "category": "Dining",
- "created": 1268462181874,
- "description": "Lunch",
- "reportId": 12
+ "created": 1266413481394,
+ "approvedSupervisorKey": "1",
+ "reporterKey": 14,
+ "department": "Engineering",
+ "purpose": "Work related visit to Frankfurt",
+ "notes": "Review A.S.A.P."
}},
- {"ReportRecord": {
+ {"ExpenseRecord": {
+ "amount": 149.55,
"id": "16",
- "created": 1269658372874,
- "reporterKey": 1,
- "department": "Engineering",
- "purpose": "Money laundering",
- "notes": "High priority"
+ "category": "Air Travel",
+ "created": 1267497060394,
+ "description": "Flight from ATL to SFO",
+ "reportId": 15
}},
{"ExpenseRecord": {
- "amount": 186.96,
+ "amount": 18.59,
"id": "17",
- "category": "Office Supplies",
- "created": 1269457284874,
- "description": "Stapler",
- "reportId": 16
+ "category": "Lodging",
+ "created": 1266220737394,
+ "description": "Hotel",
+ "reportId": 15
}},
{"ReportRecord": {
"id": "18",
- "created": 1269542154874,
- "reporterKey": 1,
+ "created": 1268825170394,
+ "approvedSupervisorKey": "1",
+ "reporterKey": 14,
"department": "Engineering",
- "purpose": "Donut day",
- "notes": "Need approval by Monday"
+ "purpose": "Having fun in Miami",
+ "notes": "Review A.S.A.P."
}},
{"ExpenseRecord": {
- "amount": 122.11,
+ "amount": 138.29,
"id": "19",
- "category": "Office Supplies",
- "created": 1269849719874,
- "description": "Paperclips",
+ "category": "Dining",
+ "created": 1267037253394,
+ "description": "Dinner",
"reportId": 18
}},
- {"ExpenseRecord": {
- "amount": 62.23,
+ {"EmployeeRecord": {
"id": "20",
- "category": "Office Supplies",
- "created": 1267646266874,
- "description": "Scissors",
- "reportId": 18
+ "supervisorKey": "1",
+ "department": "Operations",
+ "userName": "hperfect",
+ "displayName": "Harriot Perfect"
}},
- {"ExpenseRecord": {
- "amount": 39.35,
+ {"ReportRecord": {
"id": "21",
- "category": "Air Travel",
- "created": 1269959670874,
- "description": "Flight from SFO to ATL",
- "reportId": 18
+ "created": 1267355521394,
+ "approvedSupervisorKey": "1",
+ "reporterKey": 20,
+ "department": "Operations",
+ "purpose": "Visting Frankfurt",
+ "notes": "Show me the money"
}},
{"ExpenseRecord": {
- "amount": 12.3,
+ "amount": 64.05,
"id": "22",
- "category": "Lodging",
- "created": 1267478581874,
- "description": "Bed & Breakfast",
- "reportId": 18
+ "category": "Office Supplies",
+ "created": 1273121782394,
+ "description": "Paperclips",
+ "reportId": 21
}},
- {"ReportRecord": {
+ {"ExpenseRecord": {
+ "amount": 121.61,
"id": "23",
- "created": 1272809068874,
- "reporterKey": 1,
- "department": "Engineering",
- "purpose": "Baseball card research",
- "notes": "Review A.S.A.P."
+ "category": "Local Transportation",
+ "created": 1269332013394,
+ "description": "Taxi fare",
+ "reportId": 21
}},
{"ExpenseRecord": {
- "amount": 143.13,
+ "amount": 92.35,
"id": "24",
- "category": "Dining",
- "created": 1270837943874,
- "description": "Lunch",
- "reportId": 23
+ "category": "Air Travel",
+ "created": 1269632750394,
+ "description": "Flight from ATL to SFO",
+ "reportId": 21
}},
- {"ReportRecord": {
+ {"EmployeeRecord": {
"id": "25",
- "created": 1266675399874,
- "reporterKey": 1,
- "department": "Engineering",
- "purpose": "Sushi offsite",
- "notes": "Please bill to the Widgets project"
+ "supervisorKey": "1",
+ "department": "Finance",
+ "userName": "wgreat",
+ "displayName": "Wes Great"
}},
- {"ExpenseRecord": {
- "amount": 137.75,
+ {"ReportRecord": {
"id": "26",
- "category": "Local Transportation",
- "created": 1271252010874,
- "description": "Train fare",
- "reportId": 25
+ "created": 1268892776394,
+ "approvedSupervisorKey": "1",
+ "reporterKey": 25,
+ "department": "Finance",
+ "purpose": "Visting Atlanta",
+ "notes": "Please bill to the Widgets project"
}},
{"ExpenseRecord": {
- "amount": 141.36,
+ "amount": 246.26,
"id": "27",
- "category": "Local Transportation",
- "created": 1267640825874,
- "description": "Taxi fare",
- "reportId": 25
+ "category": "Office Supplies",
+ "created": 1266125698394,
+ "description": "Paperclips",
+ "reportId": 26
}},
- {"ExpenseRecord": {
- "amount": 11.62,
+ {"EmployeeRecord": {
"id": "28",
- "category": "Local Transportation",
- "created": 1272840577874,
- "description": "Taxi fare",
- "reportId": 25
+ "supervisorKey": "25",
+ "department": "Sales",
+ "userName": "sawesome",
+ "displayName": "Sally Awesome"
}},
- {"ExpenseRecord": {
- "amount": 54.5,
+ {"ReportRecord": {
"id": "29",
- "category": "Office Supplies",
- "created": 1267781176874,
- "description": "Scissors",
- "reportId": 25
+ "created": 1269520876394,
+ "approvedSupervisorKey": "25",
+ "reporterKey": 28,
+ "department": "Sales",
+ "purpose": "Travelling to Frankfurt",
+ "notes": "Please bill to the Widgets project"
}},
{"ExpenseRecord": {
- "amount": 97.51,
+ "amount": 18.42,
"id": "30",
"category": "Dining",
- "created": 1269765216874,
- "description": "Breakfast",
- "reportId": 25
+ "created": 1271246936394,
+ "description": "Lunch",
+ "reportId": 29
}},
- {"ReportRecord": {
+ {"ExpenseRecord": {
+ "amount": 111.3,
"id": "31",
- "created": 1267826869874,
- "reporterKey": 1,
- "department": "Engineering",
- "purpose": "Sushi offsite",
- "notes": "Review A.S.A.P."
+ "category": "Office Supplies",
+ "created": 1270778528394,
+ "description": "Stapler",
+ "reportId": 29
}},
- {"ExpenseRecord": {
- "amount": 92.43,
+ {"ReportRecord": {
"id": "32",
- "category": "Dining",
- "created": 1269643746874,
- "description": "Dinner",
- "reportId": 31
+ "created": 1267248402394,
+ "approvedSupervisorKey": "25",
+ "reporterKey": 28,
+ "department": "Sales",
+ "purpose": "Paid vacation in Honolulu",
+ "notes": "Show me the money"
}},
{"ExpenseRecord": {
- "amount": 92.72,
+ "amount": 221.05,
"id": "33",
- "category": "Local Transportation",
- "created": 1271894364874,
- "description": "Bus ticket",
- "reportId": 31
+ "category": "Office Supplies",
+ "created": 1266055738394,
+ "description": "Scissors",
+ "reportId": 32
}},
{"ExpenseRecord": {
- "amount": 232.91,
+ "amount": 32.12,
"id": "34",
- "category": "Air Travel",
- "created": 1270926459874,
- "description": "Flight from SFO to ATL",
- "reportId": 31
+ "category": "Office Supplies",
+ "created": 1269391164394,
+ "description": "Paste",
+ "reportId": 32
}},
- {"ReportRecord": {
+ {"EmployeeRecord": {
"id": "35",
- "created": 1268193735874,
- "reporterKey": 1,
- "department": "Engineering",
- "purpose": "Money laundering",
- "notes": "Need approval by Monday"
+ "supervisorKey": "25",
+ "department": "Marketing",
+ "userName": "tstellar",
+ "displayName": "Terry Stellar"
}},
- {"ExpenseRecord": {
- "amount": 243.7,
+ {"ReportRecord": {
"id": "36",
- "category": "Dining",
- "created": 1272868944874,
- "description": "Dinner",
- "reportId": 35
+ "created": 1268043981394,
+ "approvedSupervisorKey": "25",
+ "reporterKey": 35,
+ "department": "Marketing",
+ "purpose": "Travelling to Delhi",
+ "notes": "High priority"
}},
{"ExpenseRecord": {
- "amount": 96.25,
+ "amount": 66.39,
"id": "37",
+ "category": "Air Travel",
+ "created": 1271629084394,
+ "description": "Flight from SFO to ATL",
+ "reportId": 36
+ }},
+ {"ExpenseRecord": {
+ "amount": 52.74,
+ "id": "38",
"category": "Lodging",
- "created": 1270666462874,
+ "created": 1267549173394,
"description": "Bed & Breakfast",
- "reportId": 35
+ "reportId": 36
}},
{"ExpenseRecord": {
- "amount": 25.04,
- "id": "38",
+ "amount": 123.37,
+ "id": "39",
"category": "Dining",
- "created": 1267542829874,
- "description": "Breakfast",
- "reportId": 35
+ "created": 1269267754394,
+ "description": "Dinner",
+ "reportId": 36
}},
- {"ReportRecord": {
- "id": "39",
- "created": 1266992134874,
- "reporterKey": 1,
+ {"EmployeeRecord": {
+ "id": "40",
+ "supervisorKey": "25",
"department": "Engineering",
- "purpose": "ISDN modem for telecommuting",
- "notes": "Show me the money"
- }},
- {"ExpenseRecord": {
- "amount": 200.05,
- "id": "40",
- "category": "Office Supplies",
- "created": 1271788120874,
- "description": "Paperclips",
- "reportId": 39
+ "userName": "bwonderful",
+ "displayName": "Bob Wonderful"
}},
{"ReportRecord": {
"id": "41",
- "created": 1269757599874,
- "reporterKey": 1,
+ "created": 1271581418394,
+ "approvedSupervisorKey": "25",
+ "reporterKey": 40,
"department": "Engineering",
- "purpose": "Sushi offsite",
- "notes": "Need approval by Monday"
+ "purpose": "Paid vacation in Honolulu",
+ "notes": "Review A.S.A.P."
}},
{"ExpenseRecord": {
- "amount": 29.38,
+ "amount": 95.83,
"id": "42",
- "category": "Air Travel",
- "created": 1267727300874,
- "description": "Flight from SFO to ATL",
+ "category": "Dining",
+ "created": 1270612672394,
+ "description": "Breakfast",
"reportId": 41
}},
- {"ReportRecord": {
+ {"ExpenseRecord": {
+ "amount": 204.69,
"id": "43",
- "created": 1271895908874,
- "reporterKey": 1,
- "department": "Engineering",
- "purpose": "ISDN modem for telecommuting",
- "notes": "Review A.S.A.P."
+ "category": "Dining",
+ "created": 1267562411394,
+ "description": "Dinner",
+ "reportId": 41
}},
{"ExpenseRecord": {
- "amount": 81.09,
+ "amount": 214.36,
"id": "44",
- "category": "Air Travel",
- "created": 1267559487874,
- "description": "Flight from SFO to ATL",
- "reportId": 43
+ "category": "Local Transportation",
+ "created": 1269080802394,
+ "description": "Taxi fare",
+ "reportId": 41
}},
- {"ReportRecord": {
+ {"EmployeeRecord": {
"id": "45",
- "created": 1272653744874,
- "reporterKey": 1,
- "department": "Engineering",
- "purpose": "Money laundering",
+ "supervisorKey": "25",
+ "department": "Operations",
+ "userName": "efantastic",
+ "displayName": "Earl Fantastic"
+ }},
+ {"ReportRecord": {
+ "id": "46",
+ "created": 1272900207394,
+ "approvedSupervisorKey": "25",
+ "reporterKey": 45,
+ "department": "Operations",
+ "purpose": "Travelling to New York",
"notes": ""
}},
{"ExpenseRecord": {
- "amount": 107.65,
- "id": "46",
+ "amount": 8.93,
+ "id": "47",
"category": "Dining",
- "created": 1270424886874,
- "description": "Dinner",
- "reportId": 45
+ "created": 1273652031394,
+ "description": "Breakfast",
+ "reportId": 46
}},
{"ReportRecord": {
- "id": "47",
- "created": 1269267882874,
- "reporterKey": 1,
- "department": "Engineering",
- "purpose": "Spending lots of money",
- "notes": ""
- }},
- {"ExpenseRecord": {
- "amount": 148.87,
"id": "48",
- "category": "Office Supplies",
- "created": 1266657252874,
- "description": "Paperclips",
- "reportId": 47
+ "created": 1271657656394,
+ "approvedSupervisorKey": "25",
+ "reporterKey": 45,
+ "department": "Operations",
+ "purpose": "Work related visit to Frankfurt",
+ "notes": "Need approval by Monday"
}},
{"ExpenseRecord": {
- "amount": 7.25,
+ "amount": 90.08,
"id": "49",
- "category": "Dining",
- "created": 1269455627874,
- "description": "Breakfast",
- "reportId": 47
+ "category": "Office Supplies",
+ "created": 1272798526394,
+ "description": "Scissors",
+ "reportId": 48
}},
{"EmployeeRecord": {
"id": "50",
- "department": "Sales",
- "userName": "hmagnanimous",
- "displayName": "Harriot Magnanimous"
+ "supervisorKey": "35",
+ "department": "Finance",
+ "userName": "rradical",
+ "displayName": "Reece Radical"
}},
{"ReportRecord": {
"id": "51",
- "created": 1268805010874,
+ "created": 1268014460394,
+ "approvedSupervisorKey": "35",
"reporterKey": 50,
- "department": "Sales",
- "purpose": "Sushi offsite",
- "notes": ""
+ "department": "Finance",
+ "purpose": "Paid vacation in San Francisco",
+ "notes": "Review A.S.A.P."
}},
{"ExpenseRecord": {
- "amount": 123.45,
+ "amount": 60.45,
"id": "52",
- "category": "Office Supplies",
- "created": 1267498011874,
- "description": "Paste",
+ "category": "Lodging",
+ "created": 1270745995394,
+ "description": "Bed & Breakfast",
"reportId": 51
}},
- {"ReportRecord": {
+ {"EmployeeRecord": {
"id": "53",
- "created": 1273391270874,
- "reporterKey": 50,
+ "supervisorKey": "1",
"department": "Sales",
- "purpose": "ISDN modem for telecommuting",
- "notes": "Review A.S.A.P."
- }},
- {"ExpenseRecord": {
- "amount": 155.78,
- "id": "54",
- "category": "Dining",
- "created": 1268685212874,
- "description": "Breakfast",
- "reportId": 53
+ "userName": "poutstanding",
+ "displayName": "Paul Outstanding"
}},
{"ReportRecord": {
- "id": "55",
- "created": 1268927872874,
- "reporterKey": 50,
+ "id": "54",
+ "created": 1273051926394,
+ "approvedSupervisorKey": "1",
+ "reporterKey": 53,
"department": "Sales",
- "purpose": "Money laundering",
- "notes": "Need approval by Monday"
+ "purpose": "Visting Chicago",
+ "notes": "Please bill to the Widgets project"
}},
{"ExpenseRecord": {
- "amount": 60.71,
+ "amount": 78.8,
+ "id": "55",
+ "category": "Local Transportation",
+ "created": 1272249877394,
+ "description": "Train fare",
+ "reportId": 54
+ }},
+ {"EmployeeRecord": {
"id": "56",
- "category": "Dining",
- "created": 1273585146874,
- "description": "Dinner",
- "reportId": 55
+ "supervisorKey": "53",
+ "department": "Marketing",
+ "userName": "vignoranomous",
+ "displayName": "Val Ignoranomous"
}},
{"ReportRecord": {
"id": "57",
- "created": 1268584072874,
- "reporterKey": 50,
- "department": "Sales",
- "purpose": "Spending lots of money",
+ "created": 1269528792395,
+ "approvedSupervisorKey": "53",
+ "reporterKey": 56,
+ "department": "Marketing",
+ "purpose": "Travelling to New York",
"notes": "Show me the money"
}},
{"ExpenseRecord": {
- "amount": 68.5,
+ "amount": 117.81,
"id": "58",
- "category": "Air Travel",
- "created": 1271931368874,
- "description": "Flight from ATL to SFO",
+ "category": "Dining",
+ "created": 1269160253395,
+ "description": "Breakfast",
"reportId": 57
}},
- {"ReportRecord": {
+ {"EmployeeRecord": {
"id": "59",
- "created": 1266848867874,
- "reporterKey": 50,
- "department": "Sales",
- "purpose": "Baseball card research",
- "notes": "Review A.S.A.P."
+ "supervisorKey": "1",
+ "department": "Engineering",
+ "userName": "tawesome",
+ "displayName": "Terry Awesome"
}},
- {"ExpenseRecord": {
- "amount": 204.41,
+ {"ReportRecord": {
"id": "60",
- "category": "Dining",
- "created": 1271586404874,
- "description": "Breakfast",
- "reportId": 59
+ "created": 1270626891395,
+ "approvedSupervisorKey": "1",
+ "reporterKey": 59,
+ "department": "Engineering",
+ "purpose": "Travelling to Zurich",
+ "notes": "Need approval by Monday"
}},
{"ExpenseRecord": {
- "amount": 48.59,
+ "amount": 226.21,
"id": "61",
- "category": "Dining",
- "created": 1273100865874,
- "description": "Lunch",
- "reportId": 59
+ "category": "Local Transportation",
+ "created": 1267951924395,
+ "description": "Taxi fare",
+ "reportId": 60
}},
- {"ExpenseRecord": {
- "amount": 114.06,
+ {"EmployeeRecord": {
"id": "62",
- "category": "Dining",
- "created": 1269528068874,
- "description": "Lunch",
- "reportId": 59
+ "supervisorKey": "56",
+ "department": "Operations",
+ "userName": "nstellar",
+ "displayName": "Nancy Stellar"
}},
{"ReportRecord": {
"id": "63",
- "created": 1266639627874,
- "reporterKey": 50,
- "department": "Sales",
- "purpose": "Money laundering",
- "notes": "Please bill to the Widgets project"
+ "created": 1268744432395,
+ "approvedSupervisorKey": "56",
+ "reporterKey": 62,
+ "department": "Operations",
+ "purpose": "Travelling to Sydney",
+ "notes": ""
}},
{"ExpenseRecord": {
- "amount": 201.56,
+ "amount": 54.79,
"id": "64",
- "category": "Office Supplies",
- "created": 1272403555874,
- "description": "Paperclips",
+ "category": "Dining",
+ "created": 1265999671395,
+ "description": "Dinner",
"reportId": 63
}},
{"ExpenseRecord": {
- "amount": 153.54,
+ "amount": 81.65,
"id": "65",
- "category": "Local Transportation",
- "created": 1269683902874,
- "description": "Bus ticket",
+ "category": "Office Supplies",
+ "created": 1268671695395,
+ "description": "Paperclips",
"reportId": 63
}},
- {"ExpenseRecord": {
- "amount": 174.19,
+ {"EmployeeRecord": {
"id": "66",
- "category": "Air Travel",
- "created": 1270664768874,
- "description": "Flight from ATL to SFO",
- "reportId": 63
+ "supervisorKey": "53",
+ "department": "Finance",
+ "userName": "jhappy",
+ "displayName": "John Happy"
}},
- {"ExpenseRecord": {
- "amount": 137.89,
+ {"ReportRecord": {
"id": "67",
- "category": "Local Transportation",
- "created": 1267752448874,
- "description": "Bus ticket",
- "reportId": 63
+ "created": 1269675776395,
+ "approvedSupervisorKey": "53",
+ "reporterKey": 66,
+ "department": "Finance",
+ "purpose": "Paid vacation in Chicago",
+ "notes": "Show me the money"
}},
- {"ReportRecord": {
+ {"ExpenseRecord": {
+ "amount": 118.14,
"id": "68",
- "created": 1268584646874,
- "reporterKey": 50,
- "department": "Sales",
- "purpose": "Visit to Istanbul",
- "notes": "Please bill to the Widgets project"
+ "category": "Office Supplies",
+ "created": 1270237045395,
+ "description": "Paste",
+ "reportId": 67
}},
{"ExpenseRecord": {
- "amount": 130.31,
+ "amount": 103.68,
"id": "69",
- "category": "Local Transportation",
- "created": 1269326378874,
- "description": "Bus ticket",
- "reportId": 68
+ "category": "Lodging",
+ "created": 1271890674395,
+ "description": "Hotel",
+ "reportId": 67
}},
- {"ReportRecord": {
+ {"ExpenseRecord": {
+ "amount": 222.22,
"id": "70",
- "created": 1272079672874,
- "reporterKey": 50,
- "department": "Sales",
- "purpose": "Potato chip cooking offsite",
- "notes": "High priority"
+ "category": "Local Transportation",
+ "created": 1266334822395,
+ "description": "Taxi fare",
+ "reportId": 67
}},
- {"ExpenseRecord": {
- "amount": 18.65,
+ {"EmployeeRecord": {
"id": "71",
- "category": "Dining",
- "created": 1272999804874,
- "description": "Dinner",
- "reportId": 70
- }},
- {"ExpenseRecord": {
- "amount": 243.13,
- "id": "72",
- "category": "Local Transportation",
- "created": 1269568047874,
- "description": "Train fare",
- "reportId": 70
+ "supervisorKey": "53",
+ "department": "Sales",
+ "userName": "joutstanding",
+ "displayName": "John Outstanding"
}},
{"ReportRecord": {
- "id": "73",
- "created": 1272456916874,
- "reporterKey": 50,
+ "id": "72",
+ "created": 1272855240395,
+ "approvedSupervisorKey": "53",
+ "reporterKey": 71,
"department": "Sales",
- "purpose": "Team building diamond cutting offsite",
- "notes": "Please bill to the Widgets project"
+ "purpose": "Travelling to Dusseldorf",
+ "notes": "Review A.S.A.P."
}},
{"ExpenseRecord": {
- "amount": 161.37,
+ "amount": 182.75,
+ "id": "73",
+ "category": "Office Supplies",
+ "created": 1266291027395,
+ "description": "Scissors",
+ "reportId": 72
+ }},
+ {"EmployeeRecord": {
"id": "74",
- "category": "Air Travel",
- "created": 1267794494874,
- "description": "Flight from SFO to ATL",
- "reportId": 73
+ "supervisorKey": "53",
+ "department": "Marketing",
+ "userName": "noutstanding",
+ "displayName": "Nancy Outstanding"
}},
- {"ExpenseRecord": {
- "amount": 208.54,
+ {"ReportRecord": {
"id": "75",
- "category": "Office Supplies",
- "created": 1266141223874,
- "description": "Stapler",
- "reportId": 73
+ "created": 1272068403395,
+ "approvedSupervisorKey": "53",
+ "reporterKey": 74,
+ "department": "Marketing",
+ "purpose": "Paid vacation in San Francisco",
+ "notes": "Need approval by Monday"
}},
{"ExpenseRecord": {
- "amount": 145.4,
***The diff for this file has been truncated for email.***
=======================================
---
/branches/2.1/bikeshed/src/com/google/gwt/sample/expenses/gwt/client/place/ScaffoldPlaceToRecordType.java
Wed May 12 17:53:17 2010
+++
/branches/2.1/bikeshed/src/com/google/gwt/sample/expenses/gwt/client/place/ScaffoldPlaceToRecordType.java
Thu May 13 09:48:00 2010
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may
not
+ * use this file except in compliance with the License. You may obtain a
copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
under
+ * the License.
+ */
package com.google.gwt.sample.expenses.gwt.client.place;
import com.google.gwt.sample.expenses.gwt.request.EmployeeRecord;
=======================================
---
/branches/2.1/bikeshed/src/com/google/gwt/sample/expenses/gwt/ui/ListActivitiesMapper.java
Wed May 12 17:53:17 2010
+++
/branches/2.1/bikeshed/src/com/google/gwt/sample/expenses/gwt/ui/ListActivitiesMapper.java
Thu May 13 09:48:00 2010
@@ -15,7 +15,6 @@
*/
package com.google.gwt.sample.expenses.gwt.ui;
-import com.google.gwt.app.place.Activity;
import com.google.gwt.app.place.ActivityMapper;
import com.google.gwt.app.place.PlaceController;
import com.google.gwt.event.shared.HandlerManager;
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors