hns
877405495d
getNode getProperty now does the right thing
...
for getting collection nodes on transient nodes
2001-08-25 19:58:26 +00:00
hns
d3bc403bd4
use proper mapping for collections on transient nodes
2001-08-25 19:57:29 +00:00
hns
b21d575fdf
allow ids to be called from transient nodes.
...
introduced simpler internal properties: _id and _parent.
removed support for the old created and lastmodified properties.
2001-08-25 17:47:29 +00:00
hns
fac98332c9
allow IDs to be gotten from transient nodes. If getID is called on
...
a transient node, an ID is generated from the node manager. if
the node is later persisted, the same id will be used.
2001-08-25 17:46:00 +00:00
hns
43012cfe1d
uncommented code that check node into
...
node cache in setNode().
2001-08-25 16:10:54 +00:00
hns
abed17f2e9
implemented containsMacro() function
2001-08-25 16:10:03 +00:00
hns
6e65ecd242
removed the check that prevented transient
...
nodes from obtaining virtual collection nodes.
2001-08-24 15:19:34 +00:00
hns
fd9691084e
take over filter if subnodes are properties.
2001-08-23 19:37:12 +00:00
hns
3cc3e4b534
add some getter methods for code accessing
...
this class from other packages
2001-08-23 14:12:31 +00:00
hns
e466423826
use getter methods on relation, since the fields are
...
no longer defined as transient
2001-08-23 14:11:52 +00:00
hns
6a1aaaea58
Get serious about skin caching
2001-08-23 14:02:56 +00:00
hns
c2605e72b6
Catch every Throwable in update methods, since
...
FESI may throw Errors at us
2001-08-23 14:02:12 +00:00
hns
39a561ff2b
use Relation.maxSize for getNodes and countNodes (untested)
2001-08-23 14:00:30 +00:00
hns
cf4b947efe
use raw JDBC Api in getNodeIDs and check for maxSize field in Relation
2001-08-22 14:49:29 +00:00
hns
9f3fae9b2f
new feature: maxSize to specify maxamal size of a collection.
2001-08-22 14:43:48 +00:00
hns
1912cdc6ea
Do not set constraints for groupby-constraints, since we
...
don't know if it is the base node or a group node we are being
added to.
2001-08-22 12:24:01 +00:00
hns
3b0be3f7e6
setConstraint() should now set the right object references, and it
...
should be prudent not to overwrite persistent references with
transient ones.
2001-08-22 11:43:34 +00:00
hns
8f39946692
Fix bug where object prototypes where stored by lower case
...
prototype name instead of as-is prototype name.
some cleanup of prototype object handling.
2001-08-22 11:42:18 +00:00
hns
c4fa72c66e
setConstraints now is safe for transient nodes, since it uses
...
a node property instead of the node id to establish object references.
2001-08-22 01:16:19 +00:00
hns
35ac6602bc
rearranged addNode method
2001-08-22 01:15:00 +00:00
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