Class GeneratedPatchExecutionUnit

    • Field Detail

      • IDHASH

        public static final java.lang.String IDHASH
        Qualifier of the PatchExecutionUnit.idHash attribute
        See Also:
        Constant Field Values
      • NAME

        public static final java.lang.String NAME
        Qualifier of the PatchExecutionUnit.name attribute
        See Also:
        Constant Field Values
      • ORDERNUMBER

        public static final java.lang.String ORDERNUMBER
        Qualifier of the PatchExecutionUnit.orderNumber attribute
        See Also:
        Constant Field Values
      • ORGANISATION

        public static final java.lang.String ORGANISATION
        Qualifier of the PatchExecutionUnit.organisation attribute
        See Also:
        Constant Field Values
      • EXECUTIONSTATUS

        public static final java.lang.String EXECUTIONSTATUS
        Qualifier of the PatchExecutionUnit.executionStatus attribute
        See Also:
        Constant Field Values
      • EXECUTIONTYPE

        public static final java.lang.String EXECUTIONTYPE
        Qualifier of the PatchExecutionUnit.executionType attribute
        See Also:
        Constant Field Values
      • EXECUTIONTIME

        public static final java.lang.String EXECUTIONTIME
        Qualifier of the PatchExecutionUnit.executionTime attribute
        See Also:
        Constant Field Values
      • CONTENTHASH

        public static final java.lang.String CONTENTHASH
        Qualifier of the PatchExecutionUnit.contentHash attribute
        See Also:
        Constant Field Values
      • ERRORLOG

        public static final java.lang.String ERRORLOG
        Qualifier of the PatchExecutionUnit.errorLog attribute
        See Also:
        Constant Field Values
      • CRONJOB

        public static final java.lang.String CRONJOB
        Qualifier of the PatchExecutionUnit.cronjob attribute
        See Also:
        Constant Field Values
      • PATCH

        public static final java.lang.String PATCH
        Qualifier of the PatchExecutionUnit.patch 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

      • GeneratedPatchExecutionUnit

        public GeneratedPatchExecutionUnit()
    • Method Detail

      • getContentHash

        public java.lang.String getContentHash​(SessionContext ctx)
        Generated method - Getter of the PatchExecutionUnit.contentHash attribute.
        Returns:
        the contentHash - The impex content hash.
      • getContentHash

        public java.lang.String getContentHash()
        Generated method - Getter of the PatchExecutionUnit.contentHash attribute.
        Returns:
        the contentHash - The impex content hash.
      • setContentHash

        public void setContentHash​(SessionContext ctx,
                                   java.lang.String value)
        Generated method - Setter of the PatchExecutionUnit.contentHash attribute.
        Parameters:
        value - the contentHash - The impex content hash.
      • setContentHash

        public void setContentHash​(java.lang.String value)
        Generated method - Setter of the PatchExecutionUnit.contentHash attribute.
        Parameters:
        value - the contentHash - The impex content hash.
      • 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 PatchExecutionUnit.cronjob attribute.
        Returns:
        the cronjob
      • getCronjob

        public CronJob getCronjob()
        Generated method - Getter of the PatchExecutionUnit.cronjob attribute.
        Returns:
        the cronjob
      • setCronjob

        public void setCronjob​(SessionContext ctx,
                               CronJob value)
        Generated method - Setter of the PatchExecutionUnit.cronjob attribute.
        Parameters:
        value - the cronjob
      • setCronjob

        public void setCronjob​(CronJob value)
        Generated method - Setter of the PatchExecutionUnit.cronjob attribute.
        Parameters:
        value - the cronjob
      • getErrorLog

        public java.lang.String getErrorLog​(SessionContext ctx)
        Generated method - Getter of the PatchExecutionUnit.errorLog attribute.
        Returns:
        the errorLog - Details about errors during the execution of specific patch execution unit element.
      • getErrorLog

        public java.lang.String getErrorLog()
        Generated method - Getter of the PatchExecutionUnit.errorLog attribute.
        Returns:
        the errorLog - Details about errors during the execution of specific patch execution unit element.
      • setErrorLog

        public void setErrorLog​(SessionContext ctx,
                                java.lang.String value)
        Generated method - Setter of the PatchExecutionUnit.errorLog attribute.
        Parameters:
        value - the errorLog - Details about errors during the execution of specific patch execution unit element.
      • setErrorLog

        public void setErrorLog​(java.lang.String value)
        Generated method - Setter of the PatchExecutionUnit.errorLog attribute.
        Parameters:
        value - the errorLog - Details about errors during the execution of specific patch execution unit element.
      • getExecutionStatus

        public EnumerationValue getExecutionStatus​(SessionContext ctx)
        Generated method - Getter of the PatchExecutionUnit.executionStatus attribute.
        Returns:
        the executionStatus
      • getExecutionStatus

        public EnumerationValue getExecutionStatus()
        Generated method - Getter of the PatchExecutionUnit.executionStatus attribute.
        Returns:
        the executionStatus
      • setExecutionStatus

        public void setExecutionStatus​(SessionContext ctx,
                                       EnumerationValue value)
        Generated method - Setter of the PatchExecutionUnit.executionStatus attribute.
        Parameters:
        value - the executionStatus
      • setExecutionStatus

        public void setExecutionStatus​(EnumerationValue value)
        Generated method - Setter of the PatchExecutionUnit.executionStatus attribute.
        Parameters:
        value - the executionStatus
      • getExecutionTime

        public java.util.Date getExecutionTime​(SessionContext ctx)
        Generated method - Getter of the PatchExecutionUnit.executionTime attribute.
        Returns:
        the executionTime - The time when the patch item was applied.
      • getExecutionTime

        public java.util.Date getExecutionTime()
        Generated method - Getter of the PatchExecutionUnit.executionTime attribute.
        Returns:
        the executionTime - The time when the patch item was applied.
      • setExecutionTime

        public void setExecutionTime​(SessionContext ctx,
                                     java.util.Date value)
        Generated method - Setter of the PatchExecutionUnit.executionTime attribute.
        Parameters:
        value - the executionTime - The time when the patch item was applied.
      • setExecutionTime

        public void setExecutionTime​(java.util.Date value)
        Generated method - Setter of the PatchExecutionUnit.executionTime attribute.
        Parameters:
        value - the executionTime - The time when the patch item was applied.
      • getExecutionType

        public EnumerationValue getExecutionType​(SessionContext ctx)
        Generated method - Getter of the PatchExecutionUnit.executionType attribute.
        Returns:
        the executionType
      • getExecutionType

        public EnumerationValue getExecutionType()
        Generated method - Getter of the PatchExecutionUnit.executionType attribute.
        Returns:
        the executionType
      • setExecutionType

        public void setExecutionType​(SessionContext ctx,
                                     EnumerationValue value)
        Generated method - Setter of the PatchExecutionUnit.executionType attribute.
        Parameters:
        value - the executionType
      • setExecutionType

        public void setExecutionType​(EnumerationValue value)
        Generated method - Setter of the PatchExecutionUnit.executionType attribute.
        Parameters:
        value - the executionType
      • getIdHash

        public java.lang.String getIdHash​(SessionContext ctx)
        Generated method - Getter of the PatchExecutionUnit.idHash attribute.
        Returns:
        the idHash - The execution unit id hash
      • getIdHash

        public java.lang.String getIdHash()
        Generated method - Getter of the PatchExecutionUnit.idHash attribute.
        Returns:
        the idHash - The execution unit id hash
      • setIdHash

        public void setIdHash​(SessionContext ctx,
                              java.lang.String value)
        Generated method - Setter of the PatchExecutionUnit.idHash attribute.
        Parameters:
        value - the idHash - The execution unit id hash
      • setIdHash

        public void setIdHash​(java.lang.String value)
        Generated method - Setter of the PatchExecutionUnit.idHash attribute.
        Parameters:
        value - the idHash - The execution unit id hash
      • getName

        public java.lang.String getName​(SessionContext ctx)
        Generated method - Getter of the PatchExecutionUnit.name attribute.
        Returns:
        the name
      • getName

        public java.lang.String getName()
        Generated method - Getter of the PatchExecutionUnit.name attribute.
        Returns:
        the name
      • setName

        public void setName​(SessionContext ctx,
                            java.lang.String value)
        Generated method - Setter of the PatchExecutionUnit.name attribute.
        Parameters:
        value - the name
      • setName

        public void setName​(java.lang.String value)
        Generated method - Setter of the PatchExecutionUnit.name attribute.
        Parameters:
        value - the name
      • getOrderNumber

        public java.lang.Integer getOrderNumber​(SessionContext ctx)
        Generated method - Getter of the PatchExecutionUnit.orderNumber attribute.
        Returns:
        the orderNumber
      • getOrderNumber

        public java.lang.Integer getOrderNumber()
        Generated method - Getter of the PatchExecutionUnit.orderNumber attribute.
        Returns:
        the orderNumber
      • getOrderNumberAsPrimitive

        public int getOrderNumberAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the PatchExecutionUnit.orderNumber attribute.
        Returns:
        the orderNumber
      • getOrderNumberAsPrimitive

        public int getOrderNumberAsPrimitive()
        Generated method - Getter of the PatchExecutionUnit.orderNumber attribute.
        Returns:
        the orderNumber
      • setOrderNumber

        public void setOrderNumber​(SessionContext ctx,
                                   java.lang.Integer value)
        Generated method - Setter of the PatchExecutionUnit.orderNumber attribute.
        Parameters:
        value - the orderNumber
      • setOrderNumber

        public void setOrderNumber​(java.lang.Integer value)
        Generated method - Setter of the PatchExecutionUnit.orderNumber attribute.
        Parameters:
        value - the orderNumber
      • setOrderNumber

        public void setOrderNumber​(SessionContext ctx,
                                   int value)
        Generated method - Setter of the PatchExecutionUnit.orderNumber attribute.
        Parameters:
        value - the orderNumber
      • setOrderNumber

        public void setOrderNumber​(int value)
        Generated method - Setter of the PatchExecutionUnit.orderNumber attribute.
        Parameters:
        value - the orderNumber
      • getOrganisation

        public java.lang.String getOrganisation​(SessionContext ctx)
        Generated method - Getter of the PatchExecutionUnit.organisation attribute.
        Returns:
        the organisation
      • getOrganisation

        public java.lang.String getOrganisation()
        Generated method - Getter of the PatchExecutionUnit.organisation attribute.
        Returns:
        the organisation
      • setOrganisation

        public void setOrganisation​(SessionContext ctx,
                                    java.lang.String value)
        Generated method - Setter of the PatchExecutionUnit.organisation attribute.
        Parameters:
        value - the organisation
      • setOrganisation

        public void setOrganisation​(java.lang.String value)
        Generated method - Setter of the PatchExecutionUnit.organisation attribute.
        Parameters:
        value - the organisation
      • getPatch

        public PatchExecution getPatch​(SessionContext ctx)
        Generated method - Getter of the PatchExecutionUnit.patch attribute.
        Returns:
        the patch
      • getPatch

        public PatchExecution getPatch()
        Generated method - Getter of the PatchExecutionUnit.patch attribute.
        Returns:
        the patch
      • setPatch

        public void setPatch​(SessionContext ctx,
                             PatchExecution value)
        Generated method - Setter of the PatchExecutionUnit.patch attribute.
        Parameters:
        value - the patch
      • setPatch

        public void setPatch​(PatchExecution value)
        Generated method - Setter of the PatchExecutionUnit.patch attribute.
        Parameters:
        value - the patch