Class GeneratedExportDataHistoryEntry

    • Field Detail

      • CODE

        public static final java.lang.String CODE
        Qualifier of the ExportDataHistoryEntry.code attribute
        See Also:
        Constant Field Values
      • STATUS

        public static final java.lang.String STATUS
        Qualifier of the ExportDataHistoryEntry.status attribute
        See Also:
        Constant Field Values
      • STARTTIME

        public static final java.lang.String STARTTIME
        Qualifier of the ExportDataHistoryEntry.startTime attribute
        See Also:
        Constant Field Values
      • FINISHTIME

        public static final java.lang.String FINISHTIME
        Qualifier of the ExportDataHistoryEntry.finishTime attribute
        See Also:
        Constant Field Values
      • PROCESSEDRESULTCOUNT

        public static final java.lang.String PROCESSEDRESULTCOUNT
        Qualifier of the ExportDataHistoryEntry.processedResultCount attribute
        See Also:
        Constant Field Values
      • FAILUREMESSAGE

        public static final java.lang.String FAILUREMESSAGE
        Qualifier of the ExportDataHistoryEntry.failureMessage attribute
        See Also:
        Constant Field Values
      • EXPORTDATACRONJOB

        public static final java.lang.String EXPORTDATACRONJOB
        Qualifier of the ExportDataHistoryEntry.exportDataCronJob attribute
        See Also:
        Constant Field Values
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedExportDataHistoryEntry

        public GeneratedExportDataHistoryEntry()
    • Method Detail

      • getCode

        public java.lang.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 java.lang.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,
                               java.lang.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​(java.lang.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 java.lang.String getFailureMessage​(SessionContext ctx)
        Generated method - Getter of the ExportDataHistoryEntry.failureMessage attribute.
        Returns:
        the failureMessage - Message if failure occurred
      • getFailureMessage

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

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

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

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

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

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

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

        public java.lang.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 java.lang.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,
                                            java.lang.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​(java.lang.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 java.util.Date getStartTime​(SessionContext ctx)
        Generated method - Getter of the ExportDataHistoryEntry.startTime attribute.
        Returns:
        the startTime - Start time of this export
      • getStartTime

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

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

        public void setStartTime​(java.util.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