hns
210a4530b6
the getNode(Key) method now does the same cache consistency
...
checks as the getNode-by-relation. This is necessary due to
the introduction of secondary DbKeys - we need to check
if a node is in the cache with its primary key after getting it
via secondary key.
2001-08-05 19:31:57 +00:00
hns
a22bde81ad
NodeHandle is now notified when its Node switches
...
from transient to persistent state so it doesn't have
to check itself each time the node is accessed.
2001-08-05 19:29:55 +00:00
hns
0332e4c430
this class is now able to read old serialized versions
...
of itself.
2001-08-05 19:28:44 +00:00
hns
e4cbb1c5fb
the server timezone is now rendered in a more
...
userfriendly format at startup.
2001-08-05 19:27:22 +00:00
hns
1c33b76e85
deserialization now works with the old pre 1.2
...
format.
fixed forward property references that point to a
secondary key.
2001-08-05 19:25:20 +00:00
hns
8471241a88
rewrote comment to reflect that this key is not
...
only used for virtual and groupby nodes, but
also for nodes accessed via a property name
2001-08-05 19:23:22 +00:00
hns
889ab2dfcb
fixed parsing of type.properties file
...
removed getKeyID method
2001-08-05 19:22:20 +00:00
hns
318cc163d1
little change in code to determine whether an
...
invalid dbsource has been specified.
2001-08-05 19:19:19 +00:00
hns
31eee7f668
added additional dbfield field for non-primary
...
keys
2001-08-05 19:18:06 +00:00
hns
c3236be368
set user DbMapping on new user session objects
2001-08-05 19:16:29 +00:00
hns
925918378d
omitt null storageName in toString() method.
2001-08-04 11:50:38 +00:00
hns
59d49016f7
Fixed bugs related to ESNodes with transient nodes (i.e.
...
instances of class helma.objectmodel.Node where
no NodeHandle is used).
The bugs were in ESNode.equals() and ESUser.logout().
2001-08-04 11:49:54 +00:00
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