Commit graph

488 commits

Author SHA1 Message Date
hns
6cda9fc224 Node.getSubnode() does not do a getNode() (property getter) as fallback
anymore, so we have to do that explicitly in the URL path resolving
code.
2001-08-04 11:47:36 +00:00
hns
c3f4b73fe3 replaced special NullNode class with a generic Node object
built with a special constructor.
2001-08-04 11:45:52 +00:00
hns
f9386a2286 GetString now returns the foreign key for node properties.
linking to something other than the primary key is probably
(still) broken.
2001-08-04 11:41:26 +00:00
hns
157f7bba7f Completely rewrite getSubnode().
Aded isNullNode method
2001-08-04 11:40:24 +00:00
hns
8ef0a8c4e6 null node is now signaled by a generic node. 2001-08-04 11:38:43 +00:00
hns
6cd1f87d4f removed debugging output garbage 2001-08-03 21:03:06 +00:00
hns
2e7f98b954 made class final 2001-08-03 21:01:38 +00:00
hns
80efd3f5e1 also try to handle groupby nodes in getProperty 2001-08-03 20:59:55 +00:00
hns
4010beb3de removed hash code calculation from constructor 2001-08-03 20:58:25 +00:00
hns
a90c945bae switched everything from the old id/mapping to the new
NodeHandle references.
This breaks serialization compatibility with prior versions.
2001-08-03 14:54:57 +00:00
hns
7bdcdcd65f increased the capabilities of the NodeManager to get nodes by key
to groupby nodes.
always use getNonVirtualHomeID to retrieve id of the db node a
virtual or groupby node belongs to
Some tweaks based on new Key schema
2001-08-03 14:53:42 +00:00
hns
3c0df94b17 changed Key to DbKey 2001-08-03 14:51:05 +00:00
hns
7310deaae6 basically removed all special case handling for node properties.
just hold a handle and return its node when asked.
2001-08-03 14:50:40 +00:00
hns
af4c3fa861 the class improved to do what it ought to do.
removed NodeManager field, instead the NodeManager is
passed along for calls where it is needed.
2001-08-03 14:49:44 +00:00
hns
fb14b6755f only read in options if the relation is actually an object relation (not primitive) 2001-08-03 14:46:18 +00:00
hns
9d78bde488 Removed all conversion between different implementations of INode.
Removed all reference checking, since we don't do garbage collection
on transient nodes.
2001-08-03 14:45:16 +00:00
hns
33c9f4cc8c Key is now an interface with two implementing classes:
DbKey for primary database keys, and SyntheticKey (might be
renamed to "DerivedKey" for virtual nodes, groupby nodes, and
nodes accessed via a property name instead of the primary key.
SyntheticKey consist of a parent key and a (property) name to
derive the object from the parent object.
2001-08-03 14:44:00 +00:00
hns
2b4dec4e34 tweaked getStorageName, no special treatment for hopobject is required. 2001-08-03 14:40:30 +00:00
hns
2baa845dfe updated the complete helma.framework.core package to use
NodeHandle instead of ID/DbMapping.
2001-08-03 14:39:17 +00:00
hns
aba59483ee Use helma.util.MimePart instead of helma.objectmodel.Node for
file uploads
2001-08-01 00:13:36 +00:00
hns
8d75f51be1 removed content related methods (file uploads are now handled
by helma.util.MimePart) and all the consistency checks, which were
simply not necessary for transient structures.
2001-08-01 00:12:26 +00:00
hns
d477e80128 introduced boolean "virtual" field, though it's not used yet. 2001-08-01 00:10:52 +00:00
hns
94e086dfd8 Fixed case of misspelled datasource. This should now throw
an error when trying to get a connection instead of using the
internal db instead.
2001-08-01 00:10:19 +00:00
hns
7ef38c647c moved Node constants into a separate interface which we
inherit
2001-08-01 00:09:20 +00:00
hns
c9068187c8 new method that fetches a node from a Key object. 2001-08-01 00:08:07 +00:00
hns
7231ec6224 very carefully introduced use of NodeHandle instead of key+dbmapping 2001-08-01 00:07:31 +00:00
hns
6ce443b2ed getting an object via key now directly takes a Key object
instead of the key string and dbmapping.
2001-08-01 00:06:41 +00:00
hns
a62cad8555 removed support for conversion from other implementations of
helma.objectmodel.INode. Removed methods that aren't used anymore.
2001-08-01 00:05:52 +00:00
hns
829ce545b7 removed old setContent/getContent garbage from Node.
Some reformatting in ESNode.
2001-08-01 00:04:04 +00:00
hns
878dbf644f renamed updateNode to updateNodeFromUser to make it more
clear what it does.
2001-08-01 00:03:06 +00:00
hns
2f953f83df Moved creation of NodeManager past the initialization of
root and userroot mappings
2001-08-01 00:02:30 +00:00
hns
429b647aa5 all HopObjects are now instantiated directly with the
persistent capable class, i.e. helma.objectmodel.db.Server.
2001-08-01 00:01:44 +00:00
hns
d9b92c75e9 also add objects without prototype to path array. 2001-08-01 00:00:45 +00:00
hns
bd0441cda5 switched from Node to dedicated MimePart class and admit
that addPart() is broken
2001-07-31 23:59:25 +00:00
hns
171d615a9f added utility writeln() function that appends a "<br>" to everything.
I know it's not XML, but it's handy for debugging.
2001-07-31 23:58:28 +00:00
hns
7086d762a2 cleaned up handling of file upload limit 2001-07-31 22:39:06 +00:00
hns
a8b5c39105 removed import of helma.objectmodel.Node 2001-07-31 22:38:49 +00:00
hns
44f7947798 Moved Node state constants to separate interface so they can be
used more easily by different classes
2001-07-31 22:36:41 +00:00
hns
a283adba4a *** empty log message *** 2001-07-31 22:34:28 +00:00
hns
2b97e4dec2 new mechanism for safe references to a node 2001-07-31 22:01:39 +00:00
hns
08867be3ea Finally moved MIME stuff out of helma.objectmodel.Node 2001-07-31 21:59:51 +00:00
hns
bb90831541 also use xxx.filter in groupby nodes. 2001-07-30 16:07:49 +00:00
hns
6b8424f61e implemented _subnodes.filter to specify additional static constraints
on subnode relations in type.properties
2001-07-30 15:33:45 +00:00
hns
07fa89f251 fixed stupid null baseURI bug 2001-07-30 01:42:05 +00:00
hns
0beed82331 hide session id from user node name 2001-07-30 01:41:45 +00:00
hns
65feddbf32 fixed bug where DbMapping wasn't set correctly for anonymous users 2001-07-30 00:27:50 +00:00
hns
94c4997e01 implemented sandbox for script-generated user level skins 2001-07-30 00:04:07 +00:00
hns
33add5c06b rewrote the ESNode management for users. ESUser is now used
*only* for active users (sessions), and each session has its own
ESUser wrapper, while the node within may be the same (if
both sessions are logged in as the same user.
2001-07-29 22:59:51 +00:00
hns
cd6ee8ccbf some generalization in the Cache Replicator. Not finished,
but should be usable.
2001-07-29 20:12:42 +00:00
hns
f5923016c6 fixed aggressive loading and caching for virtual subnodes (works)
and groupby nodes (is ignored).
2001-07-29 20:11:28 +00:00