Class GeneratedCronJobHistory

    • Field Detail

      • CRONJOBCODE

        public static final java.lang.String CRONJOBCODE
        Qualifier of the CronJobHistory.cronJobCode attribute
        See Also:
        Constant Field Values
      • JOBCODE

        public static final java.lang.String JOBCODE
        Qualifier of the CronJobHistory.jobCode attribute
        See Also:
        Constant Field Values
      • STARTTIME

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

        public static final java.lang.String ENDTIME
        Qualifier of the CronJobHistory.endTime attribute
        See Also:
        Constant Field Values
      • NODEID

        public static final java.lang.String NODEID
        Qualifier of the CronJobHistory.nodeID attribute
        See Also:
        Constant Field Values
      • SCHEDULED

        public static final java.lang.String SCHEDULED
        Qualifier of the CronJobHistory.scheduled attribute
        See Also:
        Constant Field Values
      • USERUID

        public static final java.lang.String USERUID
        Qualifier of the CronJobHistory.userUid attribute
        See Also:
        Constant Field Values
      • STATUS

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

        public static final java.lang.String RESULT
        Qualifier of the CronJobHistory.result attribute
        See Also:
        Constant Field Values
      • FAILUREMESSAGE

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

        public static final java.lang.String PROGRESS
        Qualifier of the CronJobHistory.progress attribute
        See Also:
        Constant Field Values
      • STATUSLINE

        public static final java.lang.String STATUSLINE
        Qualifier of the CronJobHistory.statusLine attribute
        See Also:
        Constant Field Values
      • CRONJOBPOS

        public static final java.lang.String CRONJOBPOS
        Qualifier of the CronJobHistory.cronJobPOS attribute
        See Also:
        Constant Field Values
      • CRONJOB

        public static final java.lang.String CRONJOB
        Qualifier of the CronJobHistory.cronJob 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

      • GeneratedCronJobHistory

        public GeneratedCronJobHistory()
    • Method Detail

      • 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 java.lang.String getCronJobCode​(SessionContext ctx)
        Generated method - Getter of the CronJobHistory.cronJobCode attribute.
        Returns:
        the cronJobCode
      • getCronJobCode

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public java.lang.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,
                              java.lang.Integer value)
        Generated method - Setter of the CronJobHistory.nodeID attribute.
        Parameters:
        value - the nodeID
      • setNodeID

        public void setNodeID​(java.lang.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 java.lang.Double getProgress​(SessionContext ctx)
        Generated method - Getter of the CronJobHistory.progress attribute.
        Returns:
        the progress
      • getProgress

        public java.lang.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,
                                java.lang.Double value)
        Generated method - Setter of the CronJobHistory.progress attribute.
        Parameters:
        value - the progress
      • setProgress

        public void setProgress​(java.lang.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 java.lang.Boolean isScheduled​(SessionContext ctx)
        Generated method - Getter of the CronJobHistory.scheduled attribute.
        Returns:
        the scheduled
      • isScheduled

        public java.lang.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,
                                 java.lang.Boolean value)
        Generated method - Setter of the CronJobHistory.scheduled attribute.
        Parameters:
        value - the scheduled
      • setScheduled

        public void setScheduled​(java.lang.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 java.util.Date getStartTime​(SessionContext ctx)
        Generated method - Getter of the CronJobHistory.startTime attribute.
        Returns:
        the startTime
      • getStartTime

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

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

        protected void setStartTime​(java.util.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 java.lang.String getStatusLine​(SessionContext ctx)
        Generated method - Getter of the CronJobHistory.statusLine attribute.
        Returns:
        the statusLine
      • getStatusLine

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

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

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

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

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

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

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