Package | Description |
---|---|
de.innovationgate.webgate.api |
Basic functionality of the WGAPI including most of the database-independent functionality.
|
Modifier and Type | Class and Description |
---|---|
class |
WGHierarchicalDatabaseEventCanceledException
Thrown when a HDB event is canceled by a listener using
WGHierarchicalDatabaseEvent.cancel(String, Throwable) |
Modifier and Type | Method and Description |
---|---|
void |
WGHierarchicalDatabaseEvent.cancel(java.lang.String message)
cancels the current process with the given message
the corresponding hdb() method which fired the event will
throw an WGHierarchicalDatabaseEventException with the given message
|
void |
WGHierarchicalDatabaseEvent.cancel(java.lang.String message,
java.lang.Throwable throwable)
cancels the current process with the given message
the corresponding hdb() method which fired the event will
throw an WGHierarchicalDatabaseEventException with the given message and throwable
|
WGContent |
WGHierarchicalDatabase.createContent(WGContent parent)
creates a child content of the given parent with a generated title
|
WGContent |
WGHierarchicalDatabase.createContent(WGContent parent,
java.lang.String title)
creates a child content of the given parent with the given title,
|
WGContent |
WGHierarchicalDatabase.createContent(WGContent parent,
java.lang.String title,
java.lang.Object parameter)
creates a child content of the given parent with the given title,
parameter is delivered within the contentCreatedEvent
|
void |
WGHierarchicalDatabase.deleteContent(java.lang.String key)
deletes the content determined by the given key
|
void |
WGHierarchicalDatabase.deleteContent(java.lang.String key,
java.lang.Object parameter)
deletes the content determined by the given key
|
void |
WGHierarchicalDatabase.deleteContent(WGContent content)
deletes the given content
|
void |
WGHierarchicalDatabase.deleteContent(WGContent content,
java.lang.Object parameter)
deletes the given content
|
void |
WGHierarchicalDatabase.moveContent(WGContent content,
WGContent newParent)
moves the given content under the given parent content
pre- and post-move events are first fired on the old hierarchy and then on the new hierarchy
if target parent is null the content will be moved to the db root
|
void |
WGHierarchicalDatabase.moveContent(WGContent content,
WGContent newParent,
java.lang.Object parameter)
moves the given content under the given parent content
pre- and post-move events are first fired on the old hierarchy and then on the new hierarchy
if target parent is null the content will be moved to the db root
|
void |
WGHierarchicalDatabase.updateContent(WGContent content)
updates the given content within the listener, parameter will be null, leaves the title unchanged
|
void |
WGHierarchicalDatabase.updateContent(WGContent content,
java.lang.Object parameter)
updates the given content within the listener using parameter, leaves the title unchanged
|
WGContent |
WGHierarchicalDatabase.updateContent(WGContent content,
java.lang.String title,
java.lang.Object parameter)
updates the title on the given content and optional further fields within the listener using parameter
if versioning is enabled the post_update_event is executed on a draft copy
|