Class GeneratedCronJobHistory

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
CronJobHistory

public abstract class GeneratedCronJobHistory extends GenericItem
Generated class for type CronJobHistory.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedCronJobHistory

      public GeneratedCronJobHistory()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class Item
    • createItem

      protected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
      Description copied from class: Item
      Has to be implemented for each concrete subtype of item. This method is responsible for creating a new item instance ( by calling managers, ejb homes, etc. ) during ComposedType.newInstance(Map).

      In case this method uses any of the attribute values during creation it is required to override Item.getNonInitialAttributes(SessionContext, ItemAttributeMap) too.
      Sn example:

      
       public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext
       ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return
       man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) );
       // here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes(
       SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret =
       super.getNonInitialAttributes( ctx, allAttributes );
       // remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }
      
       
      Overrides:
      createItem in class GenericItem
      Parameters:
      ctx - the current session context which this item is created within
      type - the actual item type ( since subtypes may not provide a own jalo class this may be different from the type which this method was implemented for )
      Returns:
      the new item instance
      Throws:
      JaloBusinessException - indicates an error during creation - any changes will be rollbacked
    • getCronJob

      public CronJob getCronJob(SessionContext ctx)
      Generated method - Getter of the CronJobHistory.cronJob attribute.
      Returns:
      the cronJob - cronjob
    • getCronJob

      public CronJob getCronJob()
      Generated method - Getter of the CronJobHistory.cronJob attribute.
      Returns:
      the cronJob - cronjob
    • setCronJob

      public void setCronJob(SessionContext ctx, CronJob value)
      Generated method - Setter of the CronJobHistory.cronJob attribute.
      Parameters:
      value - the cronJob - cronjob
    • setCronJob

      public void setCronJob(CronJob value)
      Generated method - Setter of the CronJobHistory.cronJob attribute.
      Parameters:
      value - the cronJob - cronjob
    • getCronJobCode

      public String getCronJobCode(SessionContext ctx)
      Generated method - Getter of the CronJobHistory.cronJobCode attribute.
      Returns:
      the cronJobCode
    • getCronJobCode

      public String getCronJobCode()
      Generated method - Getter of the CronJobHistory.cronJobCode attribute.
      Returns:
      the cronJobCode
    • setCronJobCode

      protected void setCronJobCode(SessionContext ctx, String value)
      Generated method - Setter of the CronJobHistory.cronJobCode attribute.
      Parameters:
      value - the cronJobCode
    • setCronJobCode

      protected void setCronJobCode(String value)
      Generated method - Setter of the CronJobHistory.cronJobCode attribute.
      Parameters:
      value - the cronJobCode
    • getEndTime

      public Date getEndTime(SessionContext ctx)
      Generated method - Getter of the CronJobHistory.endTime attribute.
      Returns:
      the endTime
    • getEndTime

      public Date getEndTime()
      Generated method - Getter of the CronJobHistory.endTime attribute.
      Returns:
      the endTime
    • setEndTime

      public void setEndTime(SessionContext ctx, Date value)
      Generated method - Setter of the CronJobHistory.endTime attribute.
      Parameters:
      value - the endTime
    • setEndTime

      public void setEndTime(Date value)
      Generated method - Setter of the CronJobHistory.endTime attribute.
      Parameters:
      value - the endTime
    • getFailureMessage

      public String getFailureMessage(SessionContext ctx)
      Generated method - Getter of the CronJobHistory.failureMessage attribute.
      Returns:
      the failureMessage
    • getFailureMessage

      public String getFailureMessage()
      Generated method - Getter of the CronJobHistory.failureMessage attribute.
      Returns:
      the failureMessage
    • setFailureMessage

      public void setFailureMessage(SessionContext ctx, String value)
      Generated method - Setter of the CronJobHistory.failureMessage attribute.
      Parameters:
      value - the failureMessage
    • setFailureMessage

      public void setFailureMessage(String value)
      Generated method - Setter of the CronJobHistory.failureMessage attribute.
      Parameters:
      value - the failureMessage
    • getJobCode

      public String getJobCode(SessionContext ctx)
      Generated method - Getter of the CronJobHistory.jobCode attribute.
      Returns:
      the jobCode
    • getJobCode

      public String getJobCode()
      Generated method - Getter of the CronJobHistory.jobCode attribute.
      Returns:
      the jobCode
    • setJobCode

      protected void setJobCode(SessionContext ctx, String value)
      Generated method - Setter of the CronJobHistory.jobCode attribute.
      Parameters:
      value - the jobCode
    • setJobCode

      protected void setJobCode(String value)
      Generated method - Setter of the CronJobHistory.jobCode attribute.
      Parameters:
      value - the jobCode
    • getNodeID

      public Integer getNodeID(SessionContext ctx)
      Generated method - Getter of the CronJobHistory.nodeID attribute.
      Returns:
      the nodeID
    • getNodeID

      public Integer getNodeID()
      Generated method - Getter of the CronJobHistory.nodeID attribute.
      Returns:
      the nodeID
    • getNodeIDAsPrimitive

      public int getNodeIDAsPrimitive(SessionContext ctx)
      Generated method - Getter of the CronJobHistory.nodeID attribute.
      Returns:
      the nodeID
    • getNodeIDAsPrimitive

      public int getNodeIDAsPrimitive()
      Generated method - Getter of the CronJobHistory.nodeID attribute.
      Returns:
      the nodeID
    • setNodeID

      public void setNodeID(SessionContext ctx, Integer value)
      Generated method - Setter of the CronJobHistory.nodeID attribute.
      Parameters:
      value - the nodeID
    • setNodeID

      public void setNodeID(Integer value)
      Generated method - Setter of the CronJobHistory.nodeID attribute.
      Parameters:
      value - the nodeID
    • setNodeID

      public void setNodeID(SessionContext ctx, int value)
      Generated method - Setter of the CronJobHistory.nodeID attribute.
      Parameters:
      value - the nodeID
    • setNodeID

      public void setNodeID(int value)
      Generated method - Setter of the CronJobHistory.nodeID attribute.
      Parameters:
      value - the nodeID
    • getProgress

      public Double getProgress(SessionContext ctx)
      Generated method - Getter of the CronJobHistory.progress attribute.
      Returns:
      the progress
    • getProgress

      public Double getProgress()
      Generated method - Getter of the CronJobHistory.progress attribute.
      Returns:
      the progress
    • getProgressAsPrimitive

      public double getProgressAsPrimitive(SessionContext ctx)
      Generated method - Getter of the CronJobHistory.progress attribute.
      Returns:
      the progress
    • getProgressAsPrimitive

      public double getProgressAsPrimitive()
      Generated method - Getter of the CronJobHistory.progress attribute.
      Returns:
      the progress
    • setProgress

      public void setProgress(SessionContext ctx, Double value)
      Generated method - Setter of the CronJobHistory.progress attribute.
      Parameters:
      value - the progress
    • setProgress

      public void setProgress(Double value)
      Generated method - Setter of the CronJobHistory.progress attribute.
      Parameters:
      value - the progress
    • setProgress

      public void setProgress(SessionContext ctx, double value)
      Generated method - Setter of the CronJobHistory.progress attribute.
      Parameters:
      value - the progress
    • setProgress

      public void setProgress(double value)
      Generated method - Setter of the CronJobHistory.progress attribute.
      Parameters:
      value - the progress
    • getResult

      public EnumerationValue getResult(SessionContext ctx)
      Generated method - Getter of the CronJobHistory.result attribute.
      Returns:
      the result
    • getResult

      public EnumerationValue getResult()
      Generated method - Getter of the CronJobHistory.result attribute.
      Returns:
      the result
    • setResult

      public void setResult(SessionContext ctx, EnumerationValue value)
      Generated method - Setter of the CronJobHistory.result attribute.
      Parameters:
      value - the result
    • setResult

      public void setResult(EnumerationValue value)
      Generated method - Setter of the CronJobHistory.result attribute.
      Parameters:
      value - the result
    • isScheduled

      public Boolean isScheduled(SessionContext ctx)
      Generated method - Getter of the CronJobHistory.scheduled attribute.
      Returns:
      the scheduled
    • isScheduled

      public Boolean isScheduled()
      Generated method - Getter of the CronJobHistory.scheduled attribute.
      Returns:
      the scheduled
    • isScheduledAsPrimitive

      public boolean isScheduledAsPrimitive(SessionContext ctx)
      Generated method - Getter of the CronJobHistory.scheduled attribute.
      Returns:
      the scheduled
    • isScheduledAsPrimitive

      public boolean isScheduledAsPrimitive()
      Generated method - Getter of the CronJobHistory.scheduled attribute.
      Returns:
      the scheduled
    • setScheduled

      public void setScheduled(SessionContext ctx, Boolean value)
      Generated method - Setter of the CronJobHistory.scheduled attribute.
      Parameters:
      value - the scheduled
    • setScheduled

      public void setScheduled(Boolean value)
      Generated method - Setter of the CronJobHistory.scheduled attribute.
      Parameters:
      value - the scheduled
    • setScheduled

      public void setScheduled(SessionContext ctx, boolean value)
      Generated method - Setter of the CronJobHistory.scheduled attribute.
      Parameters:
      value - the scheduled
    • setScheduled

      public void setScheduled(boolean value)
      Generated method - Setter of the CronJobHistory.scheduled attribute.
      Parameters:
      value - the scheduled
    • getStartTime

      public Date getStartTime(SessionContext ctx)
      Generated method - Getter of the CronJobHistory.startTime attribute.
      Returns:
      the startTime
    • getStartTime

      public Date getStartTime()
      Generated method - Getter of the CronJobHistory.startTime attribute.
      Returns:
      the startTime
    • setStartTime

      protected void setStartTime(SessionContext ctx, Date value)
      Generated method - Setter of the CronJobHistory.startTime attribute.
      Parameters:
      value - the startTime
    • setStartTime

      protected void setStartTime(Date value)
      Generated method - Setter of the CronJobHistory.startTime attribute.
      Parameters:
      value - the startTime
    • getStatus

      public EnumerationValue getStatus(SessionContext ctx)
      Generated method - Getter of the CronJobHistory.status attribute.
      Returns:
      the status
    • getStatus

      public EnumerationValue getStatus()
      Generated method - Getter of the CronJobHistory.status attribute.
      Returns:
      the status
    • setStatus

      public void setStatus(SessionContext ctx, EnumerationValue value)
      Generated method - Setter of the CronJobHistory.status attribute.
      Parameters:
      value - the status
    • setStatus

      public void setStatus(EnumerationValue value)
      Generated method - Setter of the CronJobHistory.status attribute.
      Parameters:
      value - the status
    • getStatusLine

      public String getStatusLine(SessionContext ctx)
      Generated method - Getter of the CronJobHistory.statusLine attribute.
      Returns:
      the statusLine
    • getStatusLine

      public String getStatusLine()
      Generated method - Getter of the CronJobHistory.statusLine attribute.
      Returns:
      the statusLine
    • setStatusLine

      public void setStatusLine(SessionContext ctx, String value)
      Generated method - Setter of the CronJobHistory.statusLine attribute.
      Parameters:
      value - the statusLine
    • setStatusLine

      public void setStatusLine(String value)
      Generated method - Setter of the CronJobHistory.statusLine attribute.
      Parameters:
      value - the statusLine
    • getUserUid

      public String getUserUid(SessionContext ctx)
      Generated method - Getter of the CronJobHistory.userUid attribute.
      Returns:
      the userUid
    • getUserUid

      public String getUserUid()
      Generated method - Getter of the CronJobHistory.userUid attribute.
      Returns:
      the userUid
    • setUserUid

      public void setUserUid(SessionContext ctx, String value)
      Generated method - Setter of the CronJobHistory.userUid attribute.
      Parameters:
      value - the userUid
    • setUserUid

      public void setUserUid(String value)
      Generated method - Setter of the CronJobHistory.userUid attribute.
      Parameters:
      value - the userUid