Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
7f634f26
Commit
7f634f26
authored
Nov 07, 2001
by
matt@zope.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Never added Transience-add help
parent
dfdb86d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
0 deletions
+53
-0
lib/python/Products/Transience/help/Transience-add.stx
lib/python/Products/Transience/help/Transience-add.stx
+53
-0
No files found.
lib/python/Products/Transience/help/Transience-add.stx
0 → 100644
View file @
7f634f26
TransientObjectContainer - Add
Transient Object Containers
A TransientObjectContainer contains objects which will expire after
a given period of time. A TransientObjectContainer is used by
SessionDataMangers to store session information.
To create a TransientObjectContainer, specify the following:
- **id**
The ID of the TransientObjectContainer is the container's name.
- *title*
The title of the object.
- **timeout_minutes**
The minimum number of minutes that objects in the container will
persist for. Objects in the container are passively deleted, so
they may not be deleted exactly after timeout_minutes elapses.
- *addNotification*
The name of an object to receive notifications when objects are
added to the TransientObjectContainer. See NotificationTargets.
- *delNotification*
The name of an object to receive notifications when objects are
deleted from the TransientObjectContainer. See NotificationTargets.
Notification Targets
A NotificationTarget is a callable (a bound method, function, or
named Zope object) which is called when an object is added or removed
from a TransientObjectContainer.
NotificationTargets are called with two arguments, the first being
the item being added or removed from the container, and the second
being the container itself. Within Zope, the container will be
acquisition wrapped, allowing the container to be used as a context
to reference other Zope objects.
See Also
- "Transient Objects":Transience.stx
- "Transience API":TransienceInterfaces.py
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment