replacing StringBuffer with StringBuilder
[Spittoon.git] / xml / bookkeeping.xml
blob5e43837491b23831d5da93bd5d10a7a409759a8a
1 <?xml version='1.0' encoding='UTF-8'?>
2 <system xmlns='com/interrupt/bookkeeping' 
3                 xmlns:users='com/interrupt/bookkeeping/users' 
4                 xmlns:bkell='com/interrupt/bookkeeping/cc/bkell' 
5                 xmlns:command='com/interrupt/bookkeeping/cc/bkell/command' 
6                 xmlns:interpret='com/interrupt/bookkeeping/interpret' 
7                 xmlns:aauth='com/interrupt/bookkeeping/cc/bkell/aauth' 
8                 id='main.system' > 
9         
10         <aauth:aauthentication id='main.authentication' sessiontimeout="6000" >
11                 
12                 <users:groups id="aauth.groups" >
13                         <users:group id="webkell" name="Webkell" owner="root" >
14                                 
15                                 <users:user id="root" />
16                         </users:group>
17                 </users:groups>
18                 
19                 
20                 <users:users id="aauth.users" >
21                         
22                         <users:user id="root" username="root" password="password" logintimeout="600000" 
23                              accountLevel="FREE" defaultGroup='webkell' authenticated="" >
24                                 
25                                 <users:userSession id='' groupid='' userid='' >
26                                     <aauth:aauthentication />
27                                 </users:userSession>
28                                 <aauth:allowedActions id="root.allowedActions" >
29                                         <command:command name='create'  id='command.create' />
30                                         <command:command name='add'  id='command.add' />
31                                         <command:command name='remove'  id='command.remove' />
32                                         <command:command name='reverse'  id='command.reverse' />
33                                         <command:command name='find'  id='command.find' />
34                                         <command:command name='load'  id='command.load' />
35                                         <command:command name='list'  id='command.list' />
36                                         <command:command name='print'  id='command.print' />
37                                         <command:command name='commit'  id='command.commit' />
38                                         <command:command name='login'  id='command.login' />
39                                         <command:command name='logout'  id='command.logout' />
40                                         <command:command name='exit'  id='command.exit' />
41                                 </aauth:allowedActions>
42                                 
43                                 <users:profileDetails id='user.details' >
44                                         <users:profileDetail id='' name='first.name' value='' />
45                                         <users:profileDetail id='' name='last.name' value='' />
46                                         <users:profileDetail id='' name='email' value='' />
47                                         <users:profileDetail id='' name='country' value='' />
48                                 </users:profileDetails>
49                                 
50                         </users:user>
51                 </users:users>
52                 
53         </aauth:aauthentication>
54         
55         
56         <users:groups id="main.groups" >
57                 <users:group id="webkell" name="Webkell" owner="root" >
58                         
59                         <users:profileDetails id='group.details' >
60                                 <users:profileDetail id='' name='defaultCurrency' value='' />
61                         </users:profileDetails>
62                         
63                         <bookkeeping 
64                                 xmlns='com/interrupt/bookkeeping'
65                                 xmlns:account='com/interrupt/bookkeeping/account' 
66                                 xmlns:journal='com/interrupt/bookkeeping/journal' 
67                                 xmlns:currency='com/interrupt/bookkeeping/currency' 
68                                 id='main.bookkeeping' > 
69                                 
70                                 
71                                 <currency:currencies id='main.currencies' default='CDN' > 
72                                         <currency:currency id='CDN' name='Canadian Dollar' /> 
73                                         <currency:currency id='USD' name='US Dollar' /> 
74                                         <currency:currency id='BP' name='British Pound' /> 
75                                         <currency:currency id='EUR' name='Euoropean Euro' /> 
76                                         <currency:currency id='JPN' name='Japanese Yen' /> 
77                                 </currency:currencies>
78                                 
79                             <account:accounts id='main.accounts' > 
80                                 <account:account type="asset" id="" name="" counterWeight="debit" />
81                                 </account:accounts>  
82                                 
83                                 <journal:journals id='main.journals' >
84                                     <journal:journal id='generalledger' name='generalledger' type='' balance=''>  
85                                                 <journal:entries id='main.entries'  > 
86                                                         
87                                                         
88                                                         <journal:entry id='qwertySTUB' entrynum='' state='' journalid='generalledger' date='' currency='CDN' > 
89                                             <account:debit id='dtS' amount='120.00' entryid='qwertySTUB' accountid='05' account='' currency='CDN' /> 
90                                             <account:credit id='crS' amount='120.00' entryid='qwertySTUB' accountid='06' account='' currency='CDN' /> 
91                                         </journal:entry> 
92                                                         
93                                                 </journal:entries> 
94                                     </journal:journal>  
95                                 </journal:journals>
96                         </bookkeeping>
97                         
98                 </users:group>
99         </users:groups>
100         
101 </system>