class documentation
class ZMSTrashcan(zmscontainerobject.ZMSContainerObject): (source)
Constructor: ZMSTrashcan()
Store deleted ZMS objects until garbage collection removes them.
| Method | __init__ |
Initialize the trashcan container. |
| Method | get |
Return global DC coverage for trashcan content. |
| Method | get |
Return an empty property value for synthetic trashcan attributes. |
| Method | get |
Return the localized trashcan title including the object count. |
| Method | is |
Return whether the trashcan currently contains objects. |
| Method | is |
Return whether the trashcan behaves like a page. |
| Method | is |
Return whether the trashcan can contain page-like children. |
| Method | manage_change |
Handle trashcan property updates from the ZMI. |
| Method | manage |
Return the trashcan management tabs shown in the ZMI. |
| Method | run |
Delete expired trashcan entries. |
| Class Variable | __ac |
Undocumented |
| Class Variable | __author |
Undocumented |
| Class Variable | manage |
Undocumented |
| Class Variable | meta |
Undocumented |
| Class Variable | meta |
Undocumented |
| Class Variable | zmi |
Undocumented |
| Method | _verify |
Allow paste operations into the trashcan without additional checks. |
Return global DC coverage for trashcan content.
| Parameters | |
| REQUEST:dict | The active HTTP request. |
| Returns | |
| str | Global coverage namespace. |
Return an empty property value for synthetic trashcan attributes.
| Parameters | |
| key:str | Property identifier. |
| REQUEST:dict | The active HTTP request. |
| par:object | Optional parent context. |
| Returns | |
| str | Always an empty string. |
Return the localized trashcan title including the object count.
| Parameters | |
| REQUEST:ZPublisher.HTTPRequest | The active HTTP request. |
| Returns | |
| str | Localized title with item count. |
Return whether the trashcan currently contains objects.
| Parameters | |
| REQUEST:ZPublisher.HTTPRequest | The active HTTP request. |
| Returns | |
| bool | True when the trashcan has child nodes. |
Handle trashcan property updates from the ZMI.
| Parameters | |
| lang:str | Active UI language. |
| REQUEST:ZPublisher.HTTPRequest | The active HTTP request. |
| Returns | |
| object | Redirect response when triggered from the ZMI. |