Commit graph

3114 commits

Author SHA1 Message Date
hns
33f89d80a0 Added method getPropertyNames() which is almost identical
to getNodeIDs, except simpler and it returns the property names
instead of the ids of the nodes. Used for getAllUsers().
2001-02-08 21:02:19 +00:00
hns
231750434e differentiated between the two versions of setParent and
made the one called from script "smart".
added capability of listing properties mapped via a direct
relational mapping, which means getAllUsers works again.
2001-02-08 21:01:04 +00:00
hns
a31a28ea02 added zero-argument constructor 2001-02-08 20:58:59 +00:00
hns
9c91767abc put all the Relation constructors in try{}catch blocks. 2001-02-08 20:58:28 +00:00
hns
cfad0969b9 when setParent was called with a second argument of null, it was
delivered as string "null"
2001-02-08 20:57:33 +00:00
hns
223ed97251 gotten rid of userroot.properties file, finally 2001-02-08 20:56:42 +00:00
hns
0843826ed1 catch exception in application checker 2001-02-06 19:36:17 +00:00
hns
2136f712e9 print stack trace if error happens in stop app 2001-02-06 19:35:54 +00:00
hns
61cc0ba627 remove unnecessary import statement 2001-02-06 19:35:19 +00:00
hns
4719197ea7 added groupby support (actually a statical emulation thereof) for embedded database 2001-02-06 09:43:50 +00:00
hns
63e52f7f72 log node inserts 2001-02-06 09:41:51 +00:00
hns
c379daf45c added groupby.order property 2001-02-06 09:41:19 +00:00
hns
5af80ba48b added error field, removed buggy thread exit after 1000 requests 2001-02-06 09:40:39 +00:00
hns
7c0b2cc9d9 added error field 2001-02-06 09:39:51 +00:00
hns
eac9e96dee avoid calling setParent for root node ;-) 2001-02-01 19:11:39 +00:00
hns
fbf746ed9e changed sleepycat error prefix to "Sleepycat" 2001-02-01 19:10:59 +00:00
hns
4b439b9d20 avoid notfound message if error template wasnt found
and display original error message instead.
2001-02-01 19:10:13 +00:00
hns
b78f45ddaf use explicit flag for stopped app and throw exception to
the servlet so it really knows whats going on.
2001-02-01 00:56:29 +00:00
hns
bbf1122ddb minor corrections 2001-02-01 00:55:36 +00:00
hns
a7075f8df0 no need to import FESI stuff. 2001-02-01 00:54:53 +00:00
hns
26cf1c70af dont close dbenv when application is shut down
since this caused segfault or something when the
app was restarted.
2001-02-01 00:54:28 +00:00
hns
ff622ca10e added comment 2001-02-01 00:53:43 +00:00
hns
0bd08fb9bd sanity check: dont start transaction if thread was killed 2001-02-01 00:53:28 +00:00
hns
e5bb6cd091 Added thread group argument to constructor 2001-01-31 19:19:41 +00:00
hns
209e28cff7 Removed thread stats/thread group stuff and moved
it to Application
2001-01-31 19:19:12 +00:00
hns
2972ed4ad5 getNodeValue() includes the dbmapping for prototyped
virtual nodes ([mountpoint])
2001-01-31 19:18:41 +00:00
hns
448d2ec2d5 Removed empty else branch 2001-01-31 19:17:40 +00:00
hns
e04c933c1f minor cleanup of questionable code 2001-01-31 19:17:05 +00:00
hns
08aef75b77 More improvements:
- Threads now are released after sitting idle for some time
- Theres an error page that is invoked if something went wrong
 (except for timeouts)
2001-01-31 19:16:27 +00:00
hns
5ada1c1876 added getThreads() function 2001-01-31 19:14:24 +00:00
hns
da000151d0 Each Application has its own threadpool now 2001-01-31 19:13:59 +00:00
hns
ef36481edd writeObject now throws XmlRpcException.
If an Error occurs while writing a response, a valid error message is generated.
2001-01-30 18:41:57 +00:00
hns
9a1f750707 cleaned up request handling 2001-01-30 18:39:50 +00:00
hns
c94f3e5a6b moved closing of SQL connection to a separate method 2001-01-30 18:39:18 +00:00
hns
8cdb43c6ac implement "this" macro handler for macros that may be handled by any hopobject 2001-01-30 18:38:29 +00:00
hns
926063cfac gets on internal properties are now handled by a separate method 2001-01-30 18:37:17 +00:00
hns
906a1ac9ab getAllUsers will return an array of strings (user names) instead of
actual user objects, making the function more scalable
2001-01-29 16:32:42 +00:00
hns
2f6ba51e2e rewrap() now knows that Node.properties() returns
an Enumeration of Property names.
2001-01-29 16:31:59 +00:00
hns
fc7f0721a0 changed semantics of Node.properties(): Only the properties that
are either explicitly defined in the type.properties.file or the
actual properties are returned, but not the ones defined by a
generic _properties rule.
2001-01-28 21:18:07 +00:00
hns
f6b20d916a minor formatting tweaks 2001-01-28 21:16:01 +00:00
hns
c469170727 minor debugging tweaks 2001-01-28 21:15:01 +00:00
hns
b2d0d8d756 when 0 is passed as server port, any free port is used and can be queried by getServerPort() 2001-01-28 21:13:53 +00:00
hns
bc420bc2ec If macro function returns something its appended to the response buffer 2001-01-28 21:11:25 +00:00
hns
02482e6469 adapted getProperties to new property listing semantics in Node 2001-01-28 21:10:47 +00:00
hns
1a30f698a5 return "hopobject" for prototype for untyped objects 2001-01-28 21:10:12 +00:00
hns
8d63fd35af use accessor methods for Relation.localField and Relation.remoteField 2001-01-25 20:58:18 +00:00
hns
857544fd9b doesnt use thead.stop() anymore 2001-01-25 20:57:30 +00:00
hns
d807e4a340 made localField and remoteField protected 2001-01-25 20:56:47 +00:00
hns
46a17c3028 use null instead of "" for no dbmapping, simpler virtual keys 2001-01-25 20:56:12 +00:00
hns
53a34144c3 removed thread.stop(), some other small enhancements 2001-01-25 20:55:10 +00:00