troubleshoot tomcat zombie threads
[Bookkeeping.git] / xml / example.groups.xml
bloba5129e4d210244ceeb10fc348742543eea73dcc1
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         <users:groups id="main.groups" >
11                 <users:group id="webkell" name="Webkell" owner="root" >
12                         
13                         <users:profileDetails id='group.details' >
14                                 <users:profileDetail id='defaultCurrency' name='defaultCurrency' value='USD' />
15                         </users:profileDetails>
16                         
17                         <bookkeeping 
18                                 xmlns='com/interrupt/bookkeeping'
19                                 xmlns:account='com/interrupt/bookkeeping/account' 
20                                 xmlns:journal='com/interrupt/bookkeeping/journal' 
21                                 xmlns:currency='com/interrupt/bookkeeping/currency' 
22                                 id='main.bookkeeping' > 
23                                 
24                                 
25                                 <!--
26                                         1. no 2 currencies can have the same 'id' 
27                                         2. An account MUST specify in which currency it is denominated 
28                                         3. Entry(s) should balance in the default currency unless otherwise specified 
29                                         4. DebitPointer(s) / Debit(s) must be put in Account(s) of the same currency 
30                                 --> 
31                                 <currency:currencies id='main.currencies' default='CDN' > 
32                                         <currency:currency id='CDN' name='Canadian Dollar' /> 
33                                         <currency:currency id='USD' name='US Dollar' /> 
34                                         <currency:currency id='BP' name='British Pound' /> 
35                                         <currency:currency id='EUR' name='Euoropean Euro' /> 
36                                         <currency:currency id='JPN' name='Japanese Yen' /> 
37                                 </currency:currencies>
38                                 
39                                 
40                                 <!-- 1. account types are: asset, liability, expense, revenue
41                                      2. each account has a given counter weight
42                                         
43                                         <account:account type="asset"           id="" name="" counterWeight="debit" />
44                                         <account:account type="expense"         id="" name="" counterWeight="debit" />
45                                         <account:account type="liability"       id="" name="" counterWeight="credit"/>
46                                         <account:account type="revenue"         id="" name="" counterWeight="credit" />
47                                 -->
48                             <account:accounts id='main.accounts' > 
49                                 <account:account type="asset" id="" name="" counterWeight="debit" />
50                                 </account:accounts>  
51                                 
52                                 <journal:journals id='main.journals' >
53                                     <journal:journal id='generalledger' name='generalledger' type='' balance=''>  
54                                                 <journal:entries id='main.entries'  > 
55                                                         
56                                                         <journal:entry id='qwertySTUB' entrynum='' state='' journalid='generalledger' date='' currency='CDN' > 
57                                             <account:debit id='dtS' amount='120.00' entryid='qwertySTUB' accountid='05' account='' currency='CDN' /> 
58                                             <account:credit id='crS' amount='120.00' entryid='qwertySTUB' accountid='06' account='' currency='CDN' /> 
59                                         </journal:entry> 
60                                         
61                                         
62                                                 </journal:entries> 
63                                     </journal:journal>  
64                                 </journal:journals>
65                         </bookkeeping>
66                         
67                 </users:group>
68         </users:groups>
69         
70         
71         <users:groups id="group.attic" >
72         </users:groups>
73         
74         
75 </system>