Package com.uc4.api.objects
Class Group
- java.lang.Object
 - 
- com.uc4.api.objects.UC4Object
 - 
- com.uc4.api.objects.Group
 
 
 
- 
- All Implemented Interfaces:
 LifecycleSaveAware
public class Group extends UC4Object implements LifecycleSaveAware
This class represents a UC4 JOBG object. 
- 
- 
Constructor Summary
Constructors Constructor Description Group() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidafterSaveObject()Called after an object is saved.GroupAttributesattributes()UC4ObjectNamegetChildrenQueue()Deprecated.use attributes.getChildrenQueue of this group insteadintgetMaxParallel()Deprecated.use attributes.maxParallel of this group insteadjava.lang.StringgetProcess()Returns the content of the "Process" tab.UC4ObjectNamegetQueue()Deprecated.use attributes.getQueue of this group insteadUC4TimezoneNamegetTimezone()Deprecated.use attributes.getTimezone of this group insteadXHeaderheader()Returns the header data of this object.booleanisExecutable()Returnstrueif this Object can be executed.booleanisGenerateAtRuntime()Deprecated.use attributes.isGenerateAtRuntime of this group insteadprotected voidloadContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session)Rollbackrollback()This method provides access to the rollback tab of an executable object.Runtimeruntime()Returns runtime information of this job.voidsetChildrenQueue(UC4ObjectName childrenQueue)Deprecated.use attributes.setChildrenQueue of this group insteadvoidsetGenerateAtRuntime(boolean value)Deprecated.use attributes.setGenerateAtRuntime of this group insteadvoidsetMaxParallel(int maxParallel)Deprecated.use attributes.maxParallel().setParallelTask of this group insteadvoidsetProcess(java.lang.String script)Sets the content of the "Process" tab.voidsetQueue(UC4ObjectName queue)Deprecated.use attributes.setQueue of this group insteadvoidsetTimezone(UC4TimezoneName timezone)Deprecated.use attributes.setTimezone of this group insteadprotected voidstoreContent(com.uc4.util.XMLDocument doc, org.w3c.dom.Element objectElement, ConnectionAttributes sessionInfo)SyncListsyncs()Returns aSyncListobject which contains sync conditions of this object.ObjectValuesvalues() 
 - 
 
- 
- 
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) 
- 
rollback
public Rollback rollback()
This method provides access to the rollback tab of an executable object.- Returns:
 - Rollback settings
 
 
- 
getChildrenQueue
@Deprecated public UC4ObjectName getChildrenQueue()
Deprecated.use attributes.getChildrenQueue of this group insteadReturns the name of the Queue Object for children of this Group.- Returns:
 - Name of the Queue or 
nullif *OWN has been set. 
 
- 
setChildrenQueue
@Deprecated public void setChildrenQueue(UC4ObjectName childrenQueue)
Deprecated.use attributes.setChildrenQueue of this group insteadSets the name of the Queue Object for children of this Group.- Parameters:
 childrenQueue- Name of the Queue (can be empty) ornullfor *OWN
 
- 
getQueue
@Deprecated public UC4ObjectName getQueue()
Deprecated.use attributes.getQueue of this group insteadReturns the name of the Queue Object which is used to execute this Group.- Returns:
 - Name of the Queue
 
 
- 
setQueue
@Deprecated public void setQueue(UC4ObjectName queue)
Deprecated.use attributes.setQueue of this group insteadSets the name of the Queue Object in which this Group should run.- Parameters:
 queue- Name of the Queue
 
- 
getTimezone
@Deprecated public UC4TimezoneName getTimezone()
Deprecated.use attributes.getTimezone of this group insteadReturns the TimeZone that is to be used.- Returns:
 - TimeZone
 
 
- 
setTimezone
@Deprecated public void setTimezone(UC4TimezoneName timezone)
Deprecated.use attributes.setTimezone of this group insteadSets the TimeZone for this job.- Parameters:
 timezone- TimeZone
 
- 
isGenerateAtRuntime
@Deprecated public boolean isGenerateAtRuntime()
Deprecated.use attributes.isGenerateAtRuntime of this group insteadReturnstrueif the Job should not be generated at activation time but rather at runtime.- Returns:
 trueif the Generate at runtime check box is selected
 
- 
setGenerateAtRuntime
@Deprecated public void setGenerateAtRuntime(boolean value)
Deprecated.use attributes.setGenerateAtRuntime of this group insteadSets or clears the Generate at runtime check box. ifvalueistruethe check box is set.- Parameters:
 value- Generate at runtime
 
- 
getMaxParallel
@Deprecated public int getMaxParallel()
Deprecated.use attributes.maxParallel of this group insteadReturns the maximum number of executable objects which are allowed to run simultaneously in a Group. 0 to 999 tasks are allowed.- Returns:
 - Max. parallel tasks
 
 
- 
setMaxParallel
@Deprecated public void setMaxParallel(int maxParallel)
Deprecated.use attributes.maxParallel().setParallelTask of this group insteadSpecify the maximum number of executable objects which are allowed to run simultaneously in a Group. 0 to 999 tasks are allowed.- Parameters:
 maxParallel- Integer between 0 and 999
 
- 
values
public ObjectValues values()
- Returns:
 - Variables of this object
 
 
- 
syncs
public SyncList syncs()
Returns aSyncListobject which contains sync conditions of this object.- Returns:
 - sync conditions
 
 
- 
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
 
 
- 
attributes
public GroupAttributes attributes()
- Returns:
 - "Attributes" tab of this group
 
 
- 
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
 
 - 
 
 -