Commit graph

466 commits

Author SHA1 Message Date
hns
50fa6c0e73 do contains() check for group-by nodes, constraint check for database nodes
in getNode().
2001-08-22 00:12:20 +00:00
hns
af41c07c8b don't request write lock in constructor for relational objects 2001-08-22 00:11:12 +00:00
hns
0ea389b663 in getNodeByRelation, check for manually set subnodeRelation
for additional constraints.
2001-08-21 22:44:30 +00:00
hns
eb0c453cc0 for propertiesAreSubnodes, take over subnode constraints to
property relation.
2001-08-21 22:43:51 +00:00
hns
9a4fcd1b33 don't include order from type.properties if
where clause was set via manual subnoderelation.
2001-08-21 22:07:08 +00:00
hns
3ce3e7f54a Fixed SQL Select statement generation. The method that
generates the statements in the Relation class now takes
two additional parameters and is more flexible.
2001-08-21 21:44:52 +00:00
hns
02fb01a55e getNodeIDs always outputs its select statement if logsql=true.
Previously the statement was not logged if it contained an error.
2001-08-21 14:10:47 +00:00
hns
083bd0fe80 removed property backlinks.
subnode backlinks are only created if the
node containing the current node is not
transient.
2001-08-21 13:42:57 +00:00
hns
93b7f729b8 removed unused code
removed backlinks for nodes used as property values -
properties will simply return null once a node used as value
has been deleted.
2001-08-21 13:40:54 +00:00
hns
1c66a640a0 fixed /user and /users URL mappings 2001-08-21 13:36:02 +00:00
hns
1ac901538b removed unused code 2001-08-21 13:35:14 +00:00
hns
78af6c8709 removed import statement for helma.objectmodel.Node 2001-08-20 15:18:51 +00:00
hns
ed5784800e updated import statement for DbSource 2001-08-20 15:18:31 +00:00
hns
cf524fa87c removed unnecessary import statements 2001-08-20 15:18:03 +00:00
hns
f35dab4eeb init methods in this package now call super.init() as
they should to initialize default stuff.
2001-08-20 14:58:03 +00:00
hns
e0f030a63f updated to reflect and use new powerful Relation class. 2001-08-20 14:56:25 +00:00
hns
25c76b621e * moved SQL generation to Relation class.
* DbKey is againonly used for primary keys.
* The Relation class is now able to check its constraints on
a parent node and a child node which was found in cache.
2001-08-20 14:55:26 +00:00
hns
96cad06996 added import statement for SystemProperties 2001-08-20 14:53:12 +00:00
hns
225751ec18 changes to reflact renaming helma.objectmodel.Node to
TransientNode
2001-08-20 14:49:55 +00:00
hns
ea444d4f4a added import statement for DbMapping 2001-08-20 14:49:16 +00:00
hns
4174c3ebbd renamed from Node to TransientNode 2001-08-20 14:48:38 +00:00
hns
c977631ec9 moved from helma.objectmodel to helma.objectmodel.db package 2001-08-20 14:46:58 +00:00
hns
f0151b149c moved to helma.util package from helma.objectmodel 2001-08-20 14:46:04 +00:00
hns
b098b8fc1c moved to helma.util package 2001-08-20 14:45:26 +00:00
hns
6726baa5a7 moved to helma.objectmodel.db Package 2001-08-20 14:44:09 +00:00
hns
c43cc32f5e new createImage method for creating an image from an existing
image plus an image filter.
Kicked out obsolete and unimplemented methods.
2001-08-20 14:43:08 +00:00
hns
2a3cfc960c New Image constructor allows to build an
image object from an existing image and an
instance of java.awt.image.ImageFilter.
2001-08-20 14:41:31 +00:00
hns
f3b05ef897 small changes to reflect moving SystemProperties to the
helma.util package and renaming helma.objectmodel.Node to
helma.objectmodel.TransientNode.
2001-08-20 14:40:30 +00:00
hns
062b3a4e5f changed import statement for SystemProperties
to new helma.util package
2001-08-20 14:38:51 +00:00
hns
96abb621ec adopted input statement - SystemProperties moved to helma.util. 2001-08-20 14:08:29 +00:00
hns
55e58ab509 making nodes transient that do have child nodes should now
work, because loadnodes no longer throws the existing nodes
away to see if there are some in the database.
dump stack traces on getKey and getID for transient nodes.
2001-08-13 17:04:07 +00:00
hns
2b574f11fa This is an Ecmascript wrapper for a generic
IPathElement object.
2001-08-13 13:53:36 +00:00
hns
7ce2f6f34f registered changes to Evaluator and ESLoader classes 2001-08-13 13:48:44 +00:00
hns
c5b1f9bee3 Create a special ESWrapper for instances of
IPathElement.
2001-08-13 13:45:11 +00:00
hns
f9bfe75219 Added helma.framework.core.RequestEvaluator field so that
ESLoader can construct a wrapper with the right prototype
for path elements.
2001-08-13 13:36:07 +00:00
hns
a2dcc29cec The basic operations now use the IPathElement interface instead
of INode: Path resolution in RequestEvaluator, skin rendering,
and href() function.
Application will check the rootObject property in the
app.properties file and try to create a custom root object, if set.
2001-08-13 13:10:41 +00:00
hns
1b0c4329e5 INode now extends the pretty simple IPathElement interface.
getUrl is now handled in Application where it belongs.
2001-08-13 12:45:26 +00:00
hns
3eb484b9a0 Moved to helma/framework and finally being used 2001-08-13 12:43:10 +00:00
hns
6fe68fb145 Initial check-in of demo implementation of IPathElement interface 2001-08-13 11:03:42 +00:00
hns
961c6ef398 Initial check-in of new IPathElement interface 2001-08-13 11:03:19 +00:00
hns
6be5d60594 made sure node is not marked as updated in setNode unless
really necessary.
2001-08-11 13:45:11 +00:00
hns
c7dc65a7ed Rewrote getSkin to be able to handle more than one skin manager. 2001-08-10 21:11:36 +00:00
hns
ac9db121db dbmapping now knows which of its properties
(if any) are to be considered skin managers
2001-08-10 21:10:18 +00:00
hns
bbfab140a6 notify dbmappings of data change when switching prototypes 2001-08-10 18:12:39 +00:00
hns
80a4e366c3 Fixed getSkin to actually walk down prototype path
res.skin can now be set to other than global skins,
using "prototype.skin" syntax. This is resolved against the
request path.
2001-08-10 18:11:59 +00:00
hns
29e9f745e1 Fixed a bug where object prototypes were not created with proper parent prototypes 2001-08-10 18:10:23 +00:00
hns
4e50a34189 getSkin now walks down the prototype chain the way it should 2001-08-10 15:00:58 +00:00
hns
f443c70916 fixed groupby.prototype 2001-08-10 12:36:16 +00:00
hns
488cb46c09 Added Stefan Pollach's magnificent helma.doc package 2001-08-10 11:28:37 +00:00
p3k
57eecf99be cleaned up, arranged paths, added libs; package building should be much easier now. started with ftp support (not working yet) 2001-08-08 11:28:51 +00:00