Package com.uc4.api.objects
Class Notification
- java.lang.Object
-
- com.uc4.api.objects.UC4Object
-
- com.uc4.api.objects.Notification
-
- All Implemented Interfaces:
LifecycleSaveAware
public class Notification extends UC4Object implements LifecycleSaveAware
Notification Object.
-
-
Field Summary
Fields Modifier and Type Field Description protected NotificationAttributesattrprotected Operatoroperator
-
Constructor Summary
Constructors Constructor Description Notification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterSaveObject()Called after an object is saved.NotificationAttributesattributes()Returns aNotificationAttributesobject which contains attributes of this Notification.java.lang.StringgetProcess()Returns the content of the "Process" tab.XHeaderheader()Returns the header data of this object.booleanisExecutable()Returnstrueif this Object can be executed.protected voidloadContent(com.uc4.util.XMLDocument doc, ConnectionAttributes info)NotificationSettingsnotification()Operatoroperator()Returns aOperatorobject which represents the "Operator" tab in the dialog client.Rollbackrollback()This method provides access to the rollback tab of an executable object.Runtimeruntime()Returns runtime information of this job.voidsetProcess(java.lang.String script)Sets the content of the "Process" tab.protected voidstoreContent(com.uc4.util.XMLDocument doc, org.w3c.dom.Element objectElement, ConnectionAttributes sessionInfo)SyncListsyncs()Returns aSyncListobject which contains sync conditions of this object.ObjectValuesvalues()-
Methods inherited from class com.uc4.api.objects.UC4Object
docu, getAccess, getIdnr, getModCount, getName, getObjectClient, getType, isOldVersion, load, store, validate
-
-
-
-
Field Detail
-
attr
protected NotificationAttributes attr
-
operator
protected Operator operator
-
-
Method Detail
-
loadContent
protected void loadContent(com.uc4.util.XMLDocument doc, ConnectionAttributes info)
-
storeContent
protected void storeContent(com.uc4.util.XMLDocument doc, org.w3c.dom.Element objectElement, ConnectionAttributes sessionInfo)
-
rollback
public Rollback rollback()
This method provides access to the rollback tab of an executable object.- Returns:
- Rollback settings
-
notification
public NotificationSettings notification()
- Returns:
- Notification tab where message, subject and attachments are stored
-
values
public ObjectValues values()
- Returns:
- Variables of this object
-
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
-
syncs
public SyncList syncs()
Returns aSyncListobject which contains sync conditions of this object.- Returns:
- sync conditions
-
attributes
public NotificationAttributes attributes()
Returns aNotificationAttributesobject which contains attributes of this Notification.- Returns:
- Notification attributes
-
operator
public Operator operator()
Returns aOperatorobject which represents the "Operator" tab in the dialog client.- Returns:
- Operator
-
runtime
public Runtime runtime()
Returns runtime information of this job. This corresponds to the "Runtime" tab in the dialog client.- Returns:
- Runtime information
-
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
-
isExecutable
public boolean isExecutable()
Description copied from class:UC4ObjectReturnstrueif this Object can be executed.- Specified by:
isExecutablein classUC4Object- Returns:
- true if the Object can be executed, false if not.
-
afterSaveObject
public void afterSaveObject()
Description copied from interface:LifecycleSaveAwareCalled after an object is saved.- Specified by:
afterSaveObjectin interfaceLifecycleSaveAware
-
-