Class GeneratedPatchExecutionUnit

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

public abstract class GeneratedPatchExecutionUnit extends GenericItem
Generated class for type PatchExecutionUnit.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedPatchExecutionUnit

      public GeneratedPatchExecutionUnit()
  • Method Details

    • getDefaultAttributeModes

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

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

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

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

      public void setContentHash(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 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 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, 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(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 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 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, 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(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 String getIdHash(SessionContext ctx)
      Generated method - Getter of the PatchExecutionUnit.idHash attribute.
      Returns:
      the idHash - The execution unit id hash
    • getIdHash

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

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

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

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

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

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

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

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

      public 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, Integer value)
      Generated method - Setter of the PatchExecutionUnit.orderNumber attribute.
      Parameters:
      value - the orderNumber
    • setOrderNumber

      public void setOrderNumber(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 String getOrganisation(SessionContext ctx)
      Generated method - Getter of the PatchExecutionUnit.organisation attribute.
      Returns:
      the organisation
    • getOrganisation

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

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

      public void setOrganisation(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