Class GeneratedExportDataHistoryEntry

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

public abstract class GeneratedExportDataHistoryEntry extends GenericItem
Generated class for type ExportDataHistoryEntry.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedExportDataHistoryEntry

      public GeneratedExportDataHistoryEntry()
  • Method Details

    • getDefaultAttributeModes

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

      public String getCode(SessionContext ctx)
      Generated method - Getter of the ExportDataHistoryEntry.code attribute.
      Returns:
      the code - unique code that identifies the export data history
    • getCode

      public String getCode()
      Generated method - Getter of the ExportDataHistoryEntry.code attribute.
      Returns:
      the code - unique code that identifies the export data history
    • setCode

      protected void setCode(SessionContext ctx, String value)
      Generated method - Setter of the ExportDataHistoryEntry.code attribute.
      Parameters:
      value - the code - unique code that identifies the export data history
    • setCode

      protected void setCode(String value)
      Generated method - Setter of the ExportDataHistoryEntry.code attribute.
      Parameters:
      value - the code - unique code that identifies the export data history
    • 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
    • getExportDataCronJob

      public ExportDataCronJob getExportDataCronJob(SessionContext ctx)
      Generated method - Getter of the ExportDataHistoryEntry.exportDataCronJob attribute.
      Returns:
      the exportDataCronJob
    • getExportDataCronJob

      public ExportDataCronJob getExportDataCronJob()
      Generated method - Getter of the ExportDataHistoryEntry.exportDataCronJob attribute.
      Returns:
      the exportDataCronJob
    • setExportDataCronJob

      public void setExportDataCronJob(SessionContext ctx, ExportDataCronJob value)
      Generated method - Setter of the ExportDataHistoryEntry.exportDataCronJob attribute.
      Parameters:
      value - the exportDataCronJob
    • setExportDataCronJob

      public void setExportDataCronJob(ExportDataCronJob value)
      Generated method - Setter of the ExportDataHistoryEntry.exportDataCronJob attribute.
      Parameters:
      value - the exportDataCronJob
    • getFailureMessage

      public String getFailureMessage(SessionContext ctx)
      Generated method - Getter of the ExportDataHistoryEntry.failureMessage attribute.
      Returns:
      the failureMessage - Message if failure occurred
    • getFailureMessage

      public String getFailureMessage()
      Generated method - Getter of the ExportDataHistoryEntry.failureMessage attribute.
      Returns:
      the failureMessage - Message if failure occurred
    • setFailureMessage

      public void setFailureMessage(SessionContext ctx, String value)
      Generated method - Setter of the ExportDataHistoryEntry.failureMessage attribute.
      Parameters:
      value - the failureMessage - Message if failure occurred
    • setFailureMessage

      public void setFailureMessage(String value)
      Generated method - Setter of the ExportDataHistoryEntry.failureMessage attribute.
      Parameters:
      value - the failureMessage - Message if failure occurred
    • getFinishTime

      public Date getFinishTime(SessionContext ctx)
      Generated method - Getter of the ExportDataHistoryEntry.finishTime attribute.
      Returns:
      the finishTime - Start time of this export
    • getFinishTime

      public Date getFinishTime()
      Generated method - Getter of the ExportDataHistoryEntry.finishTime attribute.
      Returns:
      the finishTime - Start time of this export
    • setFinishTime

      public void setFinishTime(SessionContext ctx, Date value)
      Generated method - Setter of the ExportDataHistoryEntry.finishTime attribute.
      Parameters:
      value - the finishTime - Start time of this export
    • setFinishTime

      public void setFinishTime(Date value)
      Generated method - Setter of the ExportDataHistoryEntry.finishTime attribute.
      Parameters:
      value - the finishTime - Start time of this export
    • getProcessedResultCount

      public Integer getProcessedResultCount(SessionContext ctx)
      Generated method - Getter of the ExportDataHistoryEntry.processedResultCount attribute.
      Returns:
      the processedResultCount - The amount of records that was written to the export file
    • getProcessedResultCount

      public Integer getProcessedResultCount()
      Generated method - Getter of the ExportDataHistoryEntry.processedResultCount attribute.
      Returns:
      the processedResultCount - The amount of records that was written to the export file
    • getProcessedResultCountAsPrimitive

      public int getProcessedResultCountAsPrimitive(SessionContext ctx)
      Generated method - Getter of the ExportDataHistoryEntry.processedResultCount attribute.
      Returns:
      the processedResultCount - The amount of records that was written to the export file
    • getProcessedResultCountAsPrimitive

      public int getProcessedResultCountAsPrimitive()
      Generated method - Getter of the ExportDataHistoryEntry.processedResultCount attribute.
      Returns:
      the processedResultCount - The amount of records that was written to the export file
    • setProcessedResultCount

      public void setProcessedResultCount(SessionContext ctx, Integer value)
      Generated method - Setter of the ExportDataHistoryEntry.processedResultCount attribute.
      Parameters:
      value - the processedResultCount - The amount of records that was written to the export file
    • setProcessedResultCount

      public void setProcessedResultCount(Integer value)
      Generated method - Setter of the ExportDataHistoryEntry.processedResultCount attribute.
      Parameters:
      value - the processedResultCount - The amount of records that was written to the export file
    • setProcessedResultCount

      public void setProcessedResultCount(SessionContext ctx, int value)
      Generated method - Setter of the ExportDataHistoryEntry.processedResultCount attribute.
      Parameters:
      value - the processedResultCount - The amount of records that was written to the export file
    • setProcessedResultCount

      public void setProcessedResultCount(int value)
      Generated method - Setter of the ExportDataHistoryEntry.processedResultCount attribute.
      Parameters:
      value - the processedResultCount - The amount of records that was written to the export file
    • getStartTime

      public Date getStartTime(SessionContext ctx)
      Generated method - Getter of the ExportDataHistoryEntry.startTime attribute.
      Returns:
      the startTime - Start time of this export
    • getStartTime

      public Date getStartTime()
      Generated method - Getter of the ExportDataHistoryEntry.startTime attribute.
      Returns:
      the startTime - Start time of this export
    • setStartTime

      public void setStartTime(SessionContext ctx, Date value)
      Generated method - Setter of the ExportDataHistoryEntry.startTime attribute.
      Parameters:
      value - the startTime - Start time of this export
    • setStartTime

      public void setStartTime(Date value)
      Generated method - Setter of the ExportDataHistoryEntry.startTime attribute.
      Parameters:
      value - the startTime - Start time of this export
    • getStatus

      public EnumerationValue getStatus(SessionContext ctx)
      Generated method - Getter of the ExportDataHistoryEntry.status attribute.
      Returns:
      the status - The status of this particular export
    • getStatus

      public EnumerationValue getStatus()
      Generated method - Getter of the ExportDataHistoryEntry.status attribute.
      Returns:
      the status - The status of this particular export
    • setStatus

      public void setStatus(SessionContext ctx, EnumerationValue value)
      Generated method - Setter of the ExportDataHistoryEntry.status attribute.
      Parameters:
      value - the status - The status of this particular export
    • setStatus

      public void setStatus(EnumerationValue value)
      Generated method - Setter of the ExportDataHistoryEntry.status attribute.
      Parameters:
      value - the status - The status of this particular export