Package com.uc4.api.objects
Class DatabaseEvent
- java.lang.Object
-
- com.uc4.api.objects.UC4Object
-
- com.uc4.api.objects.DatabaseEvent
-
- All Implemented Interfaces:
LifecycleSaveAware
public class DatabaseEvent extends UC4Object implements LifecycleSaveAware
Database event.
-
-
Constructor Summary
Constructors Constructor Description DatabaseEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterSaveObject()
Called after an object is saved.EventAttributes
attributes()
DatabaseEventSettings
database()
Provides access to the database tab of this Event Object.EventCalendar
eventCalendar()
java.lang.String
getEventProcess()
Returns the content of the "!Process" tab.java.lang.String
getProcess()
Returns the content of the "Process" tab.XHeader
header()
Returns the header data of this object.boolean
isExecutable()
Returnstrue
if this Object can be executed.protected void
loadContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session)
Rollback
rollback()
This method provides access to the rollback tab of an executable object.Runtime
runtime()
Returns runtime information of this job.void
setEventProcess(java.lang.String script)
Sets the content of the "!Process" tab.void
setProcess(java.lang.String script)
Sets the content of the "Process" tab.EventSettings
settings()
Returns the "Event" tab of this object.protected void
storeContent(com.uc4.util.XMLDocument doc, org.w3c.dom.Element objectElement, ConnectionAttributes sessionInfo)
SyncList
syncs()
Returns aSyncList
object which contains sync conditions of this object.ObjectValues
values()
-
-
-
Method Detail
-
loadContent
protected void loadContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session)
-
storeContent
protected void storeContent(com.uc4.util.XMLDocument doc, org.w3c.dom.Element objectElement, ConnectionAttributes sessionInfo)
-
runtime
public Runtime runtime()
Returns runtime information of this job. This corresponds to the "Runtime" tab in the dialog client.- Returns:
- Runtime information
-
syncs
public SyncList syncs()
Returns aSyncList
object which contains sync conditions of this object.- Returns:
- sync conditions
-
rollback
public Rollback rollback()
This method provides access to the rollback tab of an executable object.- Returns:
- Rollback settings
-
settings
public EventSettings settings()
Returns the "Event" tab of this object. The returned instance can be used to modify this Event.- Returns:
- EventSettings instance
-
attributes
public EventAttributes attributes()
- Returns:
- "Attributes" tab of this event
-
header
public XHeader header()
Returns the header data of this object. This is the information of the header tab in the dialog client.- Returns:
- header
-
eventCalendar
public EventCalendar eventCalendar()
- Returns:
- Calendar condition of this event
-
getProcess
public java.lang.String getProcess()
Returns the content of the "Process" tab.- Returns:
- JCL
-
setProcess
public void setProcess(java.lang.String script)
Sets the content of the "Process" tab.- Parameters:
script
- Script
-
getEventProcess
public java.lang.String getEventProcess()
Returns the content of the "!Process" tab.- Returns:
- JCL
-
database
public DatabaseEventSettings database()
Provides access to the database tab of this Event Object.- Returns:
- Database specific settings
-
setEventProcess
public void setEventProcess(java.lang.String script)
Sets the content of the "!Process" tab.- Parameters:
script
- Script
-
values
public ObjectValues values()
- Returns:
- Variables of this object
-
isExecutable
public boolean isExecutable()
Description copied from class:UC4Object
Returnstrue
if this Object can be executed.- Specified by:
isExecutable
in classUC4Object
- Returns:
- true if the Object can be executed, false if not.
-
afterSaveObject
public void afterSaveObject()
Description copied from interface:LifecycleSaveAware
Called after an object is saved.- Specified by:
afterSaveObject
in interfaceLifecycleSaveAware
-
-